F5F Stay Refreshed Software Operating Systems Convert Ubuntu LVM to GPT safely and without data loss

Convert Ubuntu LVM to GPT safely and without data loss

Convert Ubuntu LVM to GPT safely and without data loss

Pages (2): 1 2 Next
K
Killerman1834
Posting Freak
885
05-31-2025, 10:42 PM
#1
Hi everyone, I just got a laptop with Ubuntu already set up. I thought dual booting would work, but it seems tricky to install Windows on an LVM and switch to GPT partitioning. I resized the LVM to free space for Windows (about 120 GB), but now I’m stuck. Installing Windows feels like it needs me to format the drive and create a new partition table, which I’m not keen on doing. I could back up everything and reformat, but I don’t have more than 100 GB of data and no extra storage nearby. Cloud options aren’t an option either. Could anyone help? Thanks in advance, Nischal!
K
Killerman1834
05-31-2025, 10:42 PM #1

Hi everyone, I just got a laptop with Ubuntu already set up. I thought dual booting would work, but it seems tricky to install Windows on an LVM and switch to GPT partitioning. I resized the LVM to free space for Windows (about 120 GB), but now I’m stuck. Installing Windows feels like it needs me to format the drive and create a new partition table, which I’m not keen on doing. I could back up everything and reformat, but I don’t have more than 100 GB of data and no extra storage nearby. Cloud options aren’t an option either. Could anyone help? Thanks in advance, Nischal!

T
tyharris14
Member
166
06-09-2025, 08:56 PM
#2
Explore this resource for guidance on switching between MBR and GPT formats.
T
tyharris14
06-09-2025, 08:56 PM #2

Explore this resource for guidance on switching between MBR and GPT formats.

M
Mr_Sneak_
Junior Member
15
06-10-2025, 08:02 PM
#3
It seems you can't modify an LVM directly. However, you might be able to transfer it as a separate partition on another drive, wipe the laptop, install Windows, recreate the partition, and then set up GRUB. For safety, backing up your data to another location beforehand would be wise in case anything fails during the process. It’s likely simpler to just back up everything and reinstall instead.
M
Mr_Sneak_
06-10-2025, 08:02 PM #3

It seems you can't modify an LVM directly. However, you might be able to transfer it as a separate partition on another drive, wipe the laptop, install Windows, recreate the partition, and then set up GRUB. For safety, backing up your data to another location beforehand would be wise in case anything fails during the process. It’s likely simpler to just back up everything and reinstall instead.

E
ElliotHammar
Junior Member
4
06-11-2025, 04:17 AM
#4
I ran the command sgdisk -g /dev/sda. The update went smoothly, but now I can’t start Ubuntu anymore! Sad This was logged from an Ubuntu Live system using an 8 GB USB drive.
E
ElliotHammar
06-11-2025, 04:17 AM #4

I ran the command sgdisk -g /dev/sda. The update went smoothly, but now I can’t start Ubuntu anymore! Sad This was logged from an Ubuntu Live system using an 8 GB USB drive.

D
derk4321
Senior Member
482
06-11-2025, 12:59 PM
#5
Ugh, that's disappointing.
D
derk4321
06-11-2025, 12:59 PM #5

Ugh, that's disappointing.

X
Xytrixz
Senior Member
552
06-13-2025, 04:47 AM
#6
I retain access to the storage yet cannot start Ubuntu.
X
Xytrixz
06-13-2025, 04:47 AM #6

I retain access to the storage yet cannot start Ubuntu.

T
tonychuchu
Junior Member
15
06-17-2025, 12:02 PM
#7
You may resolve boot issues via the sourceforge project at https://sourceforge.net/projects/boot-repair-cd/
T
tonychuchu
06-17-2025, 12:02 PM #7

You may resolve boot issues via the sourceforge project at https://sourceforge.net/projects/boot-repair-cd/

E
emma_vys
Junior Member
16
06-19-2025, 08:40 PM
#8
Great! I'll give it a shot!
E
emma_vys
06-19-2025, 08:40 PM #8

Great! I'll give it a shot!

M
mineuout482
Posting Freak
812
06-21-2025, 06:50 AM
#9
It seems you probably need to reinstall GRUB with a newer setup. If @Kilrah's advice isn't effective, you can try using the Ubuntu Live drive at the provided link.
M
mineuout482
06-21-2025, 06:50 AM #9

It seems you probably need to reinstall GRUB with a newer setup. If @Kilrah's advice isn't effective, you can try using the Ubuntu Live drive at the provided link.

E
eeemmiiillyyy
Junior Member
33
06-24-2025, 08:10 PM
#10
You need to set up a larger boot partition by adjusting the BIOS settings or using recovery tools to allocate more space for the boot files.
E
eeemmiiillyyy
06-24-2025, 08:10 PM #10

You need to set up a larger boot partition by adjusting the BIOS settings or using recovery tools to allocate more space for the boot files.

Pages (2): 1 2 Next