LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-16-2004, 11:18 AM   #1
alpinweiss88
LQ Newbie
 
Registered: Oct 2003
Location: Chicagoland
Distribution: Redhat, Mandrake, SUSE, Peanut, Knoppix
Posts: 14

Rep: Reputation: 0
Problem mounting partition after failure


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.

Michael
 
Old 12-16-2004, 11:53 AM   #2
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
i think you should google for a program called "testdisk ".
i've heard good things about that recovering/repairing...

good luck though...

egag
 
Old 12-16-2004, 01:32 PM   #3
alpinweiss88
LQ Newbie
 
Registered: Oct 2003
Location: Chicagoland
Distribution: Redhat, Mandrake, SUSE, Peanut, Knoppix
Posts: 14

Original Poster
Rep: Reputation: 0
cause of problem

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.

-M
 
Old 12-17-2004, 11:35 AM   #4
EuroJovi
Member
 
Registered: Oct 2003
Location: Mobile, AL
Distribution: Debian, Knoppix, Mandrake 9.1, Ubuntu
Posts: 49

Rep: Reputation: 15
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.

Troy
 
Old 12-17-2004, 01:19 PM   #5
alpinweiss88
LQ Newbie
 
Registered: Oct 2003
Location: Chicagoland
Distribution: Redhat, Mandrake, SUSE, Peanut, Knoppix
Posts: 14

Original Poster
Rep: Reputation: 0
partitions are OK (I think)

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.

Michael
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem mounting and ext3 partition landuchi Linux - Hardware 20 02-07-2005 01:13 AM
Problem with mounting windows partition vinayachandra Linux - Newbie 4 01-12-2005 02:43 PM
Problem mounting ext3 partition BassJunkie Linux - General 1 02-09-2004 07:08 AM
partition mounting problem umannu Linux - Software 1 09-22-2003 10:28 AM
Problem mounting vfat partition!!! yalanop Linux - Newbie 1 02-02-2003 03:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration