[Bug 1122569] New: No bootmenu entries in JeOS image for Raspberry Pi 3 / grub2-once fails
http://bugzilla.opensuse.org/show_bug.cgi?id=1122569 Bug ID: 1122569 Summary: No bootmenu entries in JeOS image for Raspberry Pi 3 / grub2-once fails Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.0 Hardware: aarch64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Bootloader Assignee: jsrain@suse.com Reporter: moritzrakow@web.de QA Contact: jsrain@suse.com Found By: --- Blocker: --- On a fresh image of Leap JeOS for Raspberry Pi, the `grub2-once` tool fails with following output: ``` localhost:~ # grub2-once --list no grub2_dir at /usr/sbin/grub2-once line 225. ``` The same bug occurs after applying patches. This makes rebooting to a non-default option difficult, because for that the number of the menu entry is important. ## Set-up: - Raspberry Pi 3 B+ with 32GB SD card - [oS Leap 15.0 JeOS image for Raspberry Pi 3][1] flashed on the SD card, as suggested by our [Raspberry Pi 3 wiki page][2] - For SSH access, ethernet cable connected to laptop (DHCP server started on laptop with `nm-connection-editor` and GNOME's network settings) ## Steps to reproduce: - ssh in - type `grub2-once --list` ## Possibly related behaviour: After installing the YaST bootloader module, no entries (empty field) are displayed in YaST -> System -> Boot Loader -> Bootloader Options -> Default Boot Section. After running `zypper patch`, which included a new kernel, the bootmenu entries including entries for the new kernel showed up in YaST, but `grub2-once --list` still failed. Unfortunately, I do not have a spare display and keyboard available to see the boot menu "in action". ## How I found this I am trying to install a Leap Transactional Server on the Pi and wasn't sure how to write a KIWI file for a prebuilt image. Hence, I installed the minimal OS and consulted the [wiki page on remote installation][3]. --- [1]: http://download.opensuse.org/ports/aarch64/distribution/leap/15.0/appliances... [2]: https://en.opensuse.org/HCL:Raspberry_Pi3 [3]: https://en.opensuse.org/SDB:Remote_installation -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1122569
Jiri Srain
http://bugzilla.opensuse.org/show_bug.cgi?id=1122569
http://bugzilla.opensuse.org/show_bug.cgi?id=1122569#c1
Michael Chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1122569
http://bugzilla.opensuse.org/show_bug.cgi?id=1122569#c2
Moritz Rakow
http://bugzilla.opensuse.org/show_bug.cgi?id=1122569
http://bugzilla.opensuse.org/show_bug.cgi?id=1122569#c3
--- Comment #3 from Michael Chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1122569
http://bugzilla.opensuse.org/show_bug.cgi?id=1122569#c4
--- Comment #4 from Moritz Rakow
The problem is a crap regexp matching in grub2-once. Would you please test, change this line in file /etc/sysconfig/bootloader LOADER_TYPE=grub2 to LOADER_TYPE="grub2"
This worked. `grub2-once --list` now displays the expected output. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1122569
http://bugzilla.opensuse.org/show_bug.cgi?id=1122569#c5
--- Comment #5 from Michael Chang
if (/LOADER_TYPE="(.*)"/) {
Thanks. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1122569
http://bugzilla.opensuse.org/show_bug.cgi?id=1122569#c6
Michael Chang
participants (1)
-
bugzilla_noreply@novell.com