制作救护启动系统, 呵呵, 这是一篇简单的文章,希望对初学者有用, 好了,费话就不说了,我们开始吧
如果你忘了密码,这将很有用
你的系统启动时也许会只有几个很实用但很宠大的系统,现在让我们来制作一个简单的吧,呵呵,简单万岁
$cat /boot/grub/menu.list
default 0
timeout 5
color cyan/blue white/blue
gfxmenu=(hd0,0)/boot/grub/boot.message
title RAYS LX 2.6.17
root (hd0,0)
kernel /boot/vmlinuz-2.6.17-2-686 root=/dev/hda1 ro vga=785 splash=silent
initrd /boot/initrd.img-2.6.17-2-686
boot
编辑文件,使其如下
default 0
timeout 5
color cyan/blue white/blue
gfxmenu=(hd0,0)/boot/grub/boot.message
title RAYS LX 2.6.17
root (hd0,0)
kernel /boot/vmlinuz-2.6.17-2-686 root=/dev/hda1 ro vga=785 splash=silent
initrd /boot/initrd.img-2.6.17-2-686
boot
title RAYS LX 2.6.17 single
kernel /boot/vmlinuz-2.6.17-2-686 root=/dev/hda1 init=/bin/sh rw vga=785 splash=silent
initrd /boot/vmlinuz-2.6.17-2-686
boot