this post was submitted on 13 Jul 2024
34 points (97.2% liked)

Linux

48314 readers
397 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 18 points 4 months ago (1 children)

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

[–] [email protected] 8 points 4 months ago* (last edited 4 months ago) (1 children)

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 1 points 4 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?