LinuxQuestions.org
Register a domain and help support LQ
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 10-07-2005, 10:06 AM   #1
planctus
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
recovering data from hard disk


Hello,
i've a great problem, my hard disk partition with /root and /home seems to be unreachable, my system doesn't boot anymore and it tells me about problems with some inodes and blocks.
I've tried starting with a live cd but the partition could not be mounted because of problems with the superblock. I've also tried with fsck but it had the same problem, i've changed the number of the superblock but nothing changed.
I need to recover data that the partition contains, i didn't do a backup and it's the first time i encontered an hard problem with the disk...
Does someone help me?
thanks,
Davide
 
Old 10-07-2005, 10:19 AM   #2
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.0 + 14.1
Posts: 4,834

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
Two suggestions. FIrst, it looks like your drive may be toast, if that is your conclusion also, could you mount a second drive and do an install to that dirve? If it is a desktop machine, that will get you going.

Second, post the complete text of the "bad superblock" message. We may be able to help more then.

You didn't say what live CD you tried. I have used Knoppix for this type of failure with a lot of success. Let us know what live CD it was.
 
Old 10-07-2005, 11:14 AM   #3
planctus
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Original Poster
Rep: Reputation: 0
ok, this is what i get with the fsck command: Group descriptors look bad... trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/hda2

The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>

I've tried with another superblock as suggested by bash but didn't work
This is the output of the command mount:
mount: wrong fs type, bad option, bad superblock on /dev/hda2,
or too many mounted file systems

The pc is for desktop use, but it is the brain of a multimedia-lab in my bar, in Rome and i have so many datas that i've to access....

I used these live cd; mepis, ubuntu and now i'm using Knoppix, 3.8 i mean....
thanks,
Davide
 
Old 10-09-2005, 08:30 AM   #4
Amon80
LQ Newbie
 
Registered: May 2004
Location: Rome, Italy
Distribution: Ubuntu 6.06, SuSE 10.0
Posts: 9

Rep: Reputation: 0
I had the same problem. Don't worry, it's probable that you'll recover all your data.
The first thing to try is:
e2fsck -b 32768 /dev/hda2

then, answer "yes" to all the questions. e2fsck will try to repair your file system.

Let us know if it works.

Marco

P.S. I live in Rome too

Last edited by Amon80; 10-09-2005 at 08:32 AM.
 
Old 10-10-2005, 04:02 PM   #5
slarver
LQ Newbie
 
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
You just saved my night Amon80. After filling my system disk to 101% it just crashed and I ended up with the same problem as "planctus"'. I couldn't run fsck with the -b option until I tried it "your way". I got my system up and running now, thank you very much Amon80!

Regards,
slarver.
 
  


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
How to recover data from hard disk dongyan_liu Linux - Newbie 1 12-01-2005 05:56 PM
can't repartiton hard drive for a dual boot because disk contains data near end andy101 Linux - Newbie 3 11-14-2005 01:52 PM
Moving data to another hard disk. wenberg Slackware 10 06-20-2004 11:17 PM
Recovering data CatSC Linux - Newbie 3 12-31-2003 11:25 PM
Recovering data from a failed hard drive. 2damncommon LinuxQuestions.org Member Success Stories 0 10-03-2003 11:16 PM


All times are GMT -5. The time now is 12:09 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration