LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-05-2002, 01:10 PM   #1
Deffe
LQ Newbie
 
Registered: Oct 2002
Location: Belgium
Distribution: Red Hat 9
Posts: 14

Rep: Reputation: 0
Question Kernel panic after startup


After e cold start of the PC, it strats now with following message:
......
......(messages from installed stuff)...
...
Creating root device
Mounting root file system
Kjournal starting. Count interval 5 seconds.
EXT3-fs : mounted file system with ordered data mode
pivotroot : pivot_root (/sysroot,/sysroot.initrd) failed : 2
Freeing unused kernel memory : 220K freed
Kernel panic : No init found
try passing init= option to kernel.

I've read some of the earlier posted "kernel panic" mail,
but can not get my system back working.

Inserting the rescue floppy will start the system again until the same messages appear.
Booting from CD in rescue mode is OK, but I can not see my
directories. A try to mount the partitions results in, can not mount: read only.

Anybody any idea.

Kind regards,

Marc.

PS : I think that the solution creating the /initrd directory might solve the problem, but then I must be able to get to the system.
 
Old 10-05-2002, 04:01 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
What command do you use to mount your drives?
 
Old 10-06-2002, 04:22 AM   #3
Deffe
LQ Newbie
 
Registered: Oct 2002
Location: Belgium
Distribution: Red Hat 9
Posts: 14

Original Poster
Rep: Reputation: 0
Start the PC with the install CD. Type at the begin of the
install: linux rescue.
The rescue environment finds the Red Hat installation and mount it under /mnt/sysimage.

Then I do a mkdir /foo
and mount, try to, the "/" partition with
mount -t ext3 /dev/hda2 /foo

Restult : mount failed. Permission denied.

Make the mounted system the root partition with
chroot /mnt/sysimage
and then again try to mount, results in:

block device /dev/hda2 is write protect, mounting read-only
can not mount block device /dev/hda2 is read-only.

Thanks,

Marc
 
Old 10-06-2002, 09:09 AM   #4
Deffe
LQ Newbie
 
Registered: Oct 2002
Location: Belgium
Distribution: Red Hat 9
Posts: 14

Original Poster
Rep: Reputation: 0
Hi,

Found the problem!
Redhat 7.2 PC is starting again.
I'll write donw what I did to make it work again, maybe others can take profit.

The PC was giving a: kernel Panic error after booting.
It's using GRUB to start.

When the GRUB window appear, type p and enter the password given to GRUB when linux was installed.
A new window apears with Rad Hat Linux, version, etc.
Select this and then type "e".
In my case new content came up in the window.
- three lines where one was:
initrd /initrd-2.4.9-34.img

I simply removed this line.
select the line and type "d".

Boot the system by typing the "b" key.

The PC boots again without problems, I've tested as much
programs as possible and all seems to work correctly.

Kind regards and many thanks,

Marc
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 12:58 PM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 03:28 AM
Kernel panic puts me in a panic theeeg Linux - Software 2 07-31-2004 04:46 PM
kernel panic (narius panic) narius Linux - Newbie 3 06-20-2002 03:56 PM
Kernel panic making me panic! Linux_N0oby Linux - Software 19 05-29-2002 12:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:48 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
Open Source Consulting | Domain Registration