As well as all my important stuff in /home, can I transfer over the operating system as well as everything in the root partition? What about the Windows Partition? Thanks in advance.

  • boredsquirrel@slrpnk.net
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    1 month ago

    Clonezilla, automatically resize GPT partition table.

    Nothing better than that.

    If you use an LVM or a modern filesystem like BTRFS, you can just increase it afterwards, so that your partitions grow to the entire available space.

    This is not possible with regular static partitions.

    Otherwise afaik you can delete it and recreate it to fill up all usable space.

    But well, just use BTRFS or maybe LVM.

    • Interstellar_1OP
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      Would deleting it also delete the data on it? What is the point of automatically resizing them then?

      • boredsquirrel@slrpnk.net
        link
        fedilink
        arrow-up
        2
        ·
        1 month ago

        No it doesnt. Partitions need to start at the exact bit they start, but can end at something bigger.

        Thats the trick.

        Using gdisk you would print the table, make a photo, delete it, create them new and set the max for the storage partition (if you use BTRFS or LVM like a normal person) to the original start, but max available end

        Then you print again and verify and write to apply the changes.

        Then there is space but the partitions need to fill that up still, with btrfs on Fedora that would be sudo btrfs resize max / I think