pbs3to4 fails to boot

rm-rf

Member
Aug 24, 2021
2
0
21
Colorado, USA
After running bookworm -> trixie upgrades, in accordance with Proxmox's upgrade docs, the machine won't boot.
The only thing that shows up when the machine starts is the following message (for a quick second, then the machine resets and loops over and over):
Code:
BdsDxe: loading Boot0001 "UEFI BHYVE SATA DISK BHYVE-68FA-FD70-E53E" from PciRoot (0x0)/Pci (0x3, 0x0)/Sata (0x0, 0xFFFF, 0x0)
BdsDxe: starting Boot0001 "UEFI BHYVE SATA DISK BHYVE-68FA-FD70-E53E" from PeiRoot (0x0)/Pci (0x3, 0x0)/Sata (0x0, 0xFFFF, 0x0)

PBS is running as a VM on TrueNAS Core 13 (I know, need to upgrade...)

I've booted a Debian 13 installation media, went into rescue mode, mounted root and issued the following commands:

Code:
# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-6.17.13-2-pve
Running hook script 'zz-proxmox-boot'.
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.

Code:
# proxmox-boot-tool init /dev/sda1
Re-executing '/sbin/proxmox-boot-tool'in new private mount namespace..
UUID="DCD8-1D4A" SIZE="999292928" FSTYPE="vfat"
PARTTYPE="c12a7328- f81f -11d2-ba4b-00a0c93ec93b" PKNAME="sda" MOUNTPOINT=''''
Mounting '/dev/sda1' on '/var/tmp/espmounts/DCD8-1D4A'
Installing grub x86_64 target..
Installing for x86_64-efi platform.
grub-install.real: warning: EFI variables cannot be set on this system. grub-install.real: warning: You will have to complete the GRUB setup manually.
Installation finished. No error reported.
Installing grub x86_64 target (removable)..
Installing for x86_64-efi platform.
Installation tinished. No error reported.
Unmount ing '/dev/sda1'
Adding '/dev/sda1' to list of synced ESPs..
Refreshing kernels and initrds..
Running hook script 'proxmox-auto-removal'
Running hook script 'zz-proxmox-boot'
No /etc/kernel/cmdline found - falling back to /proc/cmdline Copying and configuring kernels on /dev/disk/by-uuid/DCD8-1D4A
Copying kernel 6.17.13-2-pve
Copying kernel 6.8.12-20-pve
Generating grub contiguration tile ...
Found linux image: /boot/vmlinuz-6.17.13-2-pve
Found initrd image: /boot/initrd.img-6.17.13-2-pve
Found linux image: /boot/vmlinuz-6.8.12-20-pve
Found initrd image: /boot/initrd.img-6.8.12-20-pve
Adding boot menu entry for UEFI Firmware Settings...
done


I've been reading up on other posts online relating to this issue but have had zero luck getting PBS to boot again.

What else should I try?
Thanks in advance!
 
Hi rm-rf,

After running bookworm -> trixie upgrades (...) the machine won't boot.


How annoying!
PBS is running as a VM on TrueNAS Core 13 (I know, need to upgrade...)

I've booted a Debian 13 installation media, went into rescue mode, mounted root and issued the following commands:

I have no experience with either TrueNAS or running PBS in VM, so I'm just spewing general troubleshooting questions that you may already have tried.
  • You were able to boot into a Trixie rescue environment. Have you tried, if TrueNAS space allows, to install Trixie alongside PBS, and install the Proxmox kernel to see if that runs?
  • Is the VM configured with BIOS or UEFI (I see UEFI in the error message, so I have a hunch, but also "EFI variables can not be set" by grub-install).
  • Have you tried update-grub outside of the Proxmox utilities? I don't know by heart how to invoke proxmox-boot-tool, but grub prefers to be written to a device rather than a partition.
I thought TrueNAS Core is the version that runs on Linux, isn't it? Or did I mix them up again? I see BHYVE in the error message, which I recall as the BSD hypervisor.