Personally I use the following setup (grub legacy):
title Ubuntu 10.10 Maverick Meerkat, latest kernel
uuid ab0d6ed0-ecbc-4718-be12-cbb3955c1aaf
kernel /vmlinuz ro quiet splash root=UUID=ab0d6ed0-ecbc-4718-be12-cbb3955c1aaf resume=UUID=51ac47a8-6372-4edf-a5a8-be8e5bc13cca
initrd /initrd.img
savedefault
title Ubuntu 10.10 Maverick Meerkat, latest kernel in recovery mode
uuid ab0d6ed0-ecbc-4718-be12-cbb3955c1aaf
kernel /vmlinuz ro single root=UUID=ab0d6ed0-ecbc-4718-be12-cbb3955c1aaf noresume
initrd /initrd.img
title Ubuntu 10.10 Maverick Meerkat, previous kernel
uuid ab0d6ed0-ecbc-4718-be12-cbb3955c1aaf
kernel /vmlinuz.old ro quiet splash root=UUID=ab0d6ed0-ecbc-4718-be12-cbb3955c1aaf resume=UUID=51ac47a8-6372-4edf-a5a8-be8e5bc13cca
initrd /initrd.img.old
savedefault
title Ubuntu 10.10 Maverick Meerkat, previous kernel in recovery mode
uuid ab0d6ed0-ecbc-4718-be12-cbb3955c1aaf
kernel /vmlinuz.old ro single root=UUID=ab0d6ed0-ecbc-4718-be12-cbb3955c1aaf noresume
initrd /initrd.img.old
title Memory test
uuid ab0d6ed0-ecbc-4718-be12-cbb3955c1aaf
kernel /boot/memtest86+.bin
### BEGIN AUTOMAGIC KERNELS LIST
## ## Start Default Options ##
# howmany=0
# memtest86=false
## ## End Default Options ##
### END DEBIAN AUTOMAGIC KERNELS LIST
This works because Ubuntu automatically updates /vmlinuz
, /initrd.img
symlinks to point to latest installed kernel and initramfs image (and .old
companions to point to previous ones).
This will not work with /boot
on separate partition though.
I can't understand why Ubuntu doesn't use this by default and constructs unbearably ugly and crutchful workarounds which fill bootloader screen with excessively redundant and useless lines. In my opinion, the screen should look at least like this:
Ubuntu, latest kernel
Ubuntu, latest kernel in recovery mode
Ubuntu, previous kernel
Ubuntu, previous kernel in recovery mode
Gentoo
Windows 7 (loader)
<everything you have...>
------------------------
Memory test
The four Ubuntu lines already feel redundant. Now imagine a dozen of almost-the-same lines which differ in some digits only (and all mean just "boot Ubuntu"!) — and you have to select the proper one. Nightmare!