Monday, March 23, 2009

Mount windows partitions at startup

This is a record for the auto mount of windows partition in linux.

1. Verify that the current linux system has nfts support:
Use add/move software to check if ntfs-3g, libntfs10, etc., have been installed. Or else use NTFS as the keyword to search and install in synaptic package Manager.

2. # fdisk -l % find the names of the windows partitions;
% we suppose that we would like to
% mount sda2, sda6 sda7 at startup;
# mkdir /media/sda2 % make directories for the mount
% point of each windows partition;
# mkdir /media/sda6
# mkdir /media/sda7

3. # nano -w /etc/fstab % edit the mount configuration
% file for the linux system;
put the following lines in fstab:

/dev/sda2 /media/sda2 ntfs rw,user,auto,umask=0 0 0
/dev/sda6 /media/sda6 ntfs rw,user,auto,umask=0 0 0
/dev/sda7 /media/sda7 ntfs rw,user,auto,umask=0 0 0

4. Done.



Post a Comment

Subscribe to Post Comments [Atom]

<< Home