windows mount not staying after reboot - fstab looks OK
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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)
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.