Open main menu

Linux and Unix Users Group at Virginia Teck Wiki β

Changes

Ubuntu

297 bytes added, 19:30, 25 February 2011
Manually
== Manually ==
DISCLAIMER: USING THIS METHOD, WILL WRITE YOUR FILE SYSTEM TABLE FILE. WHEN WRITING ON ANY SYSTEM FILE YOU CAN POTENTIALLY DAMAGE YOUR SYSTEM. USE AT OWN RISK.
 
First you need to make the point in which the partition will mount
<pre>
ls /media/windows
</pre>
If a response like ls: /media/windows: No such file of directory is returned, the location is open, and that will be the one that we use.
<pre>
mkdir /media/windows
</pre>
To manually mount partitions at start up we will need to edit fstab (file system table) which is found at /etc/fstab. When deciding which partition to mount you need to see the partitions that are currently on your hard drive.
<pre>
# Windows partition (Or whatever you want to call it.)
UUID=EA68C7FE68C7C791 / media/windows ntfs rw,auto,user,fmask=0111,dmask=0000 0 0
</pre>
(The above entry is case specific, so make sure that everything matches.)
"UUID="(your hard drives UUID) will specify which hard drive. "/media/windows" specifies the mount point, "ntfs" specifies the filesystem. The next line is what is important. If you want to be able to write to this partition when it is mounted, you will need to put "rw". If for some reason you are having trouble writing to this partition you may need to download the package "ntfs-3g", however this is the set-up I have, and it works just fine.
The line "rw,auto,user,fmask=0111,dmask=0000" will allow all users to mount, read, and edit the partition. If you don't want this, you can use uid (for users) and gid (for groups) after dmask to determine who will be able to do that. "dump" and "pass" are for use of native filesystems and will be set to "0", hens the "0 0" after "dmask=0000".
Anonymous user