自己的 menu.lst

自己的引导项,一共 4 项,分别是
1,Ubuntu, kernel 2.6.20-16-generic(默认启动)
2,Ubuntu, kernel 2.6.20-16-generic-vga792( CUI 分辨率是1024*768,16M色)
3,Ubuntu, kernel 2.6.20-16-generic (recovery mode)
4,Microsoft Windows XP Professional
5,Easy Ghost (自己做的 Ghost 启动软盘镜像)

下面是代码:
sudo vi /boot/grub/menu.lst

default        0

timeout        10

splashimage (hd0,9)/boot/grub/bj2008.xpm.gz

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

title        Ubuntu, kernel 2.6.20-16-generic
root        (hd0,9)
kernel        /boot/vmlinuz-2.6.20-16-generic root=UUID=d8b5b516-1e7f-4bc3-90f3-02c9f8203dee ro quiet splash
initrd        /boot/initrd.img-2.6.20-16-generic
quiet
savedefault

title        Ubuntu, kernel 2.6.20-16-generic-vga792
root        (hd0,9)
kernel        /boot/vmlinuz-2.6.20-16-generic root=UUID=d8b5b516-1e7f-4bc3-90f3-02c9f8203dee ro quiet splash vga=792
initrd        /boot/initrd.img-2.6.20-16-generic
quiet

title        Ubuntu, kernel 2.6.20-16-generic (recovery mode)
root        (hd0,9)
kernel        /boot/vmlinuz-2.6.20-16-generic root=UUID=d8b5b516-1e7f-4bc3-90f3-02c9f8203dee ro single
initrd        /boot/initrd.img-2.6.20-16-generic

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hdb1
 title        Microsoft Windows XP Professional
 root        (hd0,0)
makeactive
chainloader    +1

title            Easy Ghost
map        (hd0,0)/Ghost83.ima (fd0)
chainloader    (hd0,0)/Ghost83.ima

发表评论

电子邮件地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据