PDA

View Full Version : [ubuntu] Auto-mount Windows drives



sharks
July 21st, 2009, 02:09 AM
I have 8.10 . Only one windows drive mounts everytime. I do proper shutdown. And i need to manually mount the drives using this : sudo mount /dev/sda5 /media/media -o force


How do i mount all the drives automatically?

komputes
July 21st, 2009, 02:48 AM
If you want partitions to be mounted at boot they must be in /etc/fstab. To learn more read:

https://help.ubuntu.com/community/Fstab

Mark Phelps
July 22nd, 2009, 07:27 PM
Hope you realize that by adding "force" to the mount command, you're running the risk of corrupting the Windows partition when you mount it. If it's data, and it's backed up somewhere, then you don't have to worry much, but if you're forcing the mount of an OS partition, you run the risk of rendering it unbootable.

drs305
July 22nd, 2009, 07:35 PM
This link gives you various ways to mount windows (ntfs) partitions.

http://www.psychocats.net/ubuntu/mountwindows

ntfs-config is probably the easiest way to mount an ntfs partition. If ntfs-config doesn't work, there is probably something wrong with the filesystem. You can download an app called "ntfsprogs" and run ntfsfix on the device if running a windows filesystem check doesn't fix it.