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
,/dev
as--bind
- Mount the new disks and
arch-chroot
into them - Update
/etc/fstab
to new disk UUIDs - Wipe
/boot
cause 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.cfg
sudo reboot