grub menu.list配置
2008年11月06日 23:09
# 默认选项为0
# 由于sda6分区为boot所在分区 root命令定位 kernel initrd这两个命令所使用文件的位置
default 0
#等待时间30秒
timeout 30
#选项颜色
color cyan/blue white/blue
#Vista 选项
title Windows Vista/Longhorn (loader)
#Vista所在分区
root (hd0,0)
savedefault
makeactive
#从第一个扇区启动
chainloader +1
#Fedora 选项
title Fedora (2.6.25-14.fc9.i686) (on /dev/sda2)
#boot分区位置
root (hd0,5)
#根目录的Label为UUID=85648c8b-3762-462b-b955-ac3510693ae8
#可以通过/etc/fstab文件查看
kernel /fedora/vmlinuz-2.6.25-14.fc9.i686 ro root=UUID=85648c8b-3762-462b-b955-ac3510693ae8 rhgb quiet
initrd /fedora/initrd-2.6.25-14.fc9.i686.img
savedefault
boot
#Ubuntu选项
title Ubuntu 8.04.1, kernel 2.6.24-19-generic
#boot分区位置
root (hd0,5)
kernel /ubuntu/vmlinuz-2.6.24-19-generic root=UUID=f3f3338b-4dcd-4d0e-b6cd-122081a352ec ro quiet splash
initrd /ubuntu/initrd.img-2.6.24-19-generic
quiet
title Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root (hd0,5)
kernel /ubuntu/vmlinuz-2.6.24-19-generic root=UUID=f3f3338b-4dcd-4d0e-b6cd-122081a352ec ro single
initrd /ubuntu/initrd.img-2.6.24-19-generic
title Ubuntu 8.04.1, memtest86+
root (hd0,5)
kernel /ubuntu/memtest86+.bin
quiet
# 由于sda6分区为boot所在分区 root命令定位 kernel initrd这两个命令所使用文件的位置
default 0
#等待时间30秒
timeout 30
#选项颜色
color cyan/blue white/blue
#Vista 选项
title Windows Vista/Longhorn (loader)
#Vista所在分区
root (hd0,0)
savedefault
makeactive
#从第一个扇区启动
chainloader +1
#Fedora 选项
title Fedora (2.6.25-14.fc9.i686) (on /dev/sda2)
#boot分区位置
root (hd0,5)
#根目录的Label为UUID=85648c8b-3762-462b-b955-ac3510693ae8
#可以通过/etc/fstab文件查看
kernel /fedora/vmlinuz-2.6.25-14.fc9.i686 ro root=UUID=85648c8b-3762-462b-b955-ac3510693ae8 rhgb quiet
initrd /fedora/initrd-2.6.25-14.fc9.i686.img
savedefault
boot
#Ubuntu选项
title Ubuntu 8.04.1, kernel 2.6.24-19-generic
#boot分区位置
root (hd0,5)
kernel /ubuntu/vmlinuz-2.6.24-19-generic root=UUID=f3f3338b-4dcd-4d0e-b6cd-122081a352ec ro quiet splash
initrd /ubuntu/initrd.img-2.6.24-19-generic
quiet
title Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root (hd0,5)
kernel /ubuntu/vmlinuz-2.6.24-19-generic root=UUID=f3f3338b-4dcd-4d0e-b6cd-122081a352ec ro single
initrd /ubuntu/initrd.img-2.6.24-19-generic
title Ubuntu 8.04.1, memtest86+
root (hd0,5)
kernel /ubuntu/memtest86+.bin
quiet