LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-25-2005, 04:22 PM   #1
dunstantom
LQ Newbie
 
Registered: Sep 2005
Posts: 2

Rep: Reputation: 0
Kernel panic after hard reboot


Howdy-

I searched some of the threads and I figure this is a common problem, but I don't know enough about Linux and Fedora Core 2 to fix it.

I recently had to do a hard reboot on my machine (Pentium II). When I did so, it started booting up but then gave me this:

Uncompressing Linux ... Ok, booting the kernel.
audit(1127658346.967:0): initialized
Red Hat nahs version 3.5.22 starting
EXT3-fs: error loading journal
mount: error 22 mounting ext3
pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2
umount /initrd/proc failed: 2
Kernel panic - not syncing: No init found. Try passing init= option to kernel.

I wouldn't mind reinstalling FC if I had to, but I'd like to get to some of my files if possible. Thanks in advance.
 
Old 09-25-2005, 06:11 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,854

Rep: Reputation: 310Reputation: 310Reputation: 310Reputation: 310
"I recently had to do a hard reboot on my machine (Pentium II). When I did so, it started booting up but then gave me this:"

You should run fsck against every linux partition except swap. Boot a rescue cd and run fsck something like this:

fsck -t ext3 /dev/hda1

Answer yes to everything that fsck asks you. fsck should clean up the errors such as:
"EXT3-fs: error loading journal"

Here is the fsck man page:

http://www.die.net/doc/linux/man/man8/fsck.8.html

-------------------------
Steve Stites
 
Old 09-25-2005, 07:21 PM   #3
dunstantom
LQ Newbie
 
Registered: Sep 2005
Posts: 2

Original Poster
Rep: Reputation: 0
I'm using an old compaq and I the only options I find for booting are from the Hard drive C: and the ethernet device. Is there any other way to get to a command prompt?
 
Old 09-25-2005, 09:49 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,854

Rep: Reputation: 310Reputation: 310Reputation: 310Reputation: 310
"I'm using an old compaq and I the only options I find for booting are from the Hard drive C: and the ethernet device. Is there any other way to get to a command prompt?"

If you have a floppy you can boot tomsrtbt from the floppy and use that.

http://www.tux.org/pub/distributions...inux/tomsrtbt/

If you have another Linux computer you can move the hard drive to the working Linux computer and run fsck there.

How did you boot the installer when you installed Linux? You can probably boot a rescue system the same way.

--------------------------
Steve Stites
 
Old 09-25-2005, 10:34 PM   #5
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
It looks like the problem is that the journal of your ext3 filesystem has gotten corrupt. If that's the only damage you should be OK, because you can just boot off a floppy or LiveCD and mount the partition ext2 (no journal -- ext3 is pretty much just ext2 with a journal). Unfortunately, if the journal is corrupt there's probably other filesystem damage too.

Why did you have to hard reboot? If the machine froze, it's possible the hard drive itself is on its way out.
 
  


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
kernel panic error on reboot Ken8006 Fedora 2 05-16-2005 01:08 AM
Automatic reboot on kernel panic atlesn Linux - General 2 11-30-2004 10:04 AM
kernel panic on reboot of newly compiled kernel lyceum Linux - Newbie 4 09-09-2003 09:40 AM
Kernel panic on reboot runny_yolk Linux - General 0 10-04-2002 10:12 PM
Kernel Panic after reboot Spock Linux - General 8 08-27-2002 09:38 AM


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