Tuesday, July 7, 2009


Hi All,

This post teaches you as to how to auto-mount your Windows partitions to your Linux machine.

Follow these steps:

1. sudo through and cd to /media/ via your konsole.
2. Create folders using mkdir command and create the total number of Windows partitions as your folders.
3. If you have C drive, D drive and E drive, create 3 folders inside /media/ as C:, D: and E:
4. Edit the fstab command and type the following into it:

/dev/sda1 /media/C: fat32 rw,auto,user 0 0
/dev/sda5 /media/D: fat32 rw,auto,user 0 0
/dev/sda6 /media/E: fat32 rw,auto,user 0 0


1. If you are having an old computer with IDE harddisks, sda* will be replaced with hda*
2. You can mount your drives to any folders. Not required that you have to do it to /media/
3. This script works for Windows installed in Fat32 format only.
4. I suggest you not to mount your C drives. Usage and its circumstances are left to the user.
5. If you can observe the "user" word in the lines, this gives permissions to the user group of Linux.

After finishing editing the file, save it and then issue the command "mount -a", for 'mount all'

Ananth Gouri

No comments:

Post a Comment