My setup is a dual-boot Windows XP / SUSE Linux system, with three data partitions (Linux naitive, NTFS formatted empty space, and NTFS Windows filesystem) and the NTFS volumes are supposed to mount to /windows/C and /windows/D. Sometimes when I boot up, the files are where they should be, in those folders, sometimes they’re not; sometimes one is mounted, sometimes the other is.
Is there a way I can find out what’s wrong and perhaps fix this? I heard perhaps a disk error-check from the Windows side is necessary, but is there anything I can do from the Linux side?
If the windows partition is not shut down properly (hibernate is NOT enough) then you will have difficulty mounting the NTFS drives under Linux with the NTFS-3G driver. There is a work around to force the mounting, but IMHO its far better to shut down MS-Windows properly.
Do you know why this is? It seems strange that the filesystem would be affected by shutdown. Well, not really, if it was writing to the harddrive at the point of shutdown, some lines may not be completed, which makes sense.
Thanks for your quick answer, I’ll have to do some investigating but I have a feeling you’re right.
Correct. And in this case, you will see a respective warning if you boot in the verbose mode. Press Esc to switch to this mode and see, if this is the case or there are any other warnings.
Have a read of swerdna’s tutorial (forced and failed mounts sections).
There is an ntfsfix utility that has limited ability to correct some basic ntfs errors, but generally booting into windows is recommended along with chkdsk.
Thanks for all of your support. I’m unfortunately still having trouble mounting an NTFS volume that I formatted specifically as fileswap between Windows and Linux. The system sees that the drive is there, but it’s not mounted, and when I mount /dev/sda3, I get an error:
mount: wrong fs type, bad option, bad superblock on /dev/sda3,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
So I dmesg, and it spits this out:
FAT: bogus number of reserved sectors
VFS: Can’t find a valid FAT filesystem on dev sda3.
This is odd, because I’ve tried checking the filesystem in Windows, I’ve formatted it numerous times, and still nothing works.
/dev/sda1 is mounting to /windows/C perfectly, so theres some stress alleviated.
Any help would be appreciated, I’ve tried most anything and am considerably stumped.
A final question:
You are mounting sda3 by entering a command in a console window. Would you prefer to have sda3 mount permanently, automatically at boot time?
Wow, I had no idea. thank yyou so much, this makes my new Eee completely set with Linux! Sorry for being out of the loop for so long, I have forgotten how to do simple things…
Yes, I would like it to mount every time I boot Linux, I think the reason it didn’t is because I altered the nature of the partition from a FAT32 to an NTFS after I installed OpenSUSE, and the system probably did the same thing I did, and tried to ‘mount’ the FAT filesystem instead of using NTFS-3G, hence the error: FAT: No valid filesystem.
Which config file do I have to modify? I probably have to delete a few lines to make sure it stops trying to mount it as a FAT32 drive.
Thanks once again, this forum is quick, to the point, and very helpful.
I had the problem with my ext.HD can`t open in suse anymore.
What I did with the ext,HD backup your file and restart you PC go to winxp/vista reformat HD and it is finish you can go back and reinstall the files,what your back up into ext.HD .