37
submitted 2 months ago by k2helix@lemmy.world to c/linux@lemmy.ml

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
[-] arran4@aussie.zone 1 points 2 months ago

There are several ways of doing this, but you have to be wary of how grub is configured to boot off the disks, and how your /etc/fstab is configured.

The simplest way probably is to just put the old ssd in a USB case, boot off a live usb/cd, then dd the disk (make sure you do it the right way around or there will be tears), then reboot. There are a couple ways this could fail still depending on config, but you can always put the old disk in if it does. Then once you're in the system you can use tools like parted/kde partition manager to resize the volumes once decrypted. -- And you will have your old disk as a backup the entire process.

If you want to get more comfortable with this type of work install arch / gentoo and you will learn more of the underline processes making you more confident.

this post was submitted on 13 Jul 2024
37 points (100.0% liked)

Linux

47537 readers
1677 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