PDA

View Full Version : [ubuntu] How to mount a partition



webwiller
October 11th, 2010, 08:27 PM
Hi all!
For some reason I was not able to mount one partition during installation process and I would need to mount it now.
Could you please tell me the commands in order to mount my partition under /mnt/data having all permissions to read/write??

TX in advance!

WW

celticbhoy
October 11th, 2010, 08:36 PM
What file system is it formated to? FAT, EXT, NTFS?

webwiller
October 11th, 2010, 08:37 PM
What file system is it formated to? FAT, EXT, NTFS?

NTFS, cause is a "data" partition shared by win7 and ubuntu.

celticbhoy
October 11th, 2010, 08:45 PM
ntfs-config should do the trick

sudo apt-get install ntfs-config

oldfred
October 12th, 2010, 01:06 AM
Sometimes NTFS-config does not do it correctly. It is worthwhile to understand how mounting & fstab work.

Understanding fstab
http://ubuntuforums.org/showthread.php?t=283131
Ownership and permissions of vfat / ntfs are set at the time of mounting. This is often a source of confusion.
http://www.psychocats.net/ubuntu/mountwindowsfstab

My entry:

# Entry for /dev/sdc2 :
UUID=44332FD360AA9657 /home/fred/shared ntfs-3g defaults 0 0

wkhasintha
October 12th, 2010, 02:49 AM
Use this tool. It's GUI tool to easily configure fstab.

http://maketecheasier.com/auto-mount-your-ntfs-partition-in-ubuntu/2009/04/14