The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

grub and kernel are MISSING !!!

Discussion in 'General Discussion' started by gotini2004, Nov 18, 2006.

  1. gotini2004

    gotini2004 Member

    Joined:
    Feb 9, 2004
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    yes, the /boot folder is empty and of cource the server is not starting.

    The os is Centos 3.8
    i've entered linux rescue mode and chroot-ed to /mnt/sysimage -> everyting is in place but the /boot folder is empty :confused: :eek:

    trying to yum update grub or yum update kernel - runs smoothly - but nothing has happened

    anyone, any ideas ?? my clients are already holding axes in their hands and searching for my office :eek:
     
    #1 gotini2004, Nov 18, 2006
    Last edited: Nov 18, 2006
  2. nyjimbo

    nyjimbo Well-Known Member

    Joined:
    Jan 25, 2003
    Messages:
    1,125
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    New York
    Can't you just reload a backup of the /boot folder ?
     
  3. gotini2004

    gotini2004 Member

    Joined:
    Feb 9, 2004
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    :)

    sure, if i had one... any ideas
     
  4. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA
    are all your partitions mounted? ..could have been something weird happen to your fstab or something?
     
  5. nyjimbo

    nyjimbo Well-Known Member

    Joined:
    Jan 25, 2003
    Messages:
    1,125
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    New York
    You must reload /boot somehow. If this machine is in a datacenter maybe they can reload a boot from another local machine with the same O/S and version level, but I dont know why you would not have some kind of backup, even an old one.

    I guess you have a hell of a weekend cut out for you. Sorry. :(
     
  6. gotini2004

    gotini2004 Member

    Joined:
    Feb 9, 2004
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    server is up again

    i've installed fresh kernel, initrd (the old images were in place also the modules) and reinstalled grub,

    after several hours ive managed to boot with

    grub> root (hd0,0)
    grub> kernel /vmlinuz.... ro root=LABEL=/
    grub> boot

    fstab was intact by the way, nothing is lost but the downtime...


    grub-install was the helpfull utility in my case
     
Loading...

Share This Page