[root@cacti ~]# vim /boot/grub/grub.conf
title CentOS (2.6.18-194.el5)
root (hd0,0)
# kernel /vmlinuz-2.6.18-194.el5 ro root=LABEL=/
kernel /vmlinuz-2.6.18-194.el5 ro root
initrd /initrd-2.6.18-194.el5.img
開機後會顯示出:kernel panic - not syncing:Attempted to kill init!
於開機選單輸入:a
grub append> ro root=LABEL=/
進入系統後,再修改grub.conf
沒有留言:
張貼留言