弱弱的问一下:可不可以把grub 中的其他项干掉,只留Ubuntu和XP?!
发表于 : 2008-11-26 14:48
可不可以把grub 中的其他项干掉,只留Ubuntu和XP?!
title Ubuntu, kernel 2.6.20-16-generic
root (hd0,7)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=06778dfc-4208-47b4-8ac0-7939f6b7ae9a ro quiet splash
initrd /boot/initrd.img-2.6.20-16-generic
quiet
title Ubuntu, kernel 2.6.20-16-generic (recovery mode)
root (hd0,7)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=06778dfc-4208-47b4-8ac0-7939f6b7ae9a ro single
initrd /boot/initrd.img-2.6.20-16-generic
title Ubuntu, kernel 2.6.20-15-generic
root (hd0,7)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=06778dfc-4208-47b4-8ac0-7939f6b7ae9a ro quiet splash
initrd /boot/initrd.img-2.6.20-15-generic
quiet
title Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root (hd0,7)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=06778dfc-4208-47b4-8ac0-7939f6b7ae9a ro single
initrd /boot/initrd.img-2.6.20-15-generic
title Ubuntu, memtest86+
root (hd0,7)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
title Ubuntu, kernel 2.6.20-16-generic
root (hd0,7)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=06778dfc-4208-47b4-8ac0-7939f6b7ae9a ro quiet splash
initrd /boot/initrd.img-2.6.20-16-generic
quiet
title Ubuntu, kernel 2.6.20-16-generic (recovery mode)
root (hd0,7)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=06778dfc-4208-47b4-8ac0-7939f6b7ae9a ro single
initrd /boot/initrd.img-2.6.20-16-generic
title Ubuntu, kernel 2.6.20-15-generic
root (hd0,7)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=06778dfc-4208-47b4-8ac0-7939f6b7ae9a ro quiet splash
initrd /boot/initrd.img-2.6.20-15-generic
quiet
title Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root (hd0,7)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=06778dfc-4208-47b4-8ac0-7939f6b7ae9a ro single
initrd /boot/initrd.img-2.6.20-15-generic
title Ubuntu, memtest86+
root (hd0,7)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1