How to mount window (NTFS) disk on ubuntu Linux


There are sometime we'd like to working from dual OS on a personal computer. In this case, Let's say we are talking about Using window 8 with Ubuntu 14.04 . From now on, you will need a system privileges to operate some command.

You may already experienced on install the two OS on the same computer, if not I will briefly talking about it first.
To install the two OS on your computer: 
:Use an Ubuntu bootable media to partition you disk. There will be of course EXT for Linux partition and NTFS for wondow.
:When the partition process finish. Please don't install ubuntu yet. Remove your bootable media and then install Window 
: After that, install ubuntu linux and don't forget to install GRUB boot loader, I recommend you to install the GRUB boot-loader on linux partition. 

How to install GRUB boot loader?
GRUB boot loader will help you to be able to choose which operating system you'd like to run. it was currently integrated with the ubuntu bootable medie. If you install it using GUI there will option to ask you where you'd like to install GRUB boot loader.

Now there are somtimes when you are working on Ubuntu and you want to open a file on Window's disk. That could be done if you had permanently mounted the Window disk from Ubuntu.

Caution! To mount your windows disk on ubuntu. We must turn off fast-startup function on the window side. because if we didn't, We may lost all data on the Window's disk! after mount the window partition.
go to Control Panel -> Power Options. and then Select. System Settings.



uncheck ''Turn on fast startup'' and then clicke Save changes

First, check out the partitions detail
Use this command on your Ubuntu terminal
sudo blkid
This will list information of your partitions

So, now you know that your Window partition on Linux it was named /dev/sda2 and sda3 because they were NTFS type. every host will different. Please look carefully on your own host.
Note your UUID number, we will use this number soon.

Create a directory.
Normally, an additionally mounted disk will be mounted and kept under the ''/media/'' directory.
then Let's create one using this command.
mkdir /media/<Name> 
'Name' will be your disk name for the people eyes.

Let's start mounting
open the /etc/fstab file with this command.
gksudo gedit /etc/fstab
when the text editor was opened up then anmdd this command to the end of file.
UUID=<Your_UUID_Number> /media/<Name>  ntfs-3g  defaults,locale=en_US.utf8  0 0

Ubuntu will mount the disks for your next time you reboot. if you want to mount more disk that available just repeat the steps. for more information can be found here. 
https://help.ubuntu.com/community/MountingWindowsPartitions#Automatic_Configuration

It had also GUI to do it!
Since Ubuntu 12.10, we are allowed to do this via GUI. Just type ''disk'' on the ubuntu icon.

Select the disk icon the ''Disk'' application will appear. You can choose to mount any partition from over there. by clicking at the small gear icon as example below. and then click at ''Edit Mount option...''



After you clicked ''Edit Mount option...''

Options such as ''Will you need to automatically mount is?'' or ''what the name of the partition should be?'' as the image below

                              

And that's all for this. have fun!


Well, as usual, thank you for reading until the end. I'm not only fond of writing but also love to read. If you have something similar or a better solution, Please share it to me by writing down on the comment or send us an Email directly. Many Thanks!

Comments

Popular posts from this blog

They thought we can't code - I built my own Networking tool app up.

Logic thinking to solve a problem that occurred on unfamiliar system

When Gradle don't know your new added Native code