Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 11-07-2007, 11:40 PM   #1
Dark Elf
LQ Newbie
Registered: Oct 2002
Distribution: Fedora Core 6
Posts: 18

Rep: Reputation: 0
Kernel Panic after Power Loss

I was running FC6 when the power failed at my house. I started the machine up again and it said:

2 logical volumes in volume group "VolGroup 00" now active
VFS: Can't find ext3 filesystem on dev dm-0
mount: error mounting /dev/root on /sysroot as ext3: Invalid argument
setuproot: moving /dev/ failed: No such file or directory
setuproot: error mounting /proc failed: No such file or directory
setuproot: error mounting /sys failed: No such file or directory
switchroot: mount failed: no such file or directory
Kernel panic - not syncing: Attempted to kill init!
I dual boot xp and FC6. XP starts with no problems. I havent done anything to fix this yet because frankly, i'm afraid of making it worse. I've read around the board about other kernel panics with similar messages, but nothing seems to fit my situation. This is the first problem i've had of this nature.
I'd greatly appreciate any help you could give me.
Old 11-08-2007, 07:32 PM   #2
Registered: Mar 2007
Location: New Jersey, USA
Distribution: Archlinux
Posts: 165

Rep: Reputation: 30
try getting a live cd and fsck'ing your partitions

sounds like to me the power outage occured when you were doing something file-intensive, and the file system was damaged very badly, or the disk heads didn't retract and damaged your disk.
Old 12-19-2007, 04:18 PM   #3
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Did that work?
Old 12-19-2007, 05:52 PM   #4
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Warning Running fsck on a logical volume's partition will destroy the logical volume and render it unusable and unrecoverable.

To run fsck on your root file system you need to:

1) Boot from the Fedora rescue CD (or, if you have a DVD, boot with linux rescue at the first prompt.

2) Unmount the root partition mounted in /mnt/sysroot

3) Run fsck /dev/mapper/VolGroup00/LogVol00 (If I recall correctly. Do a ls /dev/mapper for the actual names.) Note that "VolGrp00" will, by default, contain two logical volumes: The swap device and the root file system.

If the rescue system can't find any logical volumes (or if dm, the "device mapper," can't access them (which may be the case from your error messages)), then you'll either need to read about recovering a damaged logical volume or, more likely, need to reinstall your FC6 -- loosing all your data.

Some tools are available for recovering files from a damaged logical volume, but I've never been successful when I tried to use them.

There are also backup tools available, and, if you have a recent backup, you might try reinstalling (or, better, installing F8) and restoring your home directory from the backup.

Note: FC6 is, I believe, obsolete and no longer supported by the Fedora project.

Last edited by PTrenholme; 12-19-2007 at 05:59 PM.
Old 12-19-2007, 11:14 PM   #5
Dark Elf
LQ Newbie
Registered: Oct 2002
Distribution: Fedora Core 6
Posts: 18

Original Poster
Rep: Reputation: 0
I struggled with it for a couple of weeks and finally gave up. I started over from scratch. I appreciate everyone's advice. People here have saved me in the past.
PTrenholme, that seems like a good idea, i wish i had tried that.


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
Problems with Synaptic after power loss thekid Ubuntu 5 10-17-2007 11:17 AM
kde not loading and now kernel panic after power failure Leoplod Linux - Hardware 2 11-10-2006 06:04 AM
Power-off during shutdown causes kernel panic CapKrugers Linux - General 6 11-08-2004 07:52 PM
Squid don't start after power loss sveinxp Linux - Networking 4 08-31-2004 04:55 PM
Power loss, now no email etc Bake-SaleNet Linux - Networking 2 02-01-2004 07:26 PM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 11:52 AM.

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