I have Fedora and Windows installed in the same drive in my laptop. The drive has 512GB and it’s divided so that each OS has 256GB. Fedora’s partition is encrypted using the option it shows in its installer.

Problem is I’m running out of space. I’m considering getting a 1TB drive on which I would move Fedora and then giving Windows the other drive, so on the whole the laptop would run Windows on the 512GB drive and Fedora on the 1TB one. I’ve already read lots of forums but am still unsure on how to do this without losing any data and messing with Grub (I’ve had some bad experiences previously). So any help would be appreciated.

  • @YukiA
    link
    181 month ago

    Can’t you just clone the entire disk to a bigger one and then enlarge the partitions you want enlarged ?

    • JustEnoughDucks
      link
      fedilink
      8
      edit-2
      1 month ago

      I did this exact thing with my server. Fully encrypted with a boot partition on a USB.

      Clonezilla from my encrypted SSD to another (you can also decrypt it with clonezilla before the copy if you want)

      Expanded the LVM volumes

      Viola, 120GB to 500GB. Spun up the docker containers and everything just worked again

      • @[email protected]OP
        link
        fedilink
        11 month ago

        This is the first thing I thought. However I’m concerned about grub not recognising my partitions and causing my laptop to basically not boot. Did you have any problem with this? Also, if you copied the encrypted drive and kept it encrypted, was there any change you had to do?

    • krolden
      link
      fedilink
      01 month ago

      If you do that youll have to also update the uuids in /etc/fstab to match the new drive.

        • krolden
          link
          fedilink
          11 month ago

          Theyre gonna have to recreate the partitions anyway since I believe they stated they are not keeping windows.

      • @YukiA
        link
        21 month ago

        Ah yes but that’s it AFAIK

      • @[email protected]
        link
        fedilink
        11 month ago

        Only if you delete the partitions and create them new on the same blocks.

        If you enlarge them, you should be fine.