Forum Discussion
How to change or convert mbr to gpt without data loss?
Using a Linux Live environment with tools like parted or gdisk is a viable and relatively free method to convert MBR to GPT on a Windows computer. This approach is often preferred by advanced users because it provides more control and can be performed without installing any software on Windows itself.
Here's what you need to know:
1. Create a Linux Live USB/CD
Download a Linux distribution like Ubuntu or Linux Mint.
Create a bootable USB drive or DVD using tools like Rufus or BaleneE-tcher.
2. Boot into Linux Live Environment
Restart your computer.
Boot from the USB/DVD (you may need to change boot order in BIOS/UEFI).
Select "Try Linux" mode (so you don’t install anything).
3. Identify the Disk
Open a terminal window.
Run lsblk or fdisk -l to list disks and identify your target disk (e.g., /dev/sda).
Using gdisk to Convert MBR to GPT
gdisk is a powerful, command-line utility for partitioning disks, especially for converting MBR to GPT:
Steps:
1.Launch gdisk:
sudo gdisk /dev/sdX
Replace /dev/sdX with your disk (e.g., /dev/sda).
2.Check the disk:
Type b to back up the current partition table (optional but recommended).
Type p to print the current partition table and review it.
3.Convert to GPT:
If the disk is MBR, gdisk will detect it.
You can convert MBR to GPT.
4.Write changes:
Type w to write the new partition table to disk.
Confirm when prompted.