找到/boot/grub下的文件menu.lst
用vi打开这个文件,将其一些参数进行修改。
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,6)
# kernel /boot/vmlinuz-version ro root=/dev/sda7
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=0 #缺省启动的操作系统
timeout=3 #默认等待的时间
gfxmenu (hd0,6)/boot/message
title Rainy (2.6.23.1-4) #第一个操作系统显示的消息
root (hd0,6)
kernel /boot/vmlinuz-2.6.23.1-4 ro root=LABEL=/ vga=788 splash=silent resume=/dev/sda8
initrd /boot/initrd-2.6.23.1-4.img
title MyOS--with Windows XP #第二个操作系统显示的消息
rootnoverify (hd0,0)
chainloader +1
阅读(556) | 评论(0) | 转发(0) |