Bug 1470771
Summary: | grub2-mkconfig creates duplicates of boot entries | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Lesovoy Anton <diamondfinder7> | ||||
Component: | grub2 | Assignee: | Peter Jones <pjones> | ||||
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 26 | CC: | alan, lkundrak, pjones | ||||
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: | 2018-05-29 12:16:45 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: |
|
This message is a reminder that Fedora 25 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 25. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '25'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 25 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. This message is a reminder that Fedora 26 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 26. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '26'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 26 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 26 changed to end-of-life (EOL) status on 2018-05-29. Fedora 26 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |
Created attachment 1297740 [details] Photo of GRUB with duplicate items Description of problem: grub2-mkconfig generates config file with all entries listed twice. Version-Release number of selected component (if applicable): 2.02-0.38.fc25 How reproducible: I generated two grub configs: first for BIOS and other for UEFI. Because i didn't know which interface my computer is using after motherboard replacement/ Turns out it's legacy UEFI, which is equal to BIOS. Then i uninstalled the grub2-efi module and removed UEFI config file. Steps to Reproduce: 1. Generate config for BIOS: grub2-mkconfig -o /boot/grub2/grub.cfg 2. Generate config for UEFI: grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg 3. Uninstall grub2-efi sudo dnf uninstall grub2-efi 4. Remove UEFI config file sudo rm /boot/efi/EFI/fedora/grub.cfg Actual results: sudo grub2-mkconfig -o /boot/grub2/grub.cfg Found linux image: /boot/vmlinuz-4.11.8-200.fc25.x86_64 Found initrd image: /boot/initramfs-4.11.8-200.fc25.x86_64.img Found linux image: /boot/vmlinuz-4.11.6-201.fc25.x86_64 Found initrd image: /boot/initramfs-4.11.6-201.fc25.x86_64.img Found linux image: /boot/vmlinuz-4.11.5-200.fc25.x86_64 Found initrd image: /boot/initramfs-4.11.5-200.fc25.x86_64.img Found linux image: /boot/vmlinuz-0-rescue-2570e11340c7484fb7cf2928ad1f35d2 Found initrd image: /boot/initramfs-0-rescue-2570e11340c7484fb7cf2928ad1f35d2.img Found linux image: /boot/vmlinuz-4.11.8-200.fc25.x86_64 Found initrd image: /boot/initramfs-4.11.8-200.fc25.x86_64.img Found linux image: /boot/vmlinuz-4.11.6-201.fc25.x86_64 Found initrd image: /boot/initramfs-4.11.6-201.fc25.x86_64.img Found linux image: /boot/vmlinuz-4.11.5-200.fc25.x86_64 Found initrd image: /boot/initramfs-4.11.5-200.fc25.x86_64.img Found linux image: /boot/vmlinuz-0-rescue-2570e11340c7484fb7cf2928ad1f35d2 Found initrd image: /boot/initramfs-0-rescue-2570e11340c7484fb7cf2928ad1f35d2.img done Expected results: sudo grub2-mkconfig -o /boot/grub2/grub.cfg Found linux image: /boot/vmlinuz-4.11.8-200.fc25.x86_64 Found initrd image: /boot/initramfs-4.11.8-200.fc25.x86_64.img Found linux image: /boot/vmlinuz-4.11.6-201.fc25.x86_64 Found initrd image: /boot/initramfs-4.11.6-201.fc25.x86_64.img Found linux image: /boot/vmlinuz-4.11.5-200.fc25.x86_64 Found initrd image: /boot/initramfs-4.11.5-200.fc25.x86_64.img Found linux image: /boot/vmlinuz-0-rescue-2570e11340c7484fb7cf2928ad1f35d2 Found initrd image: /boot/initramfs-0-rescue-2570e11340c7484fb7cf2928ad1f35d2.img done Additional info: None