I used a gnome terminal window with two tabs. In one I listed the files in
/boot/
x...@xxx-desktop:~$ ls /boot
abi-2.6.27-7-generic memtest86+.bin
abi-2.6.31-14-generic System.map-2.6.27-7-generic
config-2.6.27-7-generic System.map-2.6.31-14-generic
config-2.6.31-14-generic vmcoreinfo-2.6.27-7-generic
grub vmcoreinfo-2.6.31-14-generic
initrd.img-2.6.27-7-generic vmlinuz-2.6.27-7-generic
initrd.img-2.6.31-14-generic vmlinuz-2.6.31-14-generic
In the other tabbed terminal copy menu.lst for safety:
x...@xxx-desktop:!$ sudo cp /boot/grub/menu.lst /boot/grub/menu.lst.safe
Then edit like this:
x...@xxx-desktop:!$ sudo nano /boot/grub/menu.lst
Page down, toward the end you will see the available choices as GRUB new
exists. Mine was:
## ## End Default Options ##
***********insert new
kernel here************
title Ubuntu 8.10, kernel 2.6.27-7-generic
uuid 4418ded9-9545-40c9-9126-cf54b69c33c0
kernel /boot/vmlinuz-2.6.27-7-generic
root=UUID=4418ded9-9545-40c9-9126-cf54b69c33c0 ro quiet splash acpi=force noacpi
initrd /boot/initrd.img-2.6.27-7-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid 4418ded9-9545-40c9-9126-cf54b69c33c0
kernel /boot/vmlinuz-2.6.27-7-generic
root=UUID=4418ded9-9545-40c9-9126-cf54b69c33c0 ro single acpi=force noacpi
initrd /boot/initrd.img-2.6.27-7-generic
title Ubuntu 8.10, memtest86+
uuid 4418ded9-9545-40c9-9126-cf54b69c33c0
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
After:
## ## End Default Options ##
title Ubuntu 9.10, kernel 2.6.31-14-generic
uuid 4418ded9-9545-40c9-9126-cf54b69c33c0
kernel /boot/vmlinuz-2.6.31-14-generic
root=UUID=4418ded9-9545-40c9-9126-cf54b69c33c0 ro quiet splash acpi=force noacpi
initrd /boot/initrd.img-2.6.31-14-generic
quiet
title Ubuntu 9.10, kernel 2.6.31-14-generic (recovery mode)
uuid 4418ded9-9545-40c9-9126-cf54b69c33c0
kernel /boot/vmlinuz-2.6.31-14-generic
root=UUID=4418ded9-9545-40c9-9126-cf54b69c33c0 ro single acpi=force noacpi
initrd /boot/initrd.img-2.6.31-14-generic
title Ubuntu 8.10, kernel 2.6.27-7-generic
uuid 4418ded9-9545-40c9-9126-cf54b69c33c0
kernel /boot/vmlinuz-2.6.27-7-generic
root=UUID=4418ded9-9545-40c9-9126-cf54b69c33c0 ro quiet splash acpi=force noacpi
initrd /boot/initrd.img-2.6.27-7-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid 4418ded9-9545-40c9-9126-cf54b69c33c0
kernel /boot/vmlinuz-2.6.27-7-generic
root=UUID=4418ded9-9545-40c9-9126-cf54b69c33c0 ro single acpi=force noacpi
initrd /boot/initrd.img-2.6.27-7-generic
title Ubuntu 8.10, memtest86+
uuid 4418ded9-9545-40c9-9126-cf54b69c33c0
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
A typo prevented this from working the first time, copy from the first
tabbed terminal listing then pasting into nano works better.
--
[MASTER] jaunty to karmic upgrade failed to update menu.lst (update-grub
missing from kernel-img.conf)
https://bugs.launchpad.net/bugs/470265
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs