Mint fails to boot with a kernel panic when using LVM on EFI systems
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux Mint |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
On Mint 17, install the system in UEFI mode, with a single root volume in LVM.
I believe you'll find that boot always fails with a kernel panic. At least, it did for me.
After experimentation I discovered that boot-repair could fix the problem, but any run of update-grub afterwards would break booting and restore the same kernel panic.
Comparison of the working and broken states led to the discovery that update-grub was omitting the initrd line in grub.cfg for the current preferred boot option. It was still present within "Previous versions" of linux. Restoring it fixes the problem.
Further investigation led me to /etc/grub.
Upstream Ubuntu does not appear to have this problem as of 14.04.
Fixes could include creation of a symlink or copy of the initrd to match the "*.efi.signed" naming of the "vmlinuz*
I fixed this problem the latter way, temporarily, by patching 10_linux to specifically recognize the initrd for the current kernel version despite the presence of "*.efi.signed" naming in the filename; that patch is attached.
Note that in Mint 17, it seems that /etc/grub.
My guess is that the optimal solution is probably to move closer to upstream Ubuntu's current grub configuration system, which seems to have solved this problem, but in some different or more elaborate way than I did, rather than adopting my patch and further diverging Mint from upstream? But I'm new here and just guessing at what the community would consider most appropriate or desirable. Happy to help in whatever way, to get this fixed!
Selecting "Previous Linux Version" in GRUB menu and the second "Linux Mint 17... recover" did the trick for me.
Hope it will be fixed.