LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
LinkBack Search this Thread
Old 11-15-2009, 01:21 AM   #1
pkgtool
LQ Newbie
 
Registered: Jul 2005
Distribution: Slackware
Posts: 27

Rep: Reputation: 15
Corrupted file system, need a way to recover it! Urgent!


Hello! After a power outage I was not home and the backup power didn't hold up, the computer got turned off!

So when I was back home I tried to boot it up, it's a Pentium D 840 4GB Ram that runs about 4 Game Servers such as Counter-Strike, Left 4 Dead and others, it has been rock solid for at least six months until now.

It hangs up at Fedora screen while loading the [|||||||::::] and then returns an empty prompt.

I tried to boot through Live CD but fdisk -l does not list any partitions on this drive and here is the output of the gnome information on the disk:

Code:
ATA SAMSUNG SP1614N: 210 MB Filesystem
Contents: 30 items, totaling 15.5 MB
(some contents unreadable)
Location: Computer:///
Volume: 210 MB Filesystem
Free space: 162.6 MB
31.1 MB used
162.6 MB free
Total capacity: 193.7 MB
Filesystem type: ext3/ext4
The S.M.A.R.T is ok, it has 31 reallocated sectors but it has been like this since 2005 and I believe it was caused by a faulty IDE Cable, other than that the HDD passes all tests and this atribute has never changed.

I've tried fsdk but it says it could not find /dev/hda

My backups are on a 320GB NTFS HD, sure it works but it's quite old and a lot of work has been done around the files on the 160GB drive such as my web site (I got plenty of upstream bandwidth, 36 down/12 up so I like to host some servers).

I would appreciate any help!

Thank you
 
Old 11-15-2009, 01:44 AM   #2
pkgtool
LQ Newbie
 
Registered: Jul 2005
Distribution: Slackware
Posts: 27

Original Poster
Rep: Reputation: 15
Quick update on the Issue.

I am so nervous I forgot to make it as the root.

The partitions are all spread around in dev/dm-1 /dm-2 dm-3

When I try to use fsck it comes up with "Bad Magic Number in Superblock " Any ideas on how to fix it ?

Last edited by pkgtool; 11-15-2009 at 01:59 AM.
 
Old 11-18-2009, 12:00 PM   #3
Completely Clueless
Member
 
Registered: Mar 2008
Location: Marbella, Spain
Distribution: Many and various...
Posts: 676

Rep: Reputation: 63
Wink

Quote:
Originally Posted by pkgtool View Post
Quick update on the Issue.

I am so nervous I forgot to make it as the root.

The partitions are all spread around in dev/dm-1 /dm-2 dm-3

When I try to use fsck it comes up with "Bad Magic Number in Superblock " Any ideas on how to fix it ?
You could use a binary/hex editor to re-write the magic number if that's all that's missing. It's really no big deal. Your partitions and data are probably still there; you just need to repair your partition table. IMO you need to firstly try the gpart utility (it means 'guess partition') and comes on the Knoppix CD/DVD and probably not a few rescue disks. Run gpart and hopefully that alone should fix your disk. It would be the first thing I personally would try.
 
Old 11-18-2009, 02:00 PM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 169Reputation: 169
Thinking long term; most ups now can communicate with the pc(serial/usb). It is usually a pretty easy thing to set the machine up to shut down cleanly before the ups runs out of power.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
File system is corrupted raghavek Linux - Newbie 4 11-02-2009 11:31 PM
File system corrupted, how to move LVM drives to another machine to recover files? Arodef Linux - Hardware 1 08-07-2009 06:19 PM
mount disk - corrupted file EXT3 file system RAFAL Linux - General 3 04-08-2009 03:27 PM
file system (superblock) corrupted? ubyt3m3 Linux - Newbie 9 06-10-2008 10:52 PM
corrupted file system limiter Linux - General 6 10-06-2003 10:06 PM


All times are GMT -5. The time now is 04:13 PM.

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
Open Source Consulting | Domain Registration