Automounting Windows Partitions in Ubuntu Hardy
Unlike recent versions of Ubuntu, the new Hardy Haron doesn't automatically mount other partitions you may have on your hard drive. I've gotten so used to everything "just working" on Ubuntu, that I had forgotten how to set this up. I think the last time I had to edit my fstab file was when I was using slackware 8! Anyway, I'm sure there are post all over the web on how to do this, but I'm just posting it here mainly so I wont forget ![]()
It's actually incredibly easy.
In a terminal type the following:
sudo gedit /etc/fstab
At the prompt, type in your password and at the bottom of the file add the following line for each of your partitions:
/dev/sda1 /media/windows_d vfat defaults 0 0
The first part
/dev/sda1 is the partition you want to automount. If you don't know which it is, just use the system monitor(System > Administration >System Monitor) and click on the "File Systems" tab.The next part
/media/windows_d is where on your ubuntu system you want to mount it. I have two windows partitions, so I name it windows_d and windows_c. Make sure the directory exists on your linux side or it wont work:sudo mkdir /media/[name_of_your_mount_point]
The last part vfat is the format of your windows drive. Again, the sytem monitor will let you know which format you're dealing with.
Like I said earlier, I haven't done this in a while, so if I've made any glaring mistakes here or you have a better way, just leave a comment for the next person.