I'm afraid that this isn't a bug that will be fixed.  Wanting to be able
to use update-grub to restore kernel entries that have been manually
removed is directly at odds with the goal of having update-grub respect
local changes to the menu.lst file without unduly pestering the user.

There are several methods that you can use to force regeneration of your 
menu.lst:
- run ucfr --purge grub /var/run/grub/menu.lst, then run update-grub
- remove the menu.lst file entirely and run update-grub
- temporarily edit the kopt line in menu.lst to add a new option, run 
update-grub, restore the original kopt value and run update-grub again

The first of these is probably the simplest and therefore the most
reliable.

** Changed in: grub (Ubuntu)
       Status: New => Won't Fix

-- 
update-grub fails to re-add missing kernel lines
https://bugs.launchpad.net/bugs/229656
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to