New SSD migration


Modify BIOS to enable booting off nvme? See

mount /dev/mapper/vg–samsung-Root /mnt/temp/ rsync -aAXv –exclude={“/dev/”,“/proc/”,“/sys/”,“/tmp/”,“/run/”,“/mnt/”,“/media/”,“/lost+found”,“/home/”,“/srv/”,“/boot/”} / /mnt/temp mkfs.ext4 /dev/nvme0n1p5 mount /dev/nvme0n1p5 /mnt/media/ rsync -aAXv /boot /mnt/media

Mount the EFI partition and install refind mount /dev/nvme0n1p2 /boot/efi/ refind-install

The refind-install script doesn’t quite work with NVMe device names, so fails to add a boot entry for refind.

Manually do this with efibootmgr /usr/bin/efibootmgr -c -l “\EFI\refind\refind_x64.efi” -L rEFInd Boot Manager -d /dev/nvme0n1 -p 2