I have a dual boot Win 10/Debian setup on my laptop. I have not touched the Windows boot in months. There is nothing on there that needs saving.

How can I ditch the Windows partition and make it available as free space in Debian without damaging my Linux setup?

  • swab148@lemm.ee
    link
    fedilink
    arrow-up
    45
    ·
    4 months ago

    Gparted, you can delete the Windows partition and resize the Linux one to fill the space.

    This should go without saying, but I’ll say it anyways: backup any important data beforehand, just in case.

  • hperrin@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    edit-2
    4 months ago

    This really depends on how you installed. Some partition types are easier to resize than others. The most important thing to do is backup everything important before you do anything.

    Then boot to a live CD and you can use something like gparted or KDE Partition Manager to delete the NTFS partition and resize your Linux partition.

    If you have a spare drive with enough space, it’s a great idea to take an image of the whole disk using Gnome Disks. That way if anything goes wrong, you can restore to the point you took the image.

  • dumbass@leminal.space
    link
    fedilink
    English
    arrow-up
    12
    ·
    4 months ago

    You have to go punch and break out one of your physical windows so Linux knows not to fuck around!

    • timmytbt@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      1
      ·
      4 months ago

      Cool. Yeah, that sounds like the easiest solution. Just want to make that space available without screening things up.

  • Cris16228@lemmy.today
    link
    fedilink
    arrow-up
    10
    arrow-down
    5
    ·
    4 months ago

    Reinstall Linux because it’s broken due to an update and pick the wrong partition deleting the windows one… Totally not what happened to me🥲

  • Chris L@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    3
    ·
    4 months ago

    Try Distro Hopping. Then, next week when you switch to yet another distro, you can just erase the entire disk and install Linux.

  • timmytbt@sh.itjust.worksOP
    link
    fedilink
    arrow-up
    1
    ·
    4 months ago

    Thanks for all the replies. It’s a single 1TB SSD so gparted sounds like the way to go. Can always just reformat windows to ext4 and mount that separately too if I chicken out of resizing 🤣

  • Mwa@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 months ago

    Depends what method your doing.
    Dual disks you can do a raid configuration(if the disk is formatted as btrfs,it cam be done through ext4 but needs formatting ).
    If the windows partition is on one disk.
    Make sure the windows partition is adjustent, use something like gparted to merge it.

  • mortimer@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    2
    ·
    4 months ago

    Like already mentioned here, back up first. I use a tool called Foxclone for hard drive image backups. Many would recommend Clonezilla, but I can vouch for Foxclone as I know it works from personal experience and the interface is really intuitive.

    If you installed your Linux distro to dual boot alongside an existing Windows machine, you might need to move the Linux partitions after deleting Windows in order to resize the Linux partitions. This is something that can be done later once you know everything is working okay.