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?

  • Mordikan@kbin.earth
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago

    You can use the gparted tool to graphically remove the partition(s) and then format them to whatever file system type you are interested in and just have those mounted as extra data drives. Or merge them into your Linux partition (depending on setup). That will require gparted to be run as sudo as you are interacting with disks.

    Alternatively, you can a tool like fdisk to change partitioning in terminal. You can pull the disk info using something like lsblk, so if you had a specific drive it might be sudo fdisk /dev/nvme0n1, then you’d want to print the current table and look through the help.

  • MentalEdge@sopuli.xyz
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    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.

    • HaraldvonBlauzahn@feddit.org
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      2 months ago

      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.