Re-installation for new computer

I have a new computer and have installed Fedora on a spare disk for it. There will be quite a bit of work to get it set up like my current one, and to transfer the data from the disk in the current one.

I think that in the past I have just taken the current disk from my current computer and put it into the new computer. That would save a lot of work, but does sound like a bad idea.

However I don’t what the installation process does to tailor the OS to match the hardware, perhaps nothing - in which case the easy way would work.

Most of the time you only need to really care about the home folder, which you should be fine to copy over (or just copy the files you care about, it’s a good chance to clean up your $HOME).

In terms of disks very little outside of disabling TRIM for SSDs

1 Like

Maybe the following post of someone moving disks with Fedora from one machine to another is helpful to you… ?

1 Like

A new install will give you options to use new file systems like btrfs that you may not be have used in the past.

Also, I recall from somewhere, that if the file system was created a long time ago it may not be using all the features that a fresh install will allow. But I’m very unsure if this is true.

1 Like

Good point. I agree that it is good to keep up with things, and after quite a battle with the installer I did persuade it to accept btrfs on the new disk. However I’d rather abandon that and stick with the current disk even though it is Ext4, as it will save a lot of work. I will switch to btrfs when I have to use a new disk, for example if I buy a bigger one.
[Edit] It’s now working…thanks!

That’s good news, I’ll try it. I’m not using an SSD so I don’t need to worry about TRIM (whatever that is:)).
[Edit] It’s now working…thanks!

Nothing to worry about if you don’t use an SSD then :slight_smile:

1 Like

Apologies for resurrecting an old thread.

I know the thread starter said they weren’t using an SSD, but I’m curious why you make this recommendation for those drives. Is it due to security considerations with using TRIM on a LUKS-encrypted file system?

My understanding (from the linked blog post) is that enabling TRIM for encrypted partitions can reveal data usage patterns that might give away information about the encrypted data. I don’t know how serious a risk this is for most users, though. I also have limited experience with TRIM itself, apart from knowing it helps SSD performance and health.

See also I need your best performance tips! - #12 by garrett.

1 Like

Once you delete something with TRIM, it’s gone. There’s no chance of recovery.

Yes in future make a new thread instead please

I now am using an SSD, so checked with ChatGPT and it says

Overall, enabling TRIM on your Linux system is generally recommended for SSD maintenance, as it helps ensure optimal performance and longevity.

I’m now confused. I’ve started another thread

I’ve checked whether it’s on with sudo systemctl status fstrim.timer and it is.