Won't Mount certain ntfs drive after upgrade to 2.6
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Won't Mount certain ntfs drive after upgrade to 2.6
I think I did it!I compiled my first kernel!!! Wohoo
The only problem is I can't seem to mount the partitions from a certain ntfs hard drive (hda1 works fine, which is also ntfs; the partitions on hdb1 won't) I get the following error:
Code:
EXT3 FS on hda6, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
NTFS volume version 3.1.
NTFS-fs warning (device hdb1): is_boot_sector_ntfs(): Invalid boot sector checksum.
NTFS-fs error (device hdb1): read_ntfs_boot_sector(): Primary boot sector is invalid.
NTFS-fs error (device hdb1): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover.
NTFS-fs error (device hdb1): ntfs_fill_super(): Not an NTFS volume.
It used to work before I upgraded to the 2.6.20.1 kernel. Yes I've included ntfs support (I've checked it all).
You guys have any ideas how to fix this?
Also when configurin the kernel, what parts should I toggle as modules? Is it safe to just put a check on everything that I need? Thanks!
Selecting everything as compiled-in, rather than modules, is just fine. Personally I find it simpler, and besides, what tiny gain in boot speed might be had by a smaller kernel is IMO irrelevant.
Not to be picky on semantics, but where you state "the partitions on hdb1 won't", should that read hdb, instead of hdb1? hdb1 is a single partition, correct? OK, I guess you are using the same fstab file also? I ask these questions because the errors you posted make me suspicious of the fstab entry for that drive/partition.
Have you renamed any drives, or moved them on the IDE bus?
That's about all I can suggest, hopefully another member will have more ideas. Good luck
SV
PS - ONE possible exception where something should be a MODULE rather than compiled in, is for some firewall configurations: the firewall code looks for the needed modules, and while they apparently still work if they are compiled in, the firewall will return errors when it doesnt see the modules as 'modules'.
Last edited by GrapefruiTgirl; 03-04-2007 at 07:49 PM.
also, try using only the 'defaults' setting first, and omitting the 'ro'.
Finally, I'm fairly certain that the 'errors=remount-ro' option IS usable with an ntfs volume; check 'man mount' and 'man fstab' for more details.
I have found that ntfs mounts in fstab like to have the defaults setting in particular.
I had this problem once, when I accidentally let Grub instal to /dev/hda1 instead of /dev/hda. I couldn't mount my Windows partition anymore, and IIRC Windows didn't boot anymore. However, mounting with the option errors=recover fixes it (just like it says in your log: Mount option errors=recover not used. Aborting without trying to recover.") I think the following should work:
root@hobbes:/# mount -t ntfs -o errors=recover,ro /dev/hdb1 /g
mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Silly maybe, but: Are you absolutely certain you are specifying the correct partition? It is easy to mix them up after rearranging stuff sometimes, and the resulting errors can be similar.
*** Here's another remote possibility, though I'm not putting much stock in it: consider toggling the bootable flag on the drive in question using parted or cfdisk or whatever.Perhaps with a valid boot sector there might be a difference??? (Even if it is not a boot disk; it should have a boot sector if it is/was a windows ntfs drive)
*** = no guarantees that writing the bootsector won't mess up anything, please be careful here.
Last edited by GrapefruiTgirl; 03-07-2007 at 01:26 PM.
Silly maybe, but: Are you absolutely certain you are specifying the correct partition? It is easy to mix them up after rearranging stuff sometimes, and the resulting errors can be similar.
*** Here's another remote possibility, though I'm not putting much stock in it: consider toggling the bootable flag on the drive in question using parted or cfdisk or whatever.Perhaps with a valid boot sector there might be a difference??? (Even if it is not a boot disk; it should have a boot sector if it is/was a windows ntfs drive)
*** = no guarantees that writing the bootsector won't mess up anything, please be careful here.
I'd like to try it out but I've got lots of stuff downloaded in this drive. Don't wanna mess it up
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.