PDA

View Full Version : Trouble Mounting a Hard Drive



hadeschild
06-06-2006, 08:07 AM
I am using Knoppix in order to rescue some important information which was lost when there was a power outage which made it impossible for me to boot Windows XP, (which is my usual operating system).

The situation is very similar to http://www.knoppix.net/forum/viewtopic.php?t=22458&highlight=hard+drive or http://www.knoppix.net/forum/viewtopic.php?t=22384&highlight=ntfs+mount although what was suggested there didn't help.

When I try to mount my hard drive, (sudo mount /mnt/hda1), it comes back with this message:


mount: wrong fs type, bad option, bad superblock on /dev/hda1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

dmesg | tail, gets this:


NTFS-fs error (device hda1): map_mft_record_page(): Mft record 0x4 is corrupt. Run chkdsk.
NTFS-fs error (device hda1): map_mft_record(): Failed with error code 5.
NTFS-fs error (device hda1): ntfs_read_locked_inode(): Failed with error code -5. Marking corrupt inode 0x4 as bad. Run chkdsk.
NTFS-fs error (device hda1): load_and_init_attrdef(): Failed to initialize attribute definition table.
NTFS-fs error (device hda1): ntfs_fill_super(): Failed to load system files.
NTFS-fs error (device hda1): map_mft_record_page(): Mft record 0x4 is corrupt. Run chkdsk.
NTFS-fs error (device hda1): map_mft_record(): Failed with error code 5.
NTFS-fs error (device hda1): ntfs_read_locked_inode(): Failed with error code -5. Marking corrupt inode 0x4 as bad. Run chkdsk.
NTFS-fs error (device hda1): load_and_init_attrdef(): Failed to initialize attribute definition table.
NTFS-fs error (device hda1): ntfs_fill_super(): Failed to load system files.


I have no idea what to do from here, and please keep in mind that I'm brand new to Knoppix, so if I'm overlooking something terribly obvious, I apologize.

ckamin
06-07-2006, 03:55 AM
The key might be with the statement "Bad Superblock". It usually means that something is wrong with the boot sector on the drive. Probably corrupted or worse. Linux may be no more effective than Windows itself in recovering it. You should look through the Microsoft site for answers. I would use the recovery console, or BartPE to repair the failure. Might be as simple as a one line command in the recovery console. Fixmbr might be the one if I remember. Haven't blown up a Windows box in a while, so the memory is not that good. Seems like all the previous versions of Window$ just meld together after a while.

Since it happened to be unusually powered down, it probably did corrupt the drive. How bad and what was corrupted would be dependant upon what was being written at the time.

I would certainly try Microsofts tools for this before trying exotic methods and making matters worse.