mounting NTFS on ubuntu

Matthew Flaschen matthew.flaschen at gatech.edu
Sun Feb 11 17:58:24 UTC 2007


Pushparaj Shetty wrote:
> Thank you sir,
> It worked fine with ntfs. But a small problem with fat32
> 
> I added another line in fstab to mount fat32(/dev/sda5)
> 
> /dev/sda5 /mnt/D vfat defaults,nls=utf8,umask=0077,uid=1000,gid=1000 0 1
> 
> After reboot, the FAT32 partition didn't get mounted.
> Any change required in command? pls help.

Yes, unfortunately.  Try:

/dev/sda5 /mnt/D vfat defaults,utf8,umask=0077,uid=1000,gid=1000,rw 0 1

Again, I'm assuming these are the right uid and gids for you.  The rw
might not be necessary, but it can't hurt.

Matthew Flaschen

> Pushparaj
> 
> On 2/11/07, Matthew Flaschen <matthew.flaschen at gatech.edu> wrote:
>> Pushparaj Shetty wrote:
>> > I gave the foolowing command
>> > #mount -t ntfs /dev/sda1 /mnt/CWindow/
>> > It accepted. But when I tried to open the folder;
>> > It says
>> > You do not have the permissions necessary to view the contents of
>> "CWindow".
>>
>> Okay, edit (as root) the file /etc/fstab .
>>
>> Add a line like:
>>
>> /dev/sda1 /mnt/CWindow ntfs
>> defaults,nls=utf8,umask=0077,uid=1000,gid=1000 0 1
>>
>> That should be only one line.  Replace the uid and gid numbers (1000 in
>> this case) with the values for your user and group.  To find these
>> values, type the command (NOT as root):
>>
>> id
>>
>> In my case, I get something beginning with:
>>
>> uid=1000(matthew) gid=1000(matthew)
>>
>> You should use the numbers you get.
>>
>> Then restart and the partition should mount automatically and give you
>> access.
>>
>> sudo mount /mnt/CWindow
>>
>> Let me know what happens.
>>
>> Matthew Flaschen
>>
>>
>>
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070211/0c84ac78/attachment.sig>


More information about the ubuntu-users mailing list