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.
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.
I was in the process of copying pictures from my CF card to a directory when everything just locked up. (Mandrake 10.0) I was unable to do anything, including getting to a console or CTRL-ALT-DELETE. It was locked up hard. I had to hard-reset my system.
So when the system came back up, one of my drives (160GB, two 80GB partititions) was mounted read-only. I did a clean restart (shutdown -r) and then they wouldn't mount at all. I commented them out of /etc/fstab and the system came up.
But now I can't access this drive. I have run e2fsck on it, and tried to restore the superblock 32768 (4k blocks). I even tried all of the other superblocks, but I still can't access the drive. When I try to mount it I get:
"wrong fs type, bad option, bad superblock on /dev/hdb1"
I ran cfdisk on the drive, and it can see the partitions. I am guessing either my filesystem is f'd up or the drive is going bad.
Any suggestions?
This is my backup drive, and I do have some things on there that I haven't backed up to offline media. So I do want to recover all the data.
Thanks, I did see that on Freshmeat, and will try it out when I get home.
This is a relatively new drive (2 months) so I am wondering if this problem could be a bad drive, or if it was purely caused by something else like the hard reset.
You may also want to try booting to Knoppix livecd and seeing if it picks up the partitions correctly. Knoppix is a life-saver when it comes to system recovery.
Yeah, I have about 10 different versions of Knoppix lying around I could try. :-)
I ran testdisk, and it seems that the partitions are OK. I was even able to browse and see the data. But I can't mount the partitions. I still get that message:
mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
or too many mounted file systems
I guess it has to be the bad superblock. I just have to figure out what to do now. I have run e2fsck on the first and all the other superblocks. If I run "e2fsck -b <superblock> /dev/hdb1" is there something else that I would need to do after it finishes? I just try to mount the partition, and it fails again.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.