Results 1 to 2 of 2
Hi all
I created a new initrd image with mkintrd command.i commented the existing initrd image entry in /boot/grub/grub.conf file and added the new initrd image.and now the system does ...
- 05-28-2010 #1Just Joined!
- Join Date
- Jan 2010
- Posts
- 7
kernel panic
Hi all
I created a new initrd image with mkintrd command.i commented the existing initrd image entry in /boot/grub/grub.conf file and added the new initrd image.and now the system does not boot it says "File not found" .when i login to grub command prompt and boot with the Kernel and initrd image ( the one commented in grub.congf file ) as i cannot find the new one .
I followed the following steps in grub command prompt
1) Find /grub/stage1
o/p - (hd0,6)
2) root(hd0,6)
o/p - filesystem type ext3......
3) kernel /vmlinuz-2.618.164.el15 ro root=LABEL=/
4) initrd /init <TAB key >
I get all the files including the old initrd image ( cannot find the new one just created ) so i use the old one and say boot
5) boot
The system throws an error
Kernel panic - not syncing : attempted to kill init !
Please help
Thanks in advance
- 05-28-2010 #2
Let me guess -
Try change
kernel /vmlinuz-2.618.164.el15 ro root=LABEL=/see what happens - If this didnt work then do you have Live CD ? If so use it and run following commandkernel /vmlinuz-2.618.164.el15 root=/dev/sda5
and access grub.conf - post it here.fdisk -l- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------


Reply With Quote