Find the answer to your Linux question:
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 ...
  1. #1
    Just 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

  2. #2
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    Let me guess -
    Try change
    kernel /vmlinuz-2.618.164.el15 ro root=LABEL=/
    kernel /vmlinuz-2.618.164.el15 root=/dev/sda5
    see what happens - If this didnt work then do you have Live CD ? If so use it and run following command
    fdisk -l
    and access grub.conf - post it here.
    - 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
    -------------------

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...