Moving system to another hard drive


Hi all,

I have to move my TrueOS system to another hard drive. The system is on the ZFS partition within second MBR slice (dual boot with Windows through FreeBSD boot manager).

I’ve prepared a slice as well as system and swap partitions of same sizes on target drive. Then I’ve successfully ceated ZFS pool and sent/received the original zpool snapshot to the target zpool.

Then I’ve wrote boot manager code into taget drive MBR and zfsboot code into boot partition:

dd if=/boot/zfsboot of=/dev/ada1 count=1
dd if=/boot/zfsboot of=/dev/ada1s2a iseek=1 oseek=1024

– and after all canot boot from new hard drive.

What steps have I missed to make the new system bootable?


Transfer trueOS to another SSD
[Finished] TrueOS Q&A with Kris & Ken Moore 6/16/17