Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
I am trying to recover files from my hard drive, because Windows won't boot anymore. I tried re-partitioning, and it failed, and left me with Windows not working.
When I click on hda2, it tells me:
wrong fs type, bad option, bad superblock on /dev/hda2
missing codepage or other error
So, then I tried: mount -t ntfs /dev/hda2 /mnt/hda2
and it still says "wrong fs type..."
So I entered the command that lets me see all the partitions, and hda2 was there, and it showed the right size of it and that it was ntfs.
Does anyone know how I can mount this device so that I can copy the files to a cd and abe on my way?
Originally posted by castortroy I am trying to recover files from my hard drive, because Windows won't boot anymore. I tried re-partitioning, and it failed, and left me with Windows not working.
How exactly did you try re-partitioning? With what software? Which partitions did you try to re-partition? I would think this could have messed up the partition table on the disk, but since Knoppix can find it, maybe not.
I used Partition Magic 8.0 to re-partition. I just resized C: There were only two partitions, C: and some Dell utility partition. There is only one hard drive. It's not that Knoppix can't find it, because it showed me that it could see it, but it couldn't mount it.
i think, that most likely partition magic did not fry the partition table on hda, but it fried the filesystem on hda2, so you cant mount hda2 as ntfs, because it isnt ntfs nor vfat nor ext3 nor whatever anymore, just a bunch of random-byte garbage.
the fact that it is shown as ntfs does not neccessarily mean that it still *contains* a valid ntfs filesystem. it just means that the partition is *marked* as containing ntfs/hpfs, probably.
that's another great job, partition magic!
sorry about your data, lad.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.