grub and kernel are MISSING !!!

gotini2004

Member
Feb 9, 2004
11
0
151
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:
 
Last edited:

nyjimbo

Well-Known Member
Jan 25, 2003
1,136
1
168
New York
Can't you just reload a backup of the /boot folder ?
 

rpmws

Well-Known Member
Aug 14, 2001
1,822
9
318
back woods of NC, USA
are all your partitions mounted? ..could have been something weird happen to your fstab or something?
 

nyjimbo

Well-Known Member
Jan 25, 2003
1,136
1
168
New York
sure, if i had one... any ideas
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. :(
 

gotini2004

Member
Feb 9, 2004
11
0
151
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