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
    186 months 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
      6 months 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

      • @k2helix@lemmy.worldOP
        link
        fedilink
        15 months 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
      06 months ago

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

        • krolden
          link
          fedilink
          15 months ago

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

      • @YukiA
        link
        26 months ago

        Ah yes but that’s it AFAIK

      • @ShortN0te@lemmy.ml
        link
        fedilink
        15 months ago

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

        If you enlarge them, you should be fine.