Deleting Windows from dual boot Linux/Windows computer
Deleting Windows from dual boot Linux/Windows computer
I have a PC currently configured to dual boot Windows 10 and Linux Mint. I don't need Windows anymore, but Mint is working just fine and I'd rather avoid wiping the whole thing and starting over. Is there a safe way to just get rid of Windows?
Yes. You can just straight up delete the windows partition. Windows just won't boot anymore, even though doing only this won't remove it from the boot menu.
You can do this from your running linux install, but if you want to grow the linux partition to take up the free space, you'll need to do that from a live usb.
No changes should be necessary. Just delete the windows partition, and grow the linux partition.
Make sure you keep the efi partition, and swap partition, if there is one.
Note: the growing the partition from a live USB thing is only necessary if you want it all to be one partition. If it's a separate drive, or even if it's not, you can just format the old Windows partition/drive and mount it as a new storage volume.
I generally agree, but the best way to use the extra partition might be to keep it as a reserve to install the next Distribution release. So you go
partition A: Ubuntu 2024.10
Partition B: /home
Partition C: Ubuntu 2025.04
And swap A and C for the next upgrade. It is really nice to have a whole compatible fallback system.
curious how you automatically move all the packages over
Sounds like you could benefit from NixOS ;)
Not seen this done manually before. Neat idea!
You can usually grow a partition online, even the one you're booting from.
Not if you need to move it first.
You sound like you know some things that perhaps I don't know.
Slightly different question...
I have a 128GB SSD with Linux Mint MATE 20.3, and I did a full and successful dd backup to my 4TB backup drive.
I have a 100GB external USB hard drive as a test medium for Mint MATE 22.1. I am happy with my test setup, and tried to dd that over to the 128GB SSD. But it wouldn't boot.
I restored the original 128GB SSD image and all is good right now, but why the hell didn't the 100GB>128GB even boot?
Edit: Secure Boot has been disabled all along, screw that headache.
I'm not sure.
AFAIK dd will create an IDENTICAL environment. This is actually not desirable as it will cause UUID conflicts where multiple partitions in a system have the same UUID.
Unless you're restoring something you imaged, dding one disk onto another requires fiddling with the UUIDs and fstab, to make the partitions unique again, so the kernel can tell them apart.