Bug 1678445
| Summary: | grub2-mkconfig does not write usefull information into /boot/grub2/grub.cfg | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Thomas Schweikle <tschweikle> |
| Component: | grub2 | Assignee: | Peter Jones <pjones> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | fmartine, lkundrak, oyvinds, pjones, prd-fedora, shlomif, yann |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-03-11 10:55:15 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: | |||
|
Description
Thomas Schweikle
2019-02-18 19:07:12 UTC
The boot entries not present in the GRUB config file is expected since Fedora now uses BLS files in /boot/loader/entries instead. GRUB not showing the entries is not expected of course. Is this an EFI or legacy BIOS install? Could you please run the blscfg command from the GRUB prompt and check if the menu is populated? If it's not, can you set debug=blscfg, run the blscfg command again and share the output? Also, can you share the content of your /boot/grub2/grubenv file and /boot/loader/entries directory? You can also try to load the old config file from the GRUB prompt, i.e: configfile /grub2/grub.cfg.rpmsave In bug #1661955, comment #13, I've described the same issue. (In reply to Yann Droneaud from comment #2) > In bug #1661955, comment #13, I've described the same issue. Which happen when upgrading from F29 to F30. (In reply to Javier Martinez Canillas from comment #1) > The boot entries not present in the GRUB config file is expected since > Fedora now uses BLS files in /boot/loader/entries instead. GRUB not showing > the entries is not expected of course. > > Is this an EFI or legacy BIOS install? > > Could you please run the blscfg command from the GRUB prompt and check if > the menu is populated? The command was not available. Which mean my installed grub is not up to date. After running "grub2-install /dev/sda", grub now shows all entry. There's also a way to workaround the issue without having to update installed boot loader: - remove GRUB_ENABLE_BLSCFG=true from /etc/default/grub - run grub2-mkconfig -o /boot/grub2/grub.cfg See also #1599445 (In reply to Yann Droneaud from comment #6) > See also bug #1599445 And https://fedoraproject.org/wiki/Changes/BootLoaderSpecByDefault#Upgrade.2Fcompatibility_impact *** Bug 1687191 has been marked as a duplicate of this bug. *** *** Bug 1686470 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 1652806 *** |