On 3/23/25 4:46 AM, Patrick Dupre via users wrote:
Hello,
I have a machine with a dual fedora boot on 2 drives (with grub2)
I daily maintain one (say A on /dev/sda4), and occasionally the other one (say
B on /dev/sdc5).
The problem is when I update B, grub is not update properly, i.e., I cannot
boot on B with the new kernel.
Hence, I run
grub2-mkconfig -o /boot/grub2/grub.cfg
on both machines
But it is not enough
I tried
grub2-install /dev/sda
But I get
Installing for x86_64-efi platform.
grub2-install: error: This utility should not be used for EFI platforms because
it does not support UEFI Secure Boot. If you really wish to proceed, invoke the
--force option.
Make sure Secure Boot is disabled before proceeding.
What is the correct procedure?
dnf reinstall shim-* grub2-*
Thank
You can do this by keeping the boot and root partitions completely
separate and using the bios boot to switch between them. Otherwise you
have to use different kernels to the two installations and have the
entries in
/boot/loader/entries
apply the proper uuids
--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue