this post was submitted on 20 Dec 2025
36 points (97.4% liked)
Linux Questions
3042 readers
15 users here now
Linux questions Rules (in addition of the Lemmy.zip rules)
- stay on topic
- be nice (no name calling)
- do not post long blocks of text such as logs
- do not delete your posts
- only post questions (no information posts)
Tips for giving and receiving help
- be as clear and specific
- say thank you if a solution works
- verify your solutions before posting them as facts.
Any rule violations will result in disciplinary actions
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
In short, you can just copy your whole system, you can use rsync, cp or dd. Two things need to be taken care of:
uefi boot needs to be working (copy uefi partition from old drive or reinstall with grub from live iso)
partitions in /etc/fstab need to be configured correctly
Everything else ist just the files and configs. Prefer using rsync -A over cp. In Linux everything is a file, except /dev and /procfs
Don't forget to fix hostname and network config if not using network manager.
Your idea should work no problem btw. though, since uefi and fstab is taken care of by the previous clean install. You should probably not overwrite fstab in that case IMHO.