You are not logged in.

#1 2016-10-16 07:38:55

mschewe
Member
Registered: 2016-09-22
Posts: 4

[SOLVED] EFI select defaut boot manager

Hello,

I had to install Windows for a workshop last week. I created an USB stick with windows, created a fourth partition on my system and installed it to the partition. It worked well. Windows started as default.
Now I want to have a selection whether to boot to Arch or Windows (Arch as default smile)

I still can boot to Arch if I ask to boot from another medium. Then I get these choices:

  • Windows Boot Manager

  • Linux Boot Manager

  • NVMe0

My first attempt was to enable the timeout in

/boot/loader/loader.conf

But it only shows up when I select the Linux Boot Manager.

I couldn't find a setting in the bios/efi to select the default boot manager. This is how my boot partition looks like:

tree -I '*.mui' -L 3
.
├── EFI
│   ├── BOOT
│   │   └── BOOTX64.EFI
│   ├── Microsoft
│   │   ├── Boot
│   │   └── Recovery
│   └── systemd
│       └── systemd-bootx64.efi
├── initramfs-linux-fallback.img
├── initramfs-linux.img
├── intel-ucode.img
├── loader
│   ├── entries
│   │   └── arch.conf
│   └── loader.conf
└── vmlinuz-linux

The hardware is a Lenovo T460s.

Does anybody know how I can change the default boot manager?

Last edited by mschewe (2016-10-16 12:26:01)

Offline

#2 2016-10-16 11:09:10

Omar007
Member
Registered: 2015-04-09
Posts: 368

Re: [SOLVED] EFI select defaut boot manager

As far as I'm aware the Lenovo UEFI setup menu does allow you to set a boot order. Just make sure that the Linux Boot Manager is the first item in the list.
If you can't find this you can also change the boot order from Linux with efibootmgr.
Run `efibootmgr` to show the boot entries and their numbers, then run `efibootmgr -o xxxx,xxxx,...` to set the desired boot order (where xxxx is the number of the boot entry).

Last edited by Omar007 (2016-10-16 11:09:50)

Offline

#3 2016-10-16 12:25:45

mschewe
Member
Registered: 2016-09-22
Posts: 4

Re: [SOLVED] EFI select defaut boot manager

Thanks for the hint with efibootmgr. It works now as expected!

Offline

Board footer

Powered by FluxBB