How can I safely remove Windows from a dual-boot setup?
Asked by
DEEP END
I've been using Ubuntu for about a year on a computer that originally had Ubuntu and Windows 11 in a roughly 60/40 partition split. Windows was meant to be a fallback, but I haven't booted into it once. Is there a reasonably safe way to remove the Windows partitions and reclaim that space for Linux without breaking the bootloader or losing my files?
Answers
Back up anything important first, preferably to another physical drive. A disk image or at least a verified file backup gives you a way back if partition changes damage the filesystem or bootloader. A Timeshift snapshot can also help restore the Linux installation, although it shouldnโt be your only backup.
Reply to this answer
You donโt necessarily have to merge the space into the root partition. You could delete or reformat the old Windows area as ext4 and mount it for games, videos, music, or other bulk storage. If you use LVM, you may instead be able to add the freed space to the volume group and extend the logical volume.
Reply to this answer
Whether this is straightforward depends on the partition layout. If the unused Windows space is directly next to the Linux partition, expanding it is usually manageable. If the EFI partition or another partition sits between them, moving partitions becomes riskier and a clean Linux reinstall may be simpler. During a reinstall, back up your data and choose the option to use the entire drive.
Reply to this answer
The usual approach is to boot from a Linux live USB that includes GParted, delete the Windows and Windows recovery partitions, then expand the Linux partition into the unallocated space. Donโt resize the mounted system partition from within your running installation, and be absolutely certain which partitions belong to Windows versus Linux or the EFI boot setup.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions