Find the answer to your Linux question:
Results 1 to 9 of 9
Kernel has been corrupted for unknown reasons. grub is coming up and staying there, & not booting after. Here i made some attempts. grub> root (hd0,0) File system type is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2008
    Posts
    9

    kernel recovery


    Kernel has been corrupted for unknown reasons.
    grub is coming up and staying there, & not booting after.

    Here i made some attempts.

    grub> root (hd0,0)
    File system type is ext2fs,partition type 0x83

    grub> kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
    Error 15: file not found

    grub>initrd /boot/initrd-2.4.8-20.img
    Error 19:Linux kernel must be loaded before initrd.

    Somebody please help me how to boot linux kenrel.
    thanks inadvance

  2. #2
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,042
    This sounds more like a grub problem ... you could try SuperGrub or boot from a live CD, mount your boot partition and check what the problem is ... btw what did you do to your system before the boot problem occurred?

  3. #3
    Just Joined!
    Join Date
    Apr 2008
    Posts
    9
    I just did init 6 before this problem.
    Is it possible to rescue linux in vmvare.

  4. #4
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,042
    I'm not sure I can help you since I have not used vmware at all ... before the restart had you been trying to do a kernel update or something else?

    If you just get a grub prompt that suggests the grub config file is missing rather than a kernel issue ... hence my initial response. You may find the grub commands work so you can try find etc.

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    grub> kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
    Try passing actual device name ( /dev/sda1 or so ) instead of LABEL.
    Code:
    grub> kernel /boot/vmlinuz-2.4.20-8 ro root=/dev/sdax
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #6
    Just Joined!
    Join Date
    Apr 2008
    Posts
    9
    Even after passing device name,the same error occuring
    Error 15:file not found

  7. #7
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,042
    try
    Code:
    find /boot/grub/stage1
    find /boot/grub/menu.lst
    find /boot/grub/grub.conf
    so you can confirm which partition the grub config files are located.

    Ed: on my system I get
    Code:
    grub> find /boot/grub/stage1
     (hd0,8)
     (hd0,10)
    
    grub> find /boot/grub/menu.lst
     (hd0,8)
     (hd0,10)
    but thats just because I have two versions of Linux and installed grub for each.

  8. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    In case nothing works, boot up from SuperGRUB CD and re-install GRUB.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #9
    Just Joined!
    Join Date
    Apr 2008
    Posts
    9
    thank you for suggestion , i will try it & come back

Posting Permissions

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