PDA

View Full Version : [ubuntu] 11.04 to 11.10 - fstab stops working



ZaphodFJ
October 23rd, 2011, 08:56 PM
Hi All,

At 11.04, fstab worked nicely to automount Windows partition on startup. Here is fstab:



# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sdb5 during installation
UUID=4f0535f6-1320-43c1-a93f-5d8cb8bfadab / ext4 errors=remount-ro,user_xattr 0 1
# swap was on /dev/sdb6 during installation
UUID=835b10ea-6ac5-4e85-8e52-4581df3f85c2 none swap sw,user 0 0
/dev/sdb1 /media/sdb1 ntfs defaults 0 0
# Windows C:
/dev/sda2 /Windows/C-Drive ntfs defaults,umask=007,gid=46 0 1
/Windows/C-Drive is a directory that only exists to be a mount point

After upgrading to 11.10, I get an error in the bootup process that says there are Serious Errors in finding /Windows/C-Drive. I have the option of manually fixing it, skipping or ignoring. After skipping/ignoring, Ubuntu works fine.

Once logged in I can manually mount sda2 to /Windows/C-Drive.

I have manually mounted with both:
sudo mount -t ntfs -o nls=utf8,umask=007 /dev/sda2 /Windows/C-Drive
sudo mount -t ntfs -o nls=utf8,umask=0222 /dev/sda2 /Windows/C-Drive

With either of these, everything appears to work normally again - shortcuts to the Windows partition, etc are fine.I have also tried the '0222' variation in fstab - it makes no difference.

Any ideas?

In case it helps, fdisk says:


Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xcc10fec6

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sda2 206848 976771071 488282112 7 HPFS/NTFS/exFAT

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x9203c3e8

Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 488385535 244191744 7 HPFS/NTFS/exFAT
/dev/sdb2 488386558 976771071 244192257 5 Extended
/dev/sdb5 488386560 968562687 240088064 83 Linux
/dev/sdb6 968564736 976771071 4103168 82 Linux swap / Solaris
TIA.