[SOLVED] How do I know if ProxMox is booting with grub or systemd-boot?

nosuch

Member
Jul 5, 2019
19
2
8
46
I'm currently unable to tell which system ProxMox is using to boot. I know that the BIOS boot type being UEFI or legacy should be an indicator, but I wonder if there is a way to verify this on a working system.
 
  • Like
Reactions: itsmyrun
FYI: for now we only use systemd-boot when booting ZFS as root, other cases may follow though in the future.

There are a few differences which can be told:
* The boot loader looks pretty different, GRUB is well GRUB, by default blue menu and a grub written somewhere. systemd-boot is just very plain black.

* On the booted system you can normally tell by checking if /etc/kernel/pve-efiboot-uuids exists, if not you're highly probably using GRUB

In general you can check if you booted with UEFI mode (independent of which bootloader) by looking if the path /sys/firmware/efi is populated, else it's empty or doesn't exists at all.
 
Looks like I was indeed using systemd-boot, thank you for explaining. This was interesting to me because I have the BIOS mode set to legacy boot (HP z420) which I thought would force a grub boot. However since I installed with ZFS as root it must have been able to use UEFI anyway. As a followup, what does the "boot to firmware" option in systemd-boot do?
 
As a followup, what does the "boot to firmware" option in systemd-boot do?

It should boot into your Firmware (= BIOS / UEFI) "settings dialogue", i.e., the thing you can normally access by hitting some special key like F2, F11 or Del on initial boot.
 
I'm currently unable to tell which system ProxMox is using to boot. I know that the BIOS boot type being UEFI or legacy should be an indicator, but I wonder if there is a way to verify this on a working system.
For anyone else with similar brain workings to me, I had trouble with just the info in this thread.
What ended up helping me definitively determine grub vs systemd was this page: https://pve.proxmox.com/pve-docs/chapter-sysadmin.html#sysboot

Simply look at your bootloader screen (blue is grub, white on black is systemd), alternatively do efibootmgr -v
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!