Proxmox Won't Install on My HP EliteDesk G4 SFF - Stuck with EFI Boot Issues

visata

New Member
Oct 28, 2024
3
1
3
Hi,

I'm trying to get Proxmox 8.2 running on my HP EliteDesk 4 SFF. I thought I did everything right - even updated all the firmware before starting, but no luck so far.

My situation:
- Just got a HP EliteDesk 4 SFF
- Updated all the firmware first thing
- Trying to set up Proxmox, but it's fighting me every step of the way

The main issue is that it keeps failing with these EFI boot errors. Here's what I'm seeing:
- It can't find the EFI partition (suggests mounting at /boot or /efi)
- Gets stuck with some GRUB installation errors
- Ultimately fails to set up the EFI boot loader

I've attached a screenshot of the errors I'm getting. I'm pretty stuck at this point. Has anyone run into something similar with HP hardware? Any tips would be appreciated.

Thanks

proxmox.JPG
 
Make sure the BIOS is set to boot in UEFI mode. If the system is set to Legacy (or CSM) mode, the installation may fail to properly configure the EFI bootloader
 
Make sure the BIOS is set to boot in UEFI mode. If the system is set to Legacy (or CSM) mode, the installation may fail to properly configure the EFI bootloader

Thanks for the reply.

Yes, I boot in UEFI mode. I also disabled Secure Boot (not sure what it does). Tried all variations, no luck so far.

Here are some screenshots from my BIOS.

legacy.jpg

boot.order.jpg

This is my first experience with Proxmox, can I stop the Proxmox installation at some point and try running some commands which would help to debug the issue?

I tried running some commands which were suggested by AI. Maybe it would make more sense for someone more experienced than me?

debug.JPG

Thanks
 
I found the solution. Here's how I fixed it:

First, I went to Proxmox -> Advanced Mode -> Rescue Boot to get into the system.

Then I checked my disk partitions to identify the EFI partition:
Code:
root@pve:~# fdisk -l


The output showed my NVMe drive layout:
Code:
Disk /dev/nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: INTEL SSDPEKNW512GB
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: gpt
Disk identifier: 64470D96-1425-468C-93EC-B1ED5E988783

Device           Start        End    Sectors  Size Type
/dev/nvme0n1p1      34      2047       2014  100K BIOS boot
/dev/nvme0n1p2    2048   2099199    2097152    1G EFI System
/dev/nvme0n1p3 2099200 1000215182  998115983 475.9G Linux LVM

After identifying my EFI partition (/dev/nvme0n1p2), I ran these commands:
Code:
pve-efiboot-tool init /dev/nvme0n1p2
pve-efiboot-tool refresh
efibootmgr -v
mount /boot/efi
reboot

After the reboot, my system booted properly in UEFI mode. Hope this helps others who run into the same issue!
 
  • Like
Reactions: Johannes S

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!