isak
September 21, 2020, 1:45pm
26
otherbarry:
You can always just grub chainload OpenSuse from EndeavourOS.
Modify /etc/grub.d/40_custom
and add custom entry for OpenSuse.
menuentry "OpenSuse" {
set root="hdX,gptY"
chainloader /EFI/OpenSuse/grubx64.efi
}
Root is the OpenSuse efi partition.
hdX is the disk number (zero based), /dev/sda
would be hd0 … and so on.
gptY is the partition ID, /dev/sda1
would be gpt1 … and so on.
Use chainloader with path to OpenSuse grubx64.efi within efi partition. Check the actual path, above is just an example.
This will create a separate grub entry which will launch OpenSuse grub.
Much simpler, especially for encrypted systems or setups where os-prober is inconsistent or just useless.
I created the menuentry in /etc/grub.d/40_custom.
menuentry "openSUSE" {
set root="hd2,gpt1"
chainloader /boot/efi/EFI/opensuse/grubx64.efi
}
But when trying to boot it grub claims that it can not find the path. This is the correct path:
isak@motherbrain /e/grub.d> sudo ls -al /boot/efi/EFI/opensuse/grubx64.efi
-rwx------ 1 root root 315392 14 sep 18.48 /boot/efi/EFI/opensuse/grubx64.efi
But looking in efibootmgr -v the path is /EFI/opensuse/grubx64.efi I find this odd. My EFI partitions is mounted at /boot/efi.
What am I doing wrong here?