Hi,
unfortuantely I also get the error and warning when installing
Here some information about my system:
on https://pve.proxmox.com/wiki/Recover_From_Grub_Failure
it is written
which character should I use for the "X"?
Or which commands are to be used for my system?
Thanks for the help, as I am currently afraid of booting my system,
Mike
unfortuantely I also get the error and warning when installing
grub-efi-amd64
Bash:
Preconfiguring packages ...
(Reading database ... 83974 files and directories currently installed.)
Removing grub-pc (2.12-9+pmx2) ...
Selecting previously unselected package grub-efi-amd64.
(Reading database ... 83967 files and directories currently installed.)
Preparing to unpack .../grub-efi-amd64_2.12-9+pmx2_amd64.deb ...
Unpacking grub-efi-amd64 (2.12-9+pmx2) ...
Setting up grub-efi-amd64 (2.12-9+pmx2) ...
Installing for x86_64-efi platform.
grub-install.real: error: cannot find EFI directory.
Failed: grub-install --target=x86_64-efi --force-extra-removable
WARNING: Bootloader is not properly installed, system may not be bootable
Generating grub configuration file ...
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.17.13-1-pve
Found initrd image: /boot/initrd.img-6.17.13-1-pve
Found linux image: /boot/vmlinuz-6.17.4-2-pve
Found initrd image: /boot/initrd.img-6.17.4-2-pve
Found linux image: /boot/vmlinuz-6.14.11-6-pve
Found initrd image: /boot/initrd.img-6.14.11-6-pve
Found linux image: /boot/vmlinuz-6.14.8-2-pve
Found initrd image: /boot/initrd.img-6.14.8-2-pve
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Found memtest86+ 32bit EFI image: /boot/memtest86+ia32.efi
Found memtest86+ 64bit image: /boot/memtest86+x64.bin
Found memtest86+ 32bit image: /boot/memtest86+ia32.bin
Adding boot menu entry for UEFI Firmware Settings ...
done
Processing triggers for man-db (2.13.1-1) ...
Processing triggers for shim-signed:amd64 (1.47+pmx1+15.8-1+pmx1) ...
Bash:
root@heimservervm:~# ls /sys/firmware/efi/efivars
AdvMitAttrib-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9 CoolConsole-46fe2754-75ed-40db-a395-032d70994457 LoaderInfo-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f SecureBootSetup-7b59104a-c00d-4158-87ff-f04d6396a915
AMD_PBS_SETUP-a339d746-f678-49b3-9fc7-54ce0f9df226 CpmUAD2DuoAudioBridgeLocationAddress-20190822-4368-4654-b1ca-46a6b98d9e84 MaximumTableSize-4b3082a3-80c6-4d7e-9cd0-583917265df1 Setup-80e1202e-2697-4264-9cc9-80762c3e5863
AMD_RAID-fe26a894-d199-47d4-8afa-070e3d54ba86 dbDefault-8be4df61-93ca-11d2-aa0d-00e098032b8c MemMitAttrib-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9 Setup-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9
AmdSetup-3a997502-647a-4c82-998e-52ef9486a247 dbxDefault-8be4df61-93ca-11d2-aa0d-00e098032b8c MemoryOverwriteRequestControl-e20939be-32d4-41be-a150-897f85d49829 SetupMode-8be4df61-93ca-11d2-aa0d-00e098032b8c
AMITCGPPIVAR-a8a2093b-fefa-43c1-8e62-ce526847265e DefaultBootOrder-45cf35f6-0d6e-4d04-856a-0370a5b16f53 MemoryOverwriteRequestControlLock-bb983ccf-151d-40e1-a07b-4a17be168292 SIDSUPPORT-7d3dceee-cbce-4ea7-8709-6e552f1edbde
AMITSESetup-c811fa38-42c8-4579-a9bb-60e94eddfb34 DefaultLegacyDevOrder-3c4ead08-45ae-4315-8d15-a60eaa8caf69 MokListRT-605dab50-e046-4300-abb6-3dd810dd8b23 SignatureSupport-8be4df61-93ca-11d2-aa0d-00e098032b8c
ApSyncFlagNv-ad3f6761-f0a3-46c8-a4cb-19b70ffdb305 DeployedMode-8be4df61-93ca-11d2-aa0d-00e098032b8c MokListTrustedRT-605dab50-e046-4300-abb6-3dd810dd8b23 SIO_DEV_STATUS_VAR-5820de98-fc8e-4b0b-a4b9-0a940d162a7e
AuditMode-8be4df61-93ca-11d2-aa0d-00e098032b8c DeploymentModeNv-97e8965f-c761-4f48-b6e4-9ffa9cb2a2d6 MokListXRT-605dab50-e046-4300-abb6-3dd810dd8b23 SioSetupData-6b0cc1bc-910f-411e-b6cb-0e314d0bb8c1
AuthVarPreBootPhase-7b59104a-c00d-4158-87ff-f04d6396a915 DownCoreStatus-29749bad-401b-4f6d-b124-cece8c590c48 MonotonicCounter-01368881-c4ad-4b1d-b631-d57a8ec8db6b SmbiosEntryPointTable-4b3082a3-80c6-4d7e-9cd0-583917265df1
Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c EasyHealthAddress-dd41adf5-4368-4654-b1ca-46a6b98d9e84 NetworkStackVar-d1405d16-7afc-4695-bb12-41459d3695a2 SmbiosEntryPointTableF000-4b3082a3-80c6-4d7e-9cd0-583917265df1
Boot000C-8be4df61-93ca-11d2-aa0d-00e098032b8c EasyTuneSetupAddress-2a64d079-aceb-4ad9-afd5-252e35ba994a OA3MSDMvariable-01368881-c4ad-4b1d-b631-d57a8ec8db6b SmbiosScratchBuffer-4b3082a3-80c6-4d7e-9cd0-583917265df1
Boot000E-8be4df61-93ca-11d2-aa0d-00e098032b8c EasyVoltageAddress-dd41adf5-4368-4654-b1ca-46a6b98d9e84 OsIndicationsSupported-8be4df61-93ca-11d2-aa0d-00e098032b8c SmbiosV3EntryPointTable-4b3082a3-80c6-4d7e-9cd0-583917265df1
Boot000F-8be4df61-93ca-11d2-aa0d-00e098032b8c ErrOut-8be4df61-93ca-11d2-aa0d-00e098032b8c PCI_COMMON-aca9f304-21e2-4852-9875-7ff4881d67a5 StdDefaults-4599d26f-1a11-49b8-b91f-858745cff824
BootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c ErrOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c PKDefault-8be4df61-93ca-11d2-aa0d-00e098032b8c Timeout-8be4df61-93ca-11d2-aa0d-00e098032b8c
BootOptionSupport-8be4df61-93ca-11d2-aa0d-00e098032b8c GbtCmosLoadDefaultInfo-01368881-c4ad-4b1d-b631-d57a8ec8db6b PlatformLang-8be4df61-93ca-11d2-aa0d-00e098032b8c TPMPERBIOSFLAGS-7d3dceee-cbce-4ea7-8709-6e552f1edbde
BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c GcSensorVarName-5489a3e4-c745-11ea-87d0-0242ac130003 PlatformLangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c TpmServFlags-7d3dceee-cbce-4ea7-8709-6e552f1edbde
ConIn-8be4df61-93ca-11d2-aa0d-00e098032b8c HiiDB-1b838190-4625-4ead-abc9-cd5e6af18fe0 PluginDevices-d405d7fb-e720-40f1-a10b-9970cae4f142 UsbSupport-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9
ConInDev-8be4df61-93ca-11d2-aa0d-00e098032b8c HwErrRecSupport-8be4df61-93ca-11d2-aa0d-00e098032b8c ProcMitAttrib-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9 VendorKeys-8be4df61-93ca-11d2-aa0d-00e098032b8c
ConOut-8be4df61-93ca-11d2-aa0d-00e098032b8c KEKDefault-8be4df61-93ca-11d2-aa0d-00e098032b8c Profile0-b05e6b5f-6ed8-4015-b5c5-b1049faf3e5b WriteOnceStatus-4b3082a3-80c6-4d7e-9cd0-583917265df1
ConOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c LegacyDevOrder-a56074db-65fe-45f7-bd21-2d2bdd8e9652 SbatLevelRT-605dab50-e046-4300-abb6-3dd810dd8b23 XhciDID-a7e92950-4ec9-4502-8576-f851308f8c18
CoolConCRC-46fe2754-75ed-40db-a395-032d70994457 LoaderDevicePartUUID-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f SecureBoot-8be4df61-93ca-11d2-aa0d-00e098032b8c
Bash:
root@heimservervm:~# dmesg | grep -i efi
[ 0.000000] efi: EFI v2.7 by American Megatrends
[ 0.000000] efi: ACPI=0x9bba0000 ACPI 2.0=0x9bba0014 TPMFinalLog=0x9ab6d000 SMBIOS=0x9c9f0000 SMBIOS 3.0=0x9c9ef000 MEMATTR=0x95071018 ESRT=0x9508ea18 MOKvar=0x9ca35000 INITRD=0x94119318 RNG=0x9a0e0018 TPMEventLog=0x99fdb018
[ 0.000000] efi: Remove mem327: MMIO range=[0xf0000000-0xf7ffffff] (128MB) from e820 map
[ 0.000000] efi: Remove mem328: MMIO range=[0xfd200000-0xfd2fffff] (1MB) from e820 map
[ 0.000000] efi: Remove mem329: MMIO range=[0xfd600000-0xfd6fffff] (1MB) from e820 map
[ 0.000000] efi: Not removing mem330: MMIO range=[0xfea00000-0xfea0ffff] (64KB) from e820 map
[ 0.000000] efi: Remove mem331: MMIO range=[0xfeb80000-0xfec01fff] (0MB) from e820 map
[ 0.000000] efi: Not removing mem332: MMIO range=[0xfec10000-0xfec10fff] (4KB) from e820 map
[ 0.000000] efi: Not removing mem333: MMIO range=[0xfec30000-0xfec30fff] (4KB) from e820 map
[ 0.000000] efi: Not removing mem334: MMIO range=[0xfed00000-0xfed00fff] (4KB) from e820 map
[ 0.000000] efi: Not removing mem335: MMIO range=[0xfed40000-0xfed44fff] (20KB) from e820 map
[ 0.000000] efi: Not removing mem336: MMIO range=[0xfed80000-0xfed8ffff] (64KB) from e820 map
[ 0.000000] efi: Not removing mem337: MMIO range=[0xfedc2000-0xfedcffff] (56KB) from e820 map
[ 0.000000] efi: Not removing mem338: MMIO range=[0xfedd4000-0xfedd5fff] (8KB) from e820 map
[ 0.000000] efi: Remove mem339: MMIO range=[0xff000000-0xffffffff] (16MB) from e820 map
[ 0.060197] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
[ 0.390653] efivars: Registered efivars operations
[ 1.724486] tsc: Refined TSC clocksource calibration: 3792.863 MHz
[ 6.563084] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
[ 6.564079] systemd[1]: systemd-hibernate-clear.service - Clear Stale Hibernate Storage Info was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67).
[ 6.570698] pstore: Registered efi_pstore as persistent store backend
[ 6.573850] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
[ 6.573991] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
Bash:
root@heimservervm:~# efibootmgr -v
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,000E,000C,000F
Boot0000* proxmox HD(2,GPT,a7b63869-f19c-4929-88da-25ef53173881,0x800,0x200000)/File(\EFI\PROXMOX\SHIMX64.EFI)
dp: 04 01 2a 00 02 00 00 00 00 08 00 00 00 00 00 00 00 00 20 00 00 00 00 00 69 38 b6 a7 9c f1 29 49 88 da 25 ef 53 17 38 81 02 02 / 04 04 36 00 5c 00 45 00 46 00 49 00 5c 00 50 00 52 00 4f 00 58 00 4d 00 4f 00 58 00 5c 00 53 00 48 00 49 00 4d 00 58 00 36 00 34 00 2e 00 45 00 46 00 49 00 00 00 / 7f ff 04 00
Boot000C* WD Blue SN580 2TB BBS(HD,,0x0)0000424f
dp: 05 01 09 00 02 00 00 00 00 / 7f ff 04 00
data: 00 00 42 4f
Boot000E* UEFI OS HD(2,GPT,a7b63869-f19c-4929-88da-25ef53173881,0x800,0x200000)/File(\EFI\BOOT\BOOTX64.EFI)0000424f
dp: 04 01 2a 00 02 00 00 00 00 08 00 00 00 00 00 00 00 00 20 00 00 00 00 00 69 38 b6 a7 9c f1 29 49 88 da 25 ef 53 17 38 81 02 02 / 04 04 30 00 5c 00 45 00 46 00 49 00 5c 00 42 00 4f 00 4f 00 54 00 5c 00 42 00 4f 00 4f 00 54 00 58 00 36 00 34 00 2e 00 45 00 46 00 49 00 00 00 / 7f ff 04 00
data: 00 00 42 4f
Boot000F* TOSHIBA MG09ACA18TE BBS(HD,,0x0)0000424f
dp: 05 01 09 00 02 00 00 00 00 / 7f ff 04 00
data: 00 00 42 4f
Bash:
root@heimservervm:~# bootctl
Couldn't find EFI system partition. It is recommended to mount it to /boot or /efi.
Alternatively, use --esp-path= to specify path to mount point.
System:
Firmware: n/a (n/a)
Firmware Arch: x64
Secure Boot: disabled (setup)
TPM2 Support: yes
Measured UKI: no
Boot into FW: supported
Current Boot Loader:
Product: GRUB 2.12-9+pmx2
Features: ✗ Boot counting
✗ Menu timeout control
✗ One-shot menu timeout control
✗ Default entry control
✗ One-shot entry control
✗ Support for XBOOTLDR partition
✗ Support for passing random seed to OS
✗ Load drop-in drivers
✗ Support Type #1 sort-key field
✗ Support @saved pseudo-entry
✗ Support Type #1 devicetree field
✗ Enroll SecureBoot keys
✗ Retain SHIM protocols
✗ Menu can be disabled
✗ Multi-Profile UKIs are supported
✓ Boot loader set partition information
Partition: /dev/disk/by-partuuid/a7b63869-f19c-4929-88da-25ef53173881
Random Seed:
System Token: not set
Boot Loaders Listed in EFI Variables:
Title: proxmox
ID: 0x0000
Status: active, boot-order
Partition: /dev/disk/by-partuuid/a7b63869-f19c-4929-88da-25ef53173881
File: └─/EFI/PROXMOX/SHIMX64.EFI
Title: UEFI OS
ID: 0x000E
Status: active, boot-order
Partition: /dev/disk/by-partuuid/a7b63869-f19c-4929-88da-25ef53173881
File: └─/EFI/BOOT/BOOTX64.EFI
Bash:
root@heimservervm:~# proxmox-boot-tool status
Re-executing '/usr/sbin/proxmox-boot-tool' in new private mount namespace..
E: /etc/kernel/proxmox-boot-uuids does not exist.
on https://pve.proxmox.com/wiki/Recover_From_Grub_Failure
it is written
- If not - then mount the ESP and reinistall grub:
mount /dev/sdX2 /boot/efi
grub-install /dev/sdX
which character should I use for the "X"?
Or which commands are to be used for my system?
Bash:
root@heimservervm:~# ls /dev/s*
/dev/sda /dev/sda1 /dev/sg0 /dev/snapshot /dev/stderr /dev/stdin /dev/stdout
/dev/shm:
qb-1057-1226-10-OuD0DP qb-1057-1737-21-hkVS5y qb-1057-2698529-29-7JMIWb qb-1057-2698558-25-JxN19b qb-1057-2698582-17-xNTFI8
qb-1057-1232-15-Ip4jUS qb-1057-2698527-31-4LPfV1 qb-1057-2698556-28-VQ76eF qb-1057-2698573-19-LKYxCu qb-1057-2698585-18-zHraJk
qb-1057-1234-16-oHeSqo qb-1057-2698528-23-sVzGWh qb-1057-2698557-22-CIOLCK qb-1057-2698575-20-BMylXt
Thanks for the help, as I am currently afraid of booting my system,
Mike
Last edited: