Whats the easiest way to clone my Fedora 44 WS disk to a new disk drive?

Hey! Im new to Linux and Fedora and need a bit of help to clone my current disk (Fedora 44 Workstation is running solo on a 256GB drive) to a larger capacity drive. All I want to do is to clone my current drive to a higher capacity disk and keep everything else as is. Is there an idiot-proof, noobie way to do this?

man rsync to perform a file by file clone from source to destination.

There is much more:

I personally would go with something like Clonezilla as a separate boot option while having both disks installed. Then clone the small to the big one. Maybe you have to resize the destination to the total size of the big disk. This would be done easy with Gparted after you cloned the disks.

When the disk is cloned, just remove the small disk. In case you destroy something, you have still the original disk.

I know - op wanted simple, straightforward method of getting files from A to B, and doesn’t get any easier than 1 command.

I just gave options. How about the Layout of the disk? Not worrier about it makes part of a simple process. Right?

Personally I would install Fedora on the new disk then copy your old /home to the new /home - rsync is nice way to do this.

This avoids issue about getting the system to boot from the new disk that a clone can cause.

A cloned disk does not take advantage of the larger capacity until you do extra admin.

It is. But I would not expect a new linux user to read all 3800 lines of man page. Then cp -r would seem simpler, unless you copy via a network connection. Then there is this tricky thing about appending a trailing “/” to directory names.

Does cp -r handle symlinks?

Last I heard not very well.

cp -r behavior with symlinks is inconsistent and generally discouraged because it is a legacy option that does not correctly handle symbolic links or special files across different Unix variants.

Sorry for my Drive by. :wink:

Only has to handle them correctly on Linux for the OP though - pretty sure he’s not running multiple Unix variants.

It may be good enough, but my habbits include rsync , as a more robust alternative for copying directory hierarchies with complex symlink structures.

Or even this:

sudo cp -a --preserve=links /home/me/ /path/to /drive

I had a few sym links not carried over, so I’ll just stick to rsync for myself. :slight_smile:

Aye - main reason why I suggested it to the OP.

In the end it was Clonezilla that did it for me. I did a local device to device clone and then resized the larger disk with gnome disk utility. Removed the older, smaller disk and it just worked to perfection. Followed a few Clonezilla video overviews and guides before sinking my teeth, just to get an idea of what Id need to do. Thanks for the input, guys!
Hats off to Fedora =)

If I were going from Btrfs to Btrfs, personally I would use btrfs send .... It is much faster than rsync and it doesn’t risk losing any exotic attributes like cp or tar might. That said, I’ve done it before with cp -a (from the Dracut rescue shell no less), and it worked. But all these methods require that you know how to create the ESP and install a bootloader. I don’t consider that too difficult (at least with systemd-boot and bootctl), but I can see where Clonezilla is probably the simplest option for most people.