fdisk /mbr |
5、重启系统,我们将发现ubuntu默认安装的grub启动界面已经没有了,初始界面将变成我们自行增加的grub菜单了
附:
以下是我的menu.lst文件参考(本人安装的是矮人DOS):
# This is a sample menu.lst file. You should make some changes to it.
# The old install method of booting via the stage-files has been removed.
# Please install GRLDR boot strap code to MBR with the bootlace.com
# utility under DOS/Win9x or Linux.
color black/cyan yellow/cyan
default /default
password hahaha
# 设置GRUB菜单等待时间,超时则默认启动第一项
timeout 2########
password ardos555
# 默认引导XP系统
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
chainloader +1
# 引导wubi安装的I盘的Ubuntu 8.04
title Ubuntu 8.04
root (hd0,9)
configfile /ubuntu/disks/boot/grub/menu.lst
# 引导wubi安装的H盘的Kubuntu 9.04
title Kubuntu 9.04
root (hd0,8)
configfile /kubuntu/disks/boot/grub/menu.lst
# 引导矮人DOS工具箱
title DOS
kernel /ados/argj/memdisk.gz c=118 h=2 s=36 floppy
initrd /ados/argj/ar5.img
# 引导Windows 7系统
title Win7
root (hd0,0)
chainloader /bootmgr
savedefault
评论