Re: Migrating to new disk

From: Henrik Morsing <henrik_at_morsing.cc>
Date: Sun, 02 Apr 2023 15:35:33 UTC
On Sat, Apr 01, 2023 at 11:56:51AM +0100, Henrik Morsing wrote:
>
>Good morning.
>
>I have a fairly new install of 13.1, root on ZFS. New computer with an ASUS Z690-P motherboard.
>
>I have migrated to a new disk using zfs send/recv, and ran an EFI update command from the same guide (https://people.freebsd.org/~dch/posts/2021-05-12-nvme-on-freebsd.html).
>The disk is now bootable from the UEFI bootlist, but I still end up on the old zroot. I am guessing I need to rename the new zpool? Or is there another way? And is it simple to boot into a live USB and rename, or is it a can of worms?
>
>

I'm fairly certain this is a pure EFI issue. Pulling out the old disk, the disk shows up in the UFEI boot menu, but when booting from it, I get a message saying there is no disk to boot from.

Somewhere under /boot/efi, there must be info on which disk/kernel to boot, but it is probably in a binary format.

Regards,
Henrik Morsing
--