You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An easier solution to cloning an existing ZFS system to new hardware that boots from EFI: use https://zfsbootmenu.org
Load the EFI image from the website and create a portable installation (https://docs.zfsbootmenu.org/en/latest/guides/general/portable.html) and boot the new machine from it (using an USB stick or through an IPMI console on servers that support it) and you'll end up in the ZFSBootMenu rescue shell which has everything that you need for the rest:
create a pool on the remaining space, whatever layout you see fit (you can use all ZFS features supported by the system(s) you want to boot, there is no need to account for the GRUB limitations)
clone the complete rpool from the old machine onto the new pool, eg. over the network (as the ZFSBootMenu runs an LTS linux you should have no big problem setting up a network interface) using zfs send|recv, and also any data (in case you have additional pool(s) on the old machine), copy the kernel and initramfs from the the boot pool of the old system into the /boot directory of your root filesystem dataset
reboot from local disk, select your boot environment from the menu and enjoy - if needed (which usually is not) use zbm-kcl (https://docs.zfsbootmenu.org/en/latest/man/zbm-kcl.8.html) from the recovery console to adjust kernel parameters.
IMHO the simplest way to experiment with bootloaders is using a VM (eg. QEMU, in conjunction with Virtual Machine Manager, gives a nice and hazzle-free environment to play with things - without the need to find spare hardware).
An easier solution to cloning an existing ZFS system to new hardware that boots from EFI: use https://zfsbootmenu.org
Load the EFI image from the website and create a portable installation (https://docs.zfsbootmenu.org/en/latest/guides/general/portable.html) and boot the new machine from it (using an USB stick or through an IPMI console on servers that support it) and you'll end up in the ZFSBootMenu rescue shell which has everything that you need for the rest:
zfs set mountpoint=legacy ROOTFS; zfs set org.zfsbootmenu:active=on /ROOTFS
should do that trick)Apart from step 3 the whole process should take less than 5 minutes, in case you want to have an encrypted system then follow https://docs.zfsbootmenu.org/en/latest/guides/general/native-encryption.html instead.
The text was updated successfully, but these errors were encountered: