How do I switch an MBR Debian install to GPT and UEFI without reinstalling?

November 15, 2026 4 answers
Asked by 8f!portclip_372

I have a Debian 11 installation on an MBR disk. The new motherboard detects the SSD in UEFI, but I can't select it as a boot drive. I have a boot USB and have saved my home directory. What's the reliable way to convert it without reinstalling?

Answers

3m~typecase_417

This is more than just changing the partition table. The usual route is to boot a live system, convert the disk from MBR to GPT, create and format an EFI System Partition, then enter the existing installation with chroot and install the EFI version of GRUB.

The details depend on your partition layout, especially whether there is suitable space for the EFI partition. Check that before following a guide, and don't assume a guide that stops after the GPT conversion has finished the boot setup. Boot the live USB in UEFI mode so the firmware boot entry can be configured.

Nexlor-6q:

Also check the guide's instructions for mounting the installed system and EFI partition before the chroot. Those steps depend on the actual layout.

Reply to this answer
_briefly!rearranged_6

Back up more than just your home directory before changing partitions. A full disk backup gives you a way back if the conversion or bootloader setup goes wrong. Make sure you can restore it, not just that the backup file exists.

Have the live USB ready for repair too. A detected disk isn't necessarily bootable in UEFI mode until the EFI partition and bootloader are set up.

Reply to this answer
!tuck+the~spatula_8

If you're not comfortable modifying the partition table and repairing the bootloader, backing up the drive and doing a fresh install is a reasonable alternative. Converting in place is possible, but it has several steps and isn't guaranteed to be the easiest recovery path.

Reply to this answer
!stack~the+napkin_9

The guides may look different while covering the same basic process. Compare them against the full sequence: GPT conversion, an EFI System Partition, and an EFI bootloader installed into the existing system. Older guides can still be useful, but check commands and package names against your Debian version. Plan an update of the distribution separately from the disk conversion.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions