Bug ID | 1159205 |
---|---|
Summary | KIWI: Wrong GRUB default entry when booting snapshot |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Basesystem |
Assignee | bnc-team-screening@forge.provo.novell.com |
Reporter | iforster@suse.com |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
With our KIWI images, when selecting an older snapshot in the GRUB menu ("Start bootloader from a read-only snapshot" -> any entry), then the first entry "Help on bootable snapshot #<num>" will be selected instead of the actual bootable entry. For regular users this will just be an inconvenience compared to systems installed with YaST, but on automated systems, e.g. when using health-checker to automatically select an older snapshot if the default kernel or initrd did not boot correctly, this will break the boot completely - the system will be stuck in the help text. On systems installed with YaST, https://github.com/yast/yast-bootloader/blob/53bed387ab933f635fa3c557716131643aa209a5/src/lib/bootloader/sections.rb#L48 will set the default entry by using the entry's name (e.g. "openSUSE MicroOS" or "openSUSE Leap 15.1"). KIWI would need a similar mechanism to get this working.