windows mount not staying after reboot - fstab looks OK
windows mount not staying after reboot - fstab looks OK
Running the mount manually: mount /dev/hda1 /windows/C -t ntfs -r-o umask-0222 and then a "ls -l /windows/C" works fine. After shutdown or restart the /var/log/messages, /var/log/boot.msg files and "dmeg | greb NTFS" shows several similar errors. messages: NTFS-fs error (device 03:01): parse_options(): Unrecognized mount option code NTFS-fs error (device 03:01): parse_options(): Option iocharset is deprecated. Please use the "nls=<charsetname> in the future. NTFS-fs error (device 03:01): parse_options(): Unrecognized mount option code boot.msg: <6>NTFS driver 2.1.4a [Flags: R/O MODULE] <3>NTFS-fs warning (device 03:01): parse_options(): Option iocharset is deprecated. Please use the "nls=<charsetname> in the future. <3>NTFS-fs error (device 03:01): parse_options(): Unrecognized mount option code dmesg | greb NTFS: NTFS-fs error (device 03:01): parse_options(): Unrecognized mount option code NTFS-fs error (device 03:01): parse_options(): Option iocharset is deprecated. Please use the "nls=<charsetname> in the future. "fstab" file looks like this: /dev/hda3 / reiserfs defaults 1 1 /dev/hda1 /windows/C ntfs ro,users,gid=users,umask=0002,iocharset=iso8859-1,code=437 0 0 /dev/hda2 swap swap pri=42 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 proc /proc proc defaults 0 0 usbdevfs /proc/bus/usb usbdevfs noauto 0 0 /dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0 /dev/dvd /media/dvd auto ro,noauto,user,exec 0 0 /dev/fd0 /media/floppy auto noauto,user,sync 0 0 Something about either a "unrecognized mount option code" or the "nls" character set that is attempted to be read from the fstab file may be the problem, but the man pages don't seem to speak to that very well. Thanks in advance for the help. |
/dev/hda1 /windows/C ntfs ro,users,gid=users,umask=0002,iocharset=iso8859-1,code=437 0 0
change that to /dev/hda1 /windows/C ntfs ro,users,gid=users,umask=0002 0 0 |
I've entered the syntax as instructed and from the messages file I get "NTFS-fs error (device 03:01): parse_options(): Unrecognized mount option code 0"
At least it's indicating it doesn't understand what mount option code it is having an issue with (0). Another suggestion on a alternate code type to try? (thx) |
try umask=002
that's the only place i see zero's in what's above. this is what's in your options column in fstab? ro,users,gid=users,umask=0002 maybe you accidently put a space after umask= 0002 or something i was just taking the iso junk out of the options |
And the answers are:
/dev/hda1 /windows/C ntfs ro,users,gid=users,umask=002 or /dev/hda1 /windows/C ntfs ro,users,gid=users,umask=0002 Removed everything past the "=002" or "0002" and it worked Thank you whansard |
those last 2 0's on the line after the umask are for other things.
the first one is for whether dump should backup the drive, and the last one is for whether the drive should be checked at boot and in what order. the umask number is octal, if you know what that is. since the drive is ntfs, you don't want to check it, and you can't dump it, so the last 2 columns don't matter anyway. |
All times are GMT -5. The time now is 12:28 PM. |