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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
10-07-2005, 10:06 AM
|
#1
|
LQ Newbie
Registered: Oct 2005
Posts: 2
Rep:
|
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
|
|
|
10-07-2005, 10:19 AM
|
#2
|
LQ 5k Club
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,375
|
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.
|
|
|
10-07-2005, 11:14 AM
|
#3
|
LQ Newbie
Registered: Oct 2005
Posts: 2
Original Poster
Rep:
|
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
|
|
|
10-09-2005, 08:30 AM
|
#4
|
LQ Newbie
Registered: May 2004
Location: Rome, Italy
Distribution: Ubuntu 6.06, SuSE 10.0
Posts: 9
Rep:
|
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.
|
|
|
10-10-2005, 04:02 PM
|
#5
|
LQ Newbie
Registered: Oct 2005
Posts: 1
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 10:58 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|