Moving arch between disks
Writing this down for sanitys sake - I just spent a few hours fucking around cause I fucked around instead of following a guide...
- Copy partitions with gparted to the new disk, update their UUIDs
- Mount
/sys,/proc,/run,/devas--bind - Mount the new disks and
arch-chrootinto them - Update
/etc/fstabto new disk UUIDs - Wipe
/bootcause ur an idiot - Reinstall grub
sudo grub-install - Copy the kernel
cp /usr/lib/modules/<kernel> vmlinuz-linux - Run
mkinitcpio sudo grub-mkconfig -o /boot/grub/grub.cfgsudo reboot