PDA

View Full Version : [ubuntu] Help edit fstab


djwilson303
April 27th, 2008, 05:49 AM
Can someone help me mount a ntfs drive at startup please, thanks.. it is /dev/sda1 and the dir is /media/laptop

LaRoza
April 27th, 2008, 05:55 AM
Can someone help me mount a ntfs drive at startup please, thanks.. it is /dev/sda1 and the dir is /media/laptop
Several ways:
Edit your fstab:


gksudo gedit /etc/fstab


And add the following line:

To get the UUID:

ls -lF /dev/disk/by-uuid/


Get the UUID, or use the /dev/sda1 if it will stay that way.


/dev/sda1 /media/laptop ntfs defaults,umask=007,gid=46 0 1

OR

UUID=<insert UUID given by command> /media/laptop ntfs defaults,umask=007,gid=46 0 1

ajgreeny
April 27th, 2008, 06:23 AM
I suspect it should be possible with System Tools>>NTFS Configuration Manager, which I think is installed by default and should be able to do this for you; just follow the prompts when you start it. Interestingly, gutsy and hardy usually install with NTFS partitions mounting automatically; in fact I had to edit my fstab to stop that happening because I like to keep my OSs completely separate.

djwilson303
April 27th, 2008, 10:11 AM
where are these system tools?

hackle577
April 27th, 2008, 10:15 AM
Go into Add/Remove Programs and search for "NTFS", that should bring up the NTFS Configuration Tool. Install it and use it as ajgreeny described.