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.
Can’t you just clone the entire disk to a bigger one and then enlarge the partitions you want enlarged ?
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
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?
If you do that youll have to also update the uuids in /etc/fstab to match the new drive.
If you clone the entire disk, the partition UUIDs remain the same.
You should probably change them and update the files so the unique identifiers are actually unique, but you don’t strictly need to.
Theyre gonna have to recreate the partitions anyway since I believe they stated they are not keeping windows.
Ah yes but that’s it AFAIK
Only if you delete the partitions and create them new on the same blocks.
If you enlarge them, you should be fine.