On 7/12/25 3:25 PM, George N. White III wrote:
On Sat, Jul 12, 2025 at 6:08 PM Samuel Sieb <sam...@sieb.net
<mailto:sam...@sieb.net>> wrote:
On 7/12/25 1:57 PM, Patrick Dupre via users wrote:
>> Booting multiple Fedora installs from the same grub can be
tricky. I
>> think the easiest way is for one of the grub configs to have an
entry to
>> chain to the other config.
>>
> Yes, How I could chain 2 /boot ?
I think you just add an entry to the primary grub cfg that runs
"configfile path_to_other_grub_cfg". You'll have to figure out what
the
path is, probably starting with "(hd1)".
Looks like you can put the menu entry in /boot/grub2/custom.cfg.
I have used:
#!/usr/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply
type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Boot from <name> Drive" {
set root=UUID=<UUID>
linux /vmlinuz root=/<UUID> ro
initrd /initrd.img
}
I think you can put the menuentry in the file I mentioned and it will
get loaded at runtime. The way you're doing it requires you to
re-generate the grub config if you make any changes.
--
_______________________________________________
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