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.
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.
What command do you use to mount your drives?
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
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.
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:
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,
|All times are GMT -5. The time now is 01:36 AM.|