You are not logged in.

#1 2024-01-31 22:10:13

mavaki
Member
Registered: 2023-06-21
Posts: 8

[SOLVED] Arch/Fedora Dual Boot

Hi,

I currently have Arch, Windows, and Fedora on a separate SSDs, and I've been configuring my GRUB menu from Arch so that I can boot into Windows and Fedora from it. Windows wasn't a problem, but I can't seem to add Fedora. I ran lsblk and mounted the Fedora partition, but when I run os-prober only Windows is detected. (I tried mounting each partitions on the Fedora SSD but none seem to detected by os-prober.) Am I missing something? Thanks for the help.

Last edited by mavaki (2024-02-01 06:35:40)

Offline

#2 2024-01-31 22:48:19

Fixxer
Member
From: Poland
Registered: 2011-08-29
Posts: 232

Re: [SOLVED] Arch/Fedora Dual Boot

Look here:
https://wiki.archlinux.org/title/GRUB#GNU/Linux

Maybe it will be easier to add to Arch Grub static menu entry which points to Fedora grub.cfg file. You can do the same with Windows loader. Then make sure that GRUB_DISABLE_OS_PROBER=true is set, to avoid, just in case some redundant menu entries, etc.

Arch Grub menu should be more transparent and orderly.

Offline

#3 2024-02-01 06:35:21

mavaki
Member
Registered: 2023-06-21
Posts: 8

Re: [SOLVED] Arch/Fedora Dual Boot

I made some decent progress with that, but I'm having some other issues with Fedora so I'm going to go with something similar to Fedora instead. Thanks for the help!

Offline

#4 2024-02-01 07:42:01

d.ALT
Member
Registered: 2019-05-10
Posts: 959

Re: [SOLVED] Arch/Fedora Dual Boot

mavaki wrote:

I'm having some other issues with Fedora

Fedora does NOT manage its GRUB files/configurations in a standard way: I couldn't get it to work either via os-prober; in the end I had to manually add Fedora's entry into /etc/grub.d/40_custom of ArchLinux's GRUB.


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#5 2024-02-01 17:42:08

mavaki
Member
Registered: 2023-06-21
Posts: 8

Re: [SOLVED] Arch/Fedora Dual Boot

d.ALT wrote:
mavaki wrote:

I'm having some other issues with Fedora

Fedora does NOT manage its GRUB files/configurations in a standard way: I couldn't get it to work either via os-prober; in the end I had to manually add Fedora's entry into /etc/grub.d/40_custom of ArchLinux's GRUB.

Any chance you could share what your entry looks like? I was able to fix my Fedora issues, so the GRUB entry would be helpful. I'm curious if you're using initrd at all... but I can't seem to find good resources on how to actually make a custom GRUB file besides the examples on the Arch page. Thanks!

Offline

#6 2024-02-01 17:50:49

Fixxer
Member
From: Poland
Registered: 2011-08-29
Posts: 232

Re: [SOLVED] Arch/Fedora Dual Boot

Here you have my original former menuentry for running Fedora loader (not alternate grub.cfg) from Arch Linux Grub:

menuentry "Fedora 33" {
  insmod fat
  set root=(hd0,gpt1)
  chainloader (${root})/EFI/fedora/shimx64.efi
  boot
}

Your target is EFI partition contains Fedora *.efi loader.

Remember that after creating / editing files in /etc/grub.d directory you have to update Grub2 configuration by:

#   grub-mkconfig -o /boot/grub/grub.cfg

Good luck! big_smile

Last edited by Fixxer (2024-02-01 18:04:12)

Offline

#7 2024-02-01 19:05:37

mavaki
Member
Registered: 2023-06-21
Posts: 8

Re: [SOLVED] Arch/Fedora Dual Boot

That worked for me! The path to the shmix64.efi was the same, but I had to change hd0 to hd3. I'm guessing that's because my ssd is in the third slot on my motherboard. Thanks so much!! wink

Offline

Board footer

Powered by FluxBB