grub-update generates a wrong grub.cfg for cryptsetup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Boot-Repair |
Invalid
|
Undecided
|
Unassigned | ||
grub |
New
|
Undecided
|
Unassigned |
Bug Description
I had some problems when running boot-repair from a xubuntu live cd (xubuntu 12.04 desktop live cd and xubuntu 12.04 with luks / on hdd).
I think it has more to do with grub-update running from chrooted livecd (and default cryptsetup mappings on the live cd) than boot-repair itself, for my cryptsetup root partition it generated something like:
linux /vmlinuz-
initrd /initrd.
instead of
Code:
linux /vmlinuz-
initrd /initrd.
initramfs maps the cryptsetup partitions as sdXY_crypt, not as uuid disks. After I figured it out the fix was trivial, I don't know if you can automate it reliably in any way.
Thanks for making this tool!
thanks Leszek.
Agreed, grub-update should generate the correct grub.cfg , so this bug affects mainly the grub2 package.