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.

  • Yuki@kutsuya.dev
    link
    fedilink
    arrow-up
    18
    ·
    6 months ago

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

    • JustEnoughDucks@feddit.nl
      link
      fedilink
      arrow-up
      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
        arrow-up
        1
        ·
        6 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@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      6 months ago

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