[SOLVED] how to change proxmox boot from grub to uefi

Ting

Member
Oct 19, 2021
99
4
13
56
Hi,

I just upgrade my proxmox server to a new hardware IBM x3650-M5, I used same proxmox boot disk from the old system (older hardware, so it was boot from grub). I have to use legacy bio boot in order to be able to boot from the disk. Here is output for "proxmox-boot-tool status":

root@proxmox1:~# proxmox-boot-tool status
Re-executing '/usr/sbin/proxmox-boot-tool' in new private mount namespace..
System currently booted with legacy bios
WARN: /dev/disk/by-uuid/03D6-7289 does not exist - clean '/etc/kernel/proxmox-boot-uuids'! - skipping
WARN: /dev/disk/by-uuid/03D7-73FD does not exist - clean '/etc/kernel/proxmox-boot-uuids'! - skipping
1AB7-6048 is configured with: grub (versions: 5.13.19-6-pve, 5.15.102-1-pve, 5.15.108-1-pve)


My question is, how do I upgrade the old boot loader to use uefi boot? thanks in advance,
 
Thanks @ fba

but, when I load debian live, I get "gdisk" not found. anybody has any idea?
 
You need to run all the commands as priviledged user. So either you always put a sudo in front of the commands or run
Bash:
sudo su -
Then you are root and the commands should work as expected.
 
New hardware - fresh install; common sense.

1. Use a fresh OS disk for install - keeping the old one as a backup if all else fails.
2. Backup all LXCs VMs on old hardware to an external device - that can easily be transferred to the new setup.
 
@ gfngfn256, thanks, I agree with you. But this is my homelab, and I had a lot of monitoring programs installed on this node, if I do a fresh install, I think I will spend a lot of time to reinstall and reconfig.

@ fba, thanks. I need some help here. I use Debian live / boot up with rescue mode, can not use gdisk command, and I can not apt-get it either. My question, do I have to install a full package of Debian onto the drive first? thanks for your help.
 
Just boot a standard Debian live disk. Select that you want to Test Debian, usually first option. The system will boot into a Debian, which will have all the tools available but will not make any changes to your system. Dont use a Resuce Mode.