You are not logged in.

#1 2016-11-19 06:41:53

codedmart
Member
Registered: 2016-11-07
Posts: 25

Systemd efi chainload?

I am using systemd boot. I also use apple_set_os to activate my intel card on my MacBook Pro. So currently I have 2 entries. One for apple_set_os and the other for my arch install. As it stands when I boot I have to select apple_set_os then select arch. Is it possible to just load apple_set_os before arch so I only need to select one or use default to just let it boot?

Last edited by codedmart (2016-11-19 07:11:05)

Offline

#2 2016-11-21 12:20:14

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: Systemd efi chainload?

Refind can set two initrds which will then be loaded and executed after another. If apple_set_os is an initrd that would work.

... initrd=/boot/intel-ucode.img initrd=/boot/initramfs-linux.img 

Grub2 is scriptable so that might work as well.

Offline

#3 2016-11-21 13:17:19

codedmart
Member
Registered: 2016-11-07
Posts: 25

Re: Systemd efi chainload?

@teateawhy apple_set_os is a .efi.

Offline

#4 2017-11-03 14:25:13

plech.d
Member
Registered: 2017-09-27
Posts: 5

Re: Systemd efi chainload?

codedmart wrote:

@teateawhy apple_set_os is a .efi.

Hi, did you figure out a way to chainload the .efi using systemd-boot?

And if not, can you tell me what your .conf file looks like for the boot menu entry that you use to load the .efi before booting Arch?

Offline

#5 2017-12-30 21:26:01

cysp74
Member
Registered: 2015-10-15
Posts: 1

Re: Systemd efi chainload?

Use something similar like this:

efibootmgr -b FFF0 --disk /dev/sda --part 1 --create --gpt --label "apple_set_os" --loader /EFI/custom/apple_set_os.efi
efibootmgr -o FFF0,FFF1

Where FFF1 is your systemd-boot entry in your efi, you could get the right num with efibootmgr cmd. Of course, you have to copy apple_set_os.efi into "/boot/EFI/custom/apple_set_os.efi".

[root@-------- ~]# lspci
00:00.0 Host bridge: Intel Corporation Crystal Well DRAM Controller (rev 08)
00:01.0 PCI bridge: Intel Corporation Crystal Well PCI Express x16 Controller (rev 08)
00:01.1 PCI bridge: Intel Corporation Crystal Well PCI Express x8 Controller (rev 08)
00:02.0 VGA compatible controller: Intel Corporation Crystal Well Integrated Graphics Controller (rev 08)

Offline

Board footer

Powered by FluxBB