Failed to Prepare UEFI Boot

mle

Member
Aug 5, 2021
66
14
8
29
Austria
hi Guys

I have a problem with the installation of Proxmox v7.0.1 in UEFI mode on a Dell R320 server with ext4 file system

Storage:
Dell Perc H710 mini (Original Firmware) (non-IT-Mode) 2xSSD 250GB Samsung Pro RAID-1 (Element Size 256Kb, Read Policy Adaptive, Write Policy write through)

I have test wise times Win Server 2016 installed in uefi mode under ntfs no problems
I also tested it with debian v10 the same error.
As soon as the installation is finished and tries to write the bootloader, this error occurred (Failed to Prepare UEFI Boot)

I know I could flash the H710 mini in IT mode and use ZFS-RAID-1 but I don't want to because of the performance and the massive RAM consumption.

I know that Proxmox v7.0.1 now also supports btrfs and know the theoretical advantages. But I don't know what the performance and data security looks like, e.g. data recovery in case something really goes wrong.

I have a couple of H710 mini controllers at home and could also replace them should it break.
That is why I thought about using hardware RAID-1 without cach functions. (If the power fails for a longer period of time) (UPS is available and H710 mini is equipped with a battery).

ext4 shouldn't have any problems with a RAID volume. I'm not so sure about the LVM volume anymore.

But now it fails because of the installation of the bootloader. (grub, efi)

Do you have any suggestions as to how I should install a fail-safe and high-performance system or what could be causing the error.

Log attached.

Thanks in advance for your answers.

Sorry if anything is wrong first post

German English no problem
 

Attachments

  • proxmox-install-log.jpg
    proxmox-install-log.jpg
    117.6 KB · Views: 14

fabian

Proxmox Staff Member
Staff member
Jan 7, 2016
7,483
1,397
164
this looks more like a bios/UEFI bug - please check if there are updates for your mainboard.
 
  • Like
Reactions: mle

mle

Member
Aug 5, 2021
66
14
8
29
Austria
Thanks for your fast reply

Dell has a full firmware und BIOS upgrade service ISO everything is on the last updates accessible
Platform Specific Bootable ISO, PER320, 21.07.00 System Verwaltung 07 July 2021
BIOS v2.9.0 25 Mar 2020
 

fabian

Proxmox Staff Member
Staff member
Jan 7, 2016
7,483
1,397
164
is secure boot enabled? if so, maybe try turning it off..
 

lamera

New Member
Aug 6, 2021
4
0
1
26
Hello together
I wanted to post exactly the same issue with an Dell PowerEdge R720. I used an NVMe-SSD "Samsung 970 Evo Plus 1TB". So there is no hardware raid involved. The drivers are up to date. I tried the install process multiple times with the same result. I wasn't able to install the grub-bootloader from another distro in live mode. Any suggestions?

proxmox_error.png
 

mle

Member
Aug 5, 2021
66
14
8
29
Austria
Hello together
I wanted to post exactly the same issue with an Dell PowerEdge R720. I used an NVMe-SSD "Samsung 970 Evo Plus 1TB". So there is no hardware raid involved. The drivers are up to date. I tried the install process multiple times with the same result. I wasn't able to install the grub-bootloader from another distro in live mode. Any suggestions?

View attachment 28481
Hello lamera

Dell R720 Servers kann not boot from nvme ssd but you can use an alternative Bootloader.

I think the issue is any bios setting or firmware update

Use this to update everything

https://www.dell.com/support/home/d...d=n1yw8&oscode=naa&productcode=poweredge-r720

and this for boot from an nvme drive

https://www.tachytelic.net/2020/10/dell-poweredge-install-boot-pci-nvme/

I have the same setup running on a Dell R720 and R730 without troubles
 
Last edited:

lamera

New Member
Aug 6, 2021
4
0
1
26
Hi mle
I know, but the installation of proxmox should still work. I get the same installation error as you.
I followed already these instructions from paulie and have an usb with clover ready. But after booting from clover I don't see this NVMe drive.
 

mle

Member
Aug 5, 2021
66
14
8
29
Austria
Info:

I tried to install Proxmox on the onboard sata controller (Perc S110) same problem.
Now I have swapped the h710 to an it-mode flashed h310 and install Proxmox v7.0.1 without any problem. (only 1x SSD without RAID)
But I still want to use RAID-1.

Hi mle
I know, but the installation of proxmox should still work. I get the same installation error as you.
I followed already these instructions from paulie and have an usb with clover ready. But after booting from clover I don't see this NVMe drive.

Mybe the pcie to m.2 adapter you are using does not work.

I use this one

https://www.amazon.de/DELOCK-PCIe-x...keywords=delock+m.2+pci&qid=1628354262&sr=8-3
 

mle

Member
Aug 5, 2021
66
14
8
29
Austria
New day new luck xD

After the 100 x installation, it finally worked.
I just can't tell you why.

Bios reset to factory default settings.
iDrac controller reset to factory default settings.
Both SSD formatted and RAID-1 rebuilt and full initialized.
Dell lifecycle controller activated (because of the whole switching back and forth of the RAID controllers)
Proxmox installation stick newly created (Linux DD)
All necessary BIOS settings made.

and suddenly it works as if it had never happened, the only difference is that the Dell lifecycle controller is still activated

Hope it helps others who have this problem on Dell 12gen servers.

In conclusion, I can only say that Proxmox v7.0.1 on a Dell R320 and a Perc H710 mini work without problems also runs under UEFI xD
 

Dom.sudo-engineer

New Member
Mar 8, 2022
15
0
1
Hello, running into a similar/the same issue. I'm over in this thread as well.

Dell PowerEdge 620 with PERC H710 Mini. Using two Samsung 870 EVO SATA 3 SSDs in a RAID-1 configuration.

bootloader setup errors: - failed to prepare EFI boot using Grub on '/dev/sda2': unable to install the EFI boot loader on '/dev/sda'
and
unable to initialize physical volume /dev/sda3

I changed settings in bios and it allowed the install to make it further before getting the error
1) Boot into System Setup(F2) > Boot settings > BIOS Boot Settings > Disabled all Bios boot options > Back to Boot settings > Changed to UEFI Boot > Saved and restarted
2) Boot into System Setup(F2) > Boot settings > UEFI Boot Settings > Disabled all UEFI Boot Settings (except external USB with Proxmox install) > Back to Boot settings > Changed Boot sequence and boot external USB at top

Any suggestions or advice would be greatly appreciated. I'll be sure to post what the fix ends up being!

All necessary BIOS settings made.
What are the BIOS settings you changed?
 

Dom.sudo-engineer

New Member
Mar 8, 2022
15
0
1
And it's working. No idea what I did to fix it :/

I reset the bios to default, rebuilt the raid1 and repeated all the steps I did from this post. Ran the install, it failed due to unable to initialize physical volume /dev/sda3, ran the install again (setting the drive size to 925GB - originally set at 931GB) and it worked.

Honestly, the only thing I really did different was the order of things. When I first set it up I did firmware updates > built raid > adjusted BIOS settings. This time the firmware was done already > adjusted BIOS settings > built raid. So maybe the order matters?
 

carsten-r

New Member
Apr 28, 2022
1
0
1
I'd the same issue with my Intel NUC Gen8.

IMG_0659..jpg

The solution is to activate in BIOS the "Internal UEFI Shell" - the installation was then successful.


InternalUEFIshell.jpg
 

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 your own in 60 seconds.

Buy now!