Bug 1678781
| Summary: | AArch64 disk images default to 'System Setup' | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Paul Whalen <pwhalen> | ||||||
| Component: | grub2 | Assignee: | Peter Jones <pjones> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | rawhide | CC: | fmartine, lkundrak, pbrobinson, pjones | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | aarch64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2019-02-25 16:03:10 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Paul Whalen
2019-02-19 15:06:27 UTC
Hello Paul, Could you please share the content of the /etc/grub2-efi.cfg and /boot/grub2/grubenv files, and also the BLS snippets in /boot/loader/entries? Created attachment 1536412 [details]
grub2-efi.cfg
Created attachment 1536413 [details]
grubenv
No snippets in /boot/loader/entries Thanks a lot for the info, the problem is that your grub2-efi.cfg has the following snippet:
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="1"
fi
While this usually is:
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="${saved_entry}"
fi
Since default is set to 1, and you only have the Fedora (5.0.0-0.rc6.git1.1.fc30.aarch64) 30 (Rawhide) boot entry, the default is set to to the one with index 1 (System setup).
The grubby tool changes the default in the GRUB config file if you do grubby --set-default, so maybe you did this?
You could either re-generate your grub2-efi.cfg again with grub2-mkconfig -o /etc/grub2-efi.cfg or set your default to 0 with grubby --set-default=/boot/vmlinuz-5.0.0-0.rc6.git1.1.fc30.aarch64.
Fixed in Fedora-30-20190224.n.0, thanks (again) Javier! |