As of grub package version 0.97-29ubuntu10 the update-grub script does not write any of the detected kernels to the menu.lst file.
Steps to reproduce:
- Back up your menu.lst file.
- Remove your menu.lst file.
- Run sudo update-grub.
- Note the following output (or something simliar):
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ...
Could not find /boot/grub/menu.lst file. Would you like /boot/grub/menu.lst generated for you? (y/N) y
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.24-5-generic
Found kernel: /boot/vmlinuz-2.6.24-4-generic
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done
- Review the newly generated menu.lst file.
- Note that there are no elements in the "AUTOMAGIC KERNEL LIST".
( - Replace the new menu.lst with your backup copy, or you won't be able to boot next time! )
This is a very critical bug because it effectively disables the installation of new kernels through a regular upgrade process!
I am using Hardy 2.6.24-5-generic (because I updated the menu.lst entry manually in order to boot into -5).
I have no idea what kind of information you would need on a report like this, so I am attaching the currently working menu.lst and the one generated by update-grub.
Let me know if you need anything else.
Binary package hint: grub
As of grub package version 0.97-29ubuntu10 the update-grub script does not write any of the detected kernels to the menu.lst file.
Steps to reproduce:
- Back up your menu.lst file.
- Remove your menu.lst file.
- Run sudo update-grub.
- Note the following output (or something simliar):
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ...
Could not find /boot/grub/menu.lst file. Would you like /boot/grub/menu.lst generated for you? (y/N) y 2.6.24- 5-generic 2.6.24- 4-generic +.bin
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/memtest86
Updating /boot/grub/menu.lst ... done
- Review the newly generated menu.lst file.
- Note that there are no elements in the "AUTOMAGIC KERNEL LIST".
( - Replace the new menu.lst with your backup copy, or you won't be able to boot next time! )
This is a very critical bug because it effectively disables the installation of new kernels through a regular upgrade process!
I am using Hardy 2.6.24-5-generic (because I updated the menu.lst entry manually in order to boot into -5).
I have no idea what kind of information you would need on a report like this, so I am attaching the currently working menu.lst and the one generated by update-grub.
Let me know if you need anything else.