As documented, grub-update will re-write everything between:
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
and
### END DEBIAN AUTOMAGIC KERNELS LIST
Any boot menu entries you want to retain should be placed outside this block, at the end of the file.
title Ubuntu Gutsy Tribe-5, kernel 2.6.22-10-generic (recovery mode)
root (hd0,4)
kernel /vmlinuz-2.6.22-10-generic root=UUID=9bab8491-9029-4c78-a6f4-cd953cd7d9b4 ro single
initrd /initrd.img-2.6.22-10-generic
# 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 Sony Windows Recovery Tool
root (hd0,0)
savedefault
makeactive
chainloader +1
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title Windows Vista Home Premium
root (hd0,1)
savedefault
makeactive
chainloader +1
As documented, grub-update will re-write everything between:
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
and
### END DEBIAN AUTOMAGIC KERNELS LIST
Any boot menu entries you want to retain should be placed outside this block, at the end of the file.
Example:
## ## End Default Options ##
title Ubuntu, kernel 2.6.20-16-generic 2.6.20- 16-generic root=UUID= f8f56c60- 4507-47ff- beaf-bb87352f31 28 ro vga=791 quiet splash img-2.6. 20-16-generic
root (hd0,4)
kernel /vmlinuz-
initrd /initrd.
quiet
savedefault
title Ubuntu, kernel 2.6.20-16-generic (recovery mode) 2.6.20- 16-generic root=UUID= f8f56c60- 4507-47ff- beaf-bb87352f31 28 ro single img-2.6. 20-16-generic
root (hd0,4)
kernel /vmlinuz-
initrd /initrd.
title Ubuntu, kernel 2.6.20- 15-generic- x32 2.6.20- 15-generic- x32 root=UUID= f8f56c60- 4507-47ff- beaf-bb87352f31 28 ro vga=791 quiet splash img-2.6. 20-15-generic- x32
root (hd0,4)
kernel /vmlinuz-
initrd /initrd.
quiet
savedefault
title Ubuntu, kernel 2.6.20- 15-generic- x32 (recovery mode) 2.6.20- 15-generic- x32 root=UUID= f8f56c60- 4507-47ff- beaf-bb87352f31 28 ro single img-2.6. 20-15-generic- x32
root (hd0,4)
kernel /vmlinuz-
initrd /initrd.
title Ubuntu, memtest86+
root (hd0,4)
kernel /memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
title Ubuntu Gutsy Tribe-5, kernel 2.6.22-10-generic 2.6.22- 10-generic root=UUID= 9bab8491- 9029-4c78- a6f4-cd953cd7d9 b4 ro quiet splash img-2.6. 22-10-generic
root (hd0,4)
kernel /vmlinuz-
initrd /initrd.
quiet
savedefault
title Ubuntu Gutsy Tribe-5, kernel 2.6.22-10-generic (recovery mode) 2.6.22- 10-generic root=UUID= 9bab8491- 9029-4c78- a6f4-cd953cd7d9 b4 ro single img-2.6. 22-10-generic
root (hd0,4)
kernel /vmlinuz-
initrd /initrd.
# 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 Sony Windows Recovery Tool
root (hd0,0)
savedefault
makeactive
chainloader +1
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title Windows Vista Home Premium
root (hd0,1)
savedefault
makeactive
chainloader +1