71
submitted 1 week ago by Demonmariner@lemmy.world to c/linux@lemmy.ml

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?

you are viewing a single comment's thread
view the rest of the comments
[-] Labna@lemmy.world 1 points 1 week ago

Hi, I didn't see the answer if you only have your pc and no other big storage :
If you still have the installation usb or recreate one. Boot on it then you open gparted with that you remove the two partition off windows, the main with the system and the recovery one (if there is) but don't touch the first or last partition esp if it exits. Then you can expand the partitions to get the free space. Extend to the right is fast but extend to the left can be really slow and prone to failures.
I case you Linux partition are all on the right you can also create new main partition, do the install of the linux on this one, then reboot on the USB, move the user and configuration files on the new system, delete old installation partitions, then extend the new install to take the full drive.
There is commands to remove the old esp entries I don't remember yet.
This can take few hours so be patient.

The other option with a backup (dd) of the main partition is obviously safer but take nearly the same amount of time and need an external drive.

this post was submitted on 23 Jul 2025
71 points (100.0% liked)

Linux

56880 readers
508 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS