I migrated from one server to another using ZFS snapshots.
I created a snapshot on the old machine (which was encrypted).
On the new machine, I first installed the same FreeBSD version (10.3) and had it creat the ZFS File System and Partitions (unencrypted).
I then logged in via Live-CD, enabled SSHD (key-auth) and sent the zfs snapshots from the old system:
So far everything seemed to work.
Then the boot mount wasn't found. On the new system I had the problem that I didn't have the
I created a tarball with the boot folder of the old machine and replaced the empty mountpoint on the new system with the contents of /boot of the old system.
Now the system booted.
However, when I try to login via the virtual console, I seem to be stuck in a loop…
When I enter my old root password, the "Welcome to FreeBSD" texts disappear but nothing happens. No shell opens.
When I hit enter again, a new login line appears, asking me again to log in.
Is there anything I completely missed?
Something I could have made wrong?
Your help is greatly appreciated!
I created a snapshot on the old machine (which was encrypted).
On the new machine, I first installed the same FreeBSD version (10.3) and had it creat the ZFS File System and Partitions (unencrypted).
I then logged in via Live-CD, enabled SSHD (key-auth) and sent the zfs snapshots from the old system:
zfs send -R zroot@migrate | ssh root@xxx.xxx.xxx.xxx "zfs recv -vFd zroot"
So far everything seemed to work.
Then the boot mount wasn't found. On the new system I had the problem that I didn't have the
bootpool
zfs pool (because it isn't encrypted)I created a tarball with the boot folder of the old machine and replaced the empty mountpoint on the new system with the contents of /boot of the old system.
Now the system booted.
However, when I try to login via the virtual console, I seem to be stuck in a loop…
When I enter my old root password, the "Welcome to FreeBSD" texts disappear but nothing happens. No shell opens.
When I hit enter again, a new login line appears, asking me again to log in.
Is there anything I completely missed?
Something I could have made wrong?
Your help is greatly appreciated!