Unable to install grub on Intel S5520HC / efi related?

mbk

Member
Jan 20, 2022
2
0
6
hello all,
as the title suggests, I am unable to install grub on my server. The installation went fine until the point of installing grub. But the installation seems to be intact and I am able to boot via "Rescue Boot" from an installation media. I can create VM's etc all fine. But if I try to install grub, it fails with the following message:

Code:
root@pve:~# grub-install --force-extra-removable /dev/sda
Installing for x86_64-efi platform.
File descriptor 4 (/dev/sda2) leaked on vgs invocation. Parent PID 19912: grub-install.real
File descriptor 4 (/dev/sda2) leaked on vgs invocation. Parent PID 19912: grub-install.real
grub-install.real: warning: Cannot set EFI variable Boot0000.
grub-install.real: warning: efivarfs_set_variable: writing to fd 6 failed: Interrupted system call.
grub-install.real: warning: efivarfs_set_variable: failed to unlink /sys/firmware/efi/efivars/Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c: Invalid argument.
grub-install.real: warning: _efi_set_variable_mode: ops->set_variable() failed: Interrupted system call.
grub-install.real: error: failed to register the EFI boot entry: Interrupted system call.

The "--force-extra-removable" option was suggested for example here: https://wiki.debian.org/GrubEFIReinstall

efibootmgr shows :
Code:
root@pve:~# efibootmgr 
Skipping unreadable variable "Boot0000": Interrupted system call
No BootOrder is set; firmware will attempt recovery

root@pve:~# ls -la  /sys/firmware/efi/efivars/
total 0
drwxr-xr-x 2 root root 0 Feb  1 17:32 .
drwxr-xr-x 5 root root 0 Feb  1 17:32 ..
-rw-r--r-- 1 root root 4 Feb  1 17:32 BmcCfg-9cfddf29-cd16-4df0-bcea-966f693def2d
-rw-r--r-- 1 root root 0 Feb  1 17:52 Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c

root@pve:~# ls -la  /sys/firmware/efi/vars/
total 0
drwxr-xr-x 37 root root 0 Feb  1 18:07 .
drwxr-xr-x  5 root root 0 Feb  1 17:32 ..
drwxr-xr-x  2 root root 0 Feb  1 18:08 AbsSysmgmtSerialRedir-ffffffff-ffff-ffff-ffff-ffffffffffff
drwxr-xr-x  2 root root 0 Feb  1 18:08 AcpiGlobalVariable-c020489e-6db2-4ef2-9aa5-ca06fc11d36a
drwxr-xr-x  2 root root 0 Feb  1 18:08 BmcCfg-9cfddf29-cd16-4df0-bcea-966f693def2d
drwxr-xr-x  2 root root 0 Feb  1 18:08 Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c
drwxr-xr-x  2 root root 0 Feb  1 18:08 Boot0002-8be4df61-93ca-11d2-aa0d-00e098032b8c
drwxr-xr-x  2 root root 0 Feb  1 18:08 Boot0003-8be4df61-93ca-11d2-aa0d-00e098032b8c
drwxr-xr-x  2 root root 0 Feb  1 18:08 BootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c
drwxr-xr-x  2 root root 0 Feb  1 18:08 BootFlow-ef152fb4-7b2f-427d-bdb4-7e0a05826e64
drwxr-xr-x  2 root root 0 Feb  1 18:08 BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c
drwxr-xr-x  2 root root 0 Feb  1 18:08 ConIn-8be4df61-93ca-11d2-aa0d-00e098032b8c
drwxr-xr-x  2 root root 0 Feb  1 18:08 ConInDev-8be4df61-93ca-11d2-aa0d-00e098032b8c
drwxr-xr-x  2 root root 0 Feb  1 18:08 ConOut-8be4df61-93ca-11d2-aa0d-00e098032b8c
drwxr-xr-x  2 root root 0 Feb  1 18:08 ConOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c
drwxr-xr-x  2 root root 0 Feb  1 18:08 DefaultBootOrder-45cf35f6-0d6e-4d04-856a-0370a5b16f53
--w-------  1 root root 0 Feb  1 18:08 del_var
drwxr-xr-x  2 root root 0 Feb  1 18:08 ErrorTimeStamp-d985edca-0cf3-d34e-a6b7-83ee32576996
drwxr-xr-x  2 root root 0 Feb  1 18:08 ErrOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c
drwxr-xr-x  2 root root 0 Feb  1 18:08 FWVERSIONDATA-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9
drwxr-xr-x  2 root root 0 Feb  1 18:08 HiiHubNVSSize-ea816d2c-cee5-4f02-99b5-d3905cbbd077
drwxr-xr-x  2 root root 0 Feb  1 18:08 HtSupport-ffffffff-ffff-ffff-ffff-ffffffffffff
drwxr-xr-x  2 root root 0 Feb  1 18:08 InitialDisplay-ffffffff-ffff-ffff-ffff-ffffffffffff
drwxr-xr-x  2 root root 0 Feb  1 18:08 Lang-8be4df61-93ca-11d2-aa0d-00e098032b8c
drwxr-xr-x  2 root root 0 Feb  1 18:08 LangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c
drwxr-xr-x  2 root root 0 Feb  1 18:08 MTC-eb704011-1402-11d3-8e77-00a0c969723b
--w-------  1 root root 0 Feb  1 18:08 new_var
drwxr-xr-x  2 root root 0 Feb  1 18:08 PostErrPause-ffffffff-ffff-ffff-ffff-ffffffffffff
drwxr-xr-x  2 root root 0 Feb  1 18:08 PVMODE-d985edca-0cf3-d34e-a6b7-83ee32576996
drwxr-xr-x  2 root root 0 Feb  1 18:08 RecoveryComplete-d6aaef94-c251-42e4-b9ec-26f0ea45eda8
drwxr-xr-x  2 root root 0 Feb  1 18:08 Setup-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9
drwxr-xr-x  2 root root 0 Feb  1 18:08 SHIM-c811fa38-42c8-4579-a9bb-60e94eddfb34
drwxr-xr-x  2 root root 0 Feb  1 18:08 SlpString-11831846-329c-4f0e-844d-8db7fc8292b3
drwxr-xr-x  2 root root 0 Feb  1 18:08 SMBootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c
drwxr-xr-x  2 root root 0 Feb  1 18:08 SysmgmtSerialFlow-ffffffff-ffff-ffff-ffff-ffffffffffff
drwxr-xr-x  2 root root 0 Feb  1 18:08 SysmgmtSerialRate-ffffffff-ffff-ffff-ffff-ffffffffffff
drwxr-xr-x  2 root root 0 Feb  1 18:08 SysmgmtSerialTerm-ffffffff-ffff-ffff-ffff-ffffffffffff
drwxr-xr-x  2 root root 0 Feb  1 18:08 Timeout-8be4df61-93ca-11d2-aa0d-00e098032b8c
drwxr-xr-x  2 root root 0 Feb  1 18:08 UsbMassDevNum-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9

It's an old Intel serverboard S5520HC
https://ark.intel.com/content/www/de/de/ark/products/36599/intel-server-board-s5520hc.html

Before I switched to proxmox, the server ran a TrueNAS 11 without problems.

I also tried to install from debian netinstall, unfortunately without success.

I do not know what else I can do. Do you have any suggestions ?
If you need more info, please let me know.

Thank you in advance.
Michael
 
Last edited:

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!