efi boot failes after swapping motherboard

Qlii256

New Member
May 29, 2023
11
2
3
I have a Proxmox 8.4 host which was installed on a motherboard with EFI enabled. I had to swap the motherboard due to some issues, the new board also has EFI enabled but does not see the EFI boot on the ZFS mirror drives. I'm able to use the live USB, Install terminal debug, do exit and then type lsblk and see:

sda
- sda1
- sda2 / vfat FAT32
- sda3 / zfs_member 5000 rpool

sdb
- sdb1
- sdb2 / vfat FAT32
- sdb3 / zfs_member 5000 rpool

I tried doing: proxmox-boot-tool init /dev/sda1 with the following error: E: '/dev/sda1' is too small (<256M).

I hope someone can help me fix this so I can boot back into the proxmox server.
 
The EFI boot settings are indeed stored on the motherboard, so a boot-repair is indeed probably needed.
/dev/sda1 is less than 1MiB and not the EFI System Partition (ESP). /dev/sda2 is the one that you want.
Maybe a proxmox-boot-tool reinit is enough?
 
The EFI boot settings are indeed stored on the motherboard, so a boot-repair is indeed probably needed.
/dev/sda1 is less than 1MiB and not the EFI System Partition (ESP). /dev/sda2 is the one that you want.
Maybe a proxmox-boot-tool reinit is enough?
reinit does not seem to work, when I reboot there's no efi partitino detected on the disks. The output: Re-executing '/sbin/proxmox-boot-tool' in new private mount namespace..

Doing init on /dev/sda2: Installing systemd-boot.. E: bootctl is not available - make sure systemd-boot is installed

I should mention that I'm not booted into proxmox but on the live usb debug installer. So maybe I need to find a way to force it to boot and then run the command? Also, I switched from AMD to Intel CPU in the process of swapping the motherboards.
 
Last edited: