/dev/nvme0n1p2 /boot/efi vfat defaults 0 1
I'll answer myself: yes, you can.So couldn't I just use # proxmox-boot-tool init /dev/nvme0n1p2 to setup my existing unmounted ESP?
I see. What would be an advantage over a system which is able to boot with no issues again?sure, you can also use proxmox-boot-tool to manage the ESP, but for your setup there is no advantage..
Filesystem Size Used Avail Use% Mounted on
/dev/nvme0n1p2 1022M 289M 734M 29% /boot/efi
root@pve:/# mount /dev/nvme0n1p2 /boot/efi
root@pve:/#
root@pve:/#
root@pve:/# ls -la /boot/efi/
total 12
drwxr-xr-x 3 root root 4096 Jan 1 1970 .
drwxr-xr-x 5 root root 4096 Sep 14 13:34 ..
drwxr-xr-x 4 root root 4096 Mar 8 2023 EFI
root@pve:/# grub-install --target x86_64-efi --no-floppy --bootloader-id proxmox /dev/nvme0n1
Installing for x86_64-efi platform.
Installation finished. No error reported.
root@pve:/#
root@pve:/# grub-install --target x86_64-efi --no-floppy --bootloader-id proxmox --removable /dev/nvme0n1
Installing for x86_64-efi platform.
Installation finished. No error reported.
root@pve:/#
root@pve:/# update-initramfs -u -k all
Thanks man, did the same and it worked!Hey everyone, just wanted to chip in since I had the exact same Problem. Upgrade from 8 to 9 according to the official docs went smooth but then after a reboot I got stuck in a bootloop. It would just show "Welcome to grub" and then reboot.
Here is how I solved it:
I downloaded and booted from the official proxmox 9 iso and chose the rescue mode under advanced options.
After the System booted I could login through ssh. After reading the docs I tried to mount the efi partition first to check if the partition itself was ok:
Code:root@pve:/# mount /dev/nvme0n1p2 /boot/efi root@pve:/# root@pve:/# root@pve:/# ls -la /boot/efi/ total 12 drwxr-xr-x 3 root root 4096 Jan 1 1970 . drwxr-xr-x 5 root root 4096 Sep 14 13:34 .. drwxr-xr-x 4 root root 4096 Mar 8 2023 EFI
Then I just ran the grub commands:
Code:root@pve:/# grub-install --target x86_64-efi --no-floppy --bootloader-id proxmox /dev/nvme0n1 Installing for x86_64-efi platform. Installation finished. No error reported. root@pve:/# root@pve:/# grub-install --target x86_64-efi --no-floppy --bootloader-id proxmox --removable /dev/nvme0n1 Installing for x86_64-efi platform. Installation finished. No error reported. root@pve:/# root@pve:/# update-initramfs -u -k all
The initramfs command would actually give me a few warnings about the removable bootloader and that grub would not update it.
But after a reboot everything was just working fine again.
Thanks for all your help![]()
We use essential cookies to make this site work, and optional cookies to enhance your experience.