r/archlinux • u/iLikeRamen13 • 23d ago
QUESTION Moving arch partition to another laptop
I've got a riced arch + hyprland setup on my current laptop (a T480s) which has now died and only works when plugged into power. I bought an intel T14 Gen 2 second hand and now need help transferring the partition to the new T14. I've got access to a usb harddrive that (I'm pretty sure) can fit the partition. What tools do I use? How do I go about doing this? Do I need to move my grub install too? The laptop comes with microslop windows 11 pro preinstalled and I wanna keep it there incase I need any windows specific software, or generally as a backup, do I need to transfer my grub asw (the T480s has zorin and Kali installs i don't use or need anymore, hence I have grub)? Any and all help is needed as I only have 2 days to do this - the T480s is being traded in on Friday!
10
u/iAmHidingHere 23d ago
Use the installer image to make a new partition on the new laptop, and use raync to copy the data.
9
u/boomboomsubban 23d ago
https://wiki.archlinux.org/title/Migrate_installation_to_new_hardware
4
u/evild4ve 23d ago
none of these tasks are Arch-specific or different on Arch. always backup first!
the Arch installation guide explains how to partition disks and install and configure grub. It tends to be more confusing when there are root partitions to be juggled around but so long as you keep backups it is ultimately the same principles and wiki pages
you don't want multiboot at all if you can avoid it - better to take out the Windows disk and put it in a drawer, and move the Arch disk into the new laptop
2
u/Wemorg 23d ago
You can
ddyour root partition on an external USB device andddit back onto a new partition on the laptop. Think can break, but surprisingly works quite well these days.1
u/Particular-Juice-669 17d ago
Clonage a l’aide de dd.