Public bug reported:

grub-mkconfig and subsequently, update-grub simply stop to run after
adding the memtest entry if there are LUKS partitions on the system,
thus making any update including kernel and grub updates stop - no
matter if done via Synaptics or apt-get:

Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.31-10-generic
Found initrd image: /boot/initrd.img-2.6.31-10-generic
Found linux image: /boot/vmlinuz-2.6.31-9-generic
Found initrd image: /boot/initrd.img-2.6.31-9-generic
Found memtest86+ image: /boot/memtest86+.bin
--> stop

On manual grub-mkconfig or update-grub, hitting Enter multiple times
will finish the update:

$ sudo update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.31-10-generic
Found initrd image: /boot/initrd.img-2.6.31-10-generic
Found linux image: /boot/vmlinuz-2.6.31-9-generic
Found initrd image: /boot/initrd.img-2.6.31-9-generic
Found memtest86+ image: /boot/memtest86+.bin
Found   on Password
    is not yet supported by grub-mkconfig.
Found   on Password
    is not yet supported by grub-mkconfig.
done

This is no option when running Synaptics or apt-get, though, as Enter doesn't 
penetrate the package install script layer - the only option is to cancel the 
package install script with CTRL-C.
However, that causes the grub package to be marked as partially installed, and 
subsequently, any update/install will trigger the package install scripts of 
the grub package, leading to te aformentioned problems... meaning that updates 
always require manual intervention.

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: grub grub-mkconfig update-grub

-- 
grub-mkconfig stops on encrypted partitions
https://bugs.launchpad.net/bugs/428785
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

Reply via email to