Hi, On Sat, May 24, 2025 at 03:31:03PM +0200, Tommy Berglund wrote: > Is it possible to add an EFI system partition to a server already > running Debian 12?
The other reply you got covers making an ESP partition, but your main problem is going to be that you also need to install grub in EFI mode WHILE BOOTED IN EFI MODE. Right now you will be booted using legacy BIOS mode. So, you're going to have to - Reboot and get into the BIOS/firmware of your machine to set it to UEFI boot mode - Boot a live/rescue environment such as any recent Linux live media, or the rescue mode of any Debian install media - Reinstall grub as it says here: https://wiki.debian.org/GrubEFIReinstall Myself, I'd be asking what the purpose is of doing all this. If running in legacy BIOS mode is working then it is going to continue working. I would not change it until/unless the whole operating system is reinstalled next time. Some storsage devices such as NVMe drives are not bootable in legacy BIOS mode, but it looks like you have a working operating system already so maybe that's not why you are wanting to do this. Thanks, Andy -- https://bitfolk.com/ -- No-nonsense VPS hosting