LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 05-21-2006, 04:27 PM   #1
ummmmm22
LQ Newbie
 
Registered: May 2006
Posts: 3

Rep: Reputation: 0
Question Recover from filesystem failure?


This is a system I haven't used in quite a while because I didn't know how to recover it but didn't want to give up on my data completely. So I've been procrastinating dealing with it. I've finally broken down and decided to ask for advice.

Fedora Core 3, I see the Grub menu, but booting halts after:

Decompressing Linux... Ok, booting the kernel
audit(1121588482.671:0):initialized
Red Hat nash version 4.1.18 starting
INIT: version 2.85 booting
INIT: no inittab file found

Enter runlevel: ?

Whatever I enter, I get the following:

INIT: Entering runlevel: ?
INIT: No more processes left in this runlevel

Booting from a CD into repair mode, I can see that hda1 is a boot partition, and hda2 is the old root filesystem, but at least some significant directories are wrong. /etc contains the exact same contents as /lib (which looks like normal /lib contents), and /usr/local/bin is completely empty. I think etc explains the missing inittab and failed boot.

Trying to upgrade or repair with the current or a newer version of Fedora sees no existing installation.

I don't know a whole lot about UNIX filesystems, but I'm hoping that the original contents of etc are out there somewhere in a way that could be recoverable with inode manipulation. Any ideas? Or am I completely out of luck?

This most likely occurred due to a power failure. FWIW.
 
Old 05-21-2006, 08:47 PM   #2
ataraxia
Member
 
Registered: Apr 2006
Location: Pittsburgh
Distribution: Debian Sid AMD64
Posts: 296

Rep: Reputation: 30
Look in /lost+found in hda2.
 
Old 05-21-2006, 09:13 PM   #3
ummmmm22
LQ Newbie
 
Registered: May 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Completely empty
 
Old 05-21-2006, 09:48 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,159

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
Try running fsck on the partition from a LiveCD. Maybe it can at least find some stuff to put into lost+found.
 
Old 05-21-2006, 11:26 PM   #5
ummmmm22
LQ Newbie
 
Registered: May 2006
Posts: 3

Original Poster
Rep: Reputation: 0
There are now some files in lost+found, but nothing I can decipher to help me restore a bootable system. Oh well, guess I'm outa' luck. I can FTP off some of my data files, but I think I'll have to reload from scratch.

(Sigh. This is now the second Linux system I've lost due to power loss.)
 
  


Reply

Tags
fedora, filesystem, recover


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RAID1 failure - Need advice on ow to recover Ezplan Linux - Hardware 3 01-24-2006 10:10 AM
Trying to recover files with ext3 filesystem bgenora Linux - Newbie 1 11-07-2005 12:54 PM
Reformatted ext3 filesystem - recover? addy86 Linux - General 11 01-10-2005 01:49 AM
Can Mandrake 9.1 recover from a power failure? CyberLord_7 Mandriva 5 09-26-2003 02:43 PM
filesystem: recover or not to recover? bdp Linux - General 3 06-06-2003 04:40 AM


All times are GMT -5. The time now is 01:40 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration