how to correctly mount fat32 partition in Ubuntu in order to preserve case

Posted by Dean on Super User See other posts from Super User or by Dean
Published on 2009-12-11T00:42:31Z Indexed on 2012/04/02 11:34 UTC
Read the original article Hit count: 380

Filed under:
|
|
|
|

I've found there are couple of problems might be related how my FAT32 partition was mounted.

I hope you can help me to solve the problem. I also included the command I used to help others when they find this post, sorry to those might feel I should use less space.

I've the following file structures on my disk

dean@notebook:~$ sudo fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x08860886

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      102400    7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2              13        5737    45978624    7  HPFS/NTFS
/dev/sda3            5738       10600    39062047+  83  Linux
/dev/sda4           10601       19457    71143852+   5  Extended
/dev/sda5           10601       11208     4883728+  82  Linux swap / Solaris
/dev/sda6           11209       15033    30720000    b  W95 FAT32
/dev/sda7           15033       19457    35537920    7  HPFS/NTFS

In the etc/fstab I've got

UUID=91c57a65-dc53-476b-b219-28dac3682d31  /             ext4     defaults                           0  1  
UUID=BEA2A8AFA2A86D99                      /media/NTFS   ntfs-3g  quiet,defaults,locale=en_US.utf8,umask=0                           0  0  
UUID=0C0C-9BB3                             /media/FAT32  vfat     user,auto,utf8,fmask=0111,dmask=0000,uid=1000                           0  0  
/dev/sda5                                  swap          swap     sw                                 0  0  
/dev/sda1                                  /media/sda1   ntfs     nls=iso8859-1,ro,noauto,umask=000  0  0  
/dev/sda2                                  /media/sda2   ntfs     nls=iso8859-1,ro,noauto,umask=000  0  0  

I checked my id using id and I've got

dean@notebook:~$ id
uid=1000(dean) gid=1000(dean) groups=4(adm),20(dialout),24(cdrom),46(plugdev),103(fuse),104(lpadmin),115(admin),120(sambashare),1000(dean)

I don't know why with these settings I still have problem of using svn like in this one

Thank you for your help!

© Super User or respective owner

Related posts about ubuntu

Related posts about mount

  • 12.10 update breaks NFS mount

    as seen on Ask Ubuntu - Search for 'Ask Ubuntu'
    I've just upgraded to the latest 12.10 beta. Rebooted twice. The problem is with the NFS folders not mounting, here's a verbose log. # mount -v myserver:/nfs_shared/tools /tools/ mount: no type was given - I'll assume nfs because of the colon mount.nfs: timeout set for Mon Oct 1 11:42:28 2012 mount… >>> More

  • Mount SMB / AFP 13.10

    as seen on Ask Ubuntu - Search for 'Ask Ubuntu'
    I cannot seem to get Ubuntu to mount a mac share via SMB or AFP. I've tried the following... AFP: apt-get install afpfs-ng-utils mount_afp afp://user:password@localip/share /mnt/share Error given: "Could not connect, never got a reponse to getstatus, Connection timed out". Which is odd as I can… >>> More

  • Mount Return Code for CIFS mount

    as seen on Server Fault - Search for 'Server Fault'
    When I run the following command (as root or via sudo) from a bash script I get an exit status (or return code in mount man page parlance) of 1: mount -v -t cifs //nasbox/volume /tmpdir/ --verbose -o credentials=/root/cifsid & /tmp/mylog It outputs the following into the myflog file: parsing… >>> More

  • Disable raid member check upon mount to mount damaged nvidia raid1 member

    as seen on Server Fault - Search for 'Server Fault'
    Hi, A friend of mine destroyed his Nvidia RAID1 array somehow and in trying to fix it, he ended up with a non-working array. Because of the RAID metadata, the actual disk data was stored at an offset from the beginning. I was able to identify this offset with dd and a hexeditor and then I used losetup… >>> More

  • Network shares do not mount.

    as seen on Super User - Search for 'Super User'
    My network shares were mounting fine yesterday.. suddenly they are not. They were mounting fine for the last two weeks or however long since I added them. When I run sudo mount -a I get the following error: topsy@monolyth:~$ sudo mount -a mount error(12): Cannot allocate memory Refer to the mount… >>> More