ArticleDirectory
1. Repair steps
A) mV/boot/GRUB/grub. CONF/boot/GRUB/grub. conf. Bak
B) Rm-RF/boot/GRUB/grub. conf
C) grub> splashimage = (hd0, 0)/GRUB/splash.xpm.gz
D) grub> root (hd0, 0)
Grub> setup (hd0, 0)
Grub> kernel/vmlinux-2.6.18-53.e15 Ro root = label =/rhgb quiet
Grub> initrd/initrd-2.6.18-53.e15.img
Grub> boot
E) vi/boot/GRUB/grub. conf
F) # boot =/dev/SDA
G) default = 0
H) Timeout = 5
I) splashimage = (hd0, 0)/GRUB/splash.xpm.gz
J) hiddenmenu
K) Title Red Hat Enterprise Linux Server (2.6.18-53. EL5)
L) Root (hd0, 0)
M) kernel/vmlinuz-2.6.18-53.el5 Ro root = label =/rhgb quiet
N) initrd/initrd-2.6.18-53.el5.img
O) ln-S./grub. conf menu. lst
P) chmod 777/boot/GRUB/grub. conf
Q) ll/boot/GRUB/
R) reboot
Additional:
VI/boot/GRUB/grub. conf when editing a file, it is best to copy the configuration from another computer. Do not manually enter the configuration. Sometimes the correct input will still cause errors.