Let's make some wild assumptions.
- Your "data" partition partition is ntfs file system for Windows.
- It is not automagically mounted in the Ubuntu system and therefore invisible from within the system.
To make data on the 'data' partition available from within the Ubuntu system the partition needs to be mounted. It could be mounted as needed, or for convenience can be mounted on system startup.
Ubuntu's Manual Configuration instructions are as follows:
First, you need to find the device locations of the partition(s) you wish to mount. Open a terminal and run:
For illustration purposes, an example output from a computer setup with a Vista/Ubuntu dual-boot and shared NTFS data partition is shown here:
/dev/sda1: LABEL="Recovery" UUID="B23613F43613B875" TYPE="ntfs" /dev/sda2: LABEL="Windows" UUID="38CE9483CE943AD8" TYPE="ntfs" /dev/sda3: LABEL="Data" UUID="519CB82E5888AD0F" TYPE="ntfs" /dev/sda5: UUID="00d7d951-2a35-40fd-8e5d-411bb824ff3b" TYPE="swap" /dev/sda6: LABEL="Ubuntu" UUID="6044b1d0-208e-4ab3-850d-03a92e1516fc" TYPE="ext4"
The first three partitions, all NTFS, are the ones that concern us here. There are no FAT32 partitions. In this instance, all three NTFS partitions have partition labels, which makes it easier to identify the purpose of each. If your blkid output does not include partition labels, this means that the partitions do not have labels and you will have to determine which partition you wish to mount by another means. Of the three NTFS partitions, we are going to configure /etc/fstab with only the third, the Data partition. Partition /dev/sda1 is the OEM manufacturer's recovery partition and should be left unmounted, or as described below. Partition /dev/sda2 is the Windows C:\ partition and is best not included in /etc/fstab for the reasons described above, or mounted read-only - see below.
You will now need to create a mountpoint for each NTFS partition that you wish to mount by means of /etc/fstab. In our illustration we are going to add one entry only for /dev/sda3. From a terminal:
sudo mkdir /media/Data
In this case we have created a mountpoint with the same name xe2x80x93 Data xe2x80x93 as the partition label. You may use (almost) any string you wish.
Before editing /etc/fstab directly, it is a good idea to make a backup. From a terminal:
sudo cp /etc/fstab /etc/fstab.orig
Now open /etc/fstab in a text editor with root privileges. In Ubuntu:
gksudo gedit /etc/fstab
kdesudo kate /etc/fstab
In Xubuntu or Lubuntu:
gksudo leafpad /etc/fstab
For a general-purpose read-write mount, add this line to the end of /etc/fstab:
UUID=519CB82E5888AD0F /media/Data ntfs-3g defaults,windows_names,locale=en_US.utf8 0 0
Replace the UUID with the one relevant for your partition as shown in your blkid output. xe2x80x9c519CB82E5888AD0Fxe2x80x9d will not work for you.
Also, substitute your mountpoint for xe2x80x9c/media/Dataxe2x80x9d. In case you have a blank space in the name of the mountpoint you want to use like "New Volume" instead of "Data" located in "/media" use "/media/New\040Volume". The space character is created by using "\040" in the fstab.
You will also need to change the xe2x80x9clocale=en_US.utf8xe2x80x9d option to one suitable for your location and language if you are not in the USA. You can determine your locale with this terminal command:
Or for a list of all locales available on your system:
Now save your edited /etc/fstab and close the text editor. The partition(s) you have configured will be mounted the next time you reboot, but to mount them now:
sudo mount -a
Now when you go to save/retrieve your data, written from the Windows system, it will be at the location specified in your
/etc/fstab mounting instructions.
As a personal preference, rather than have the mount point be
/media/Data, e.g., I used mount points just off root,
/Data e.g.. because it saves 4-5 keystrokes or an extra click.