A
A
Andrey2016-05-03 10:00:07
FreeBSD
Andrey, 2016-05-03 10:00:07

How can I migrate FreeBSD from a mirrored volume to a regular virtual disk?

Good afternoon!
I ask for help, in an interesting matter. I was puzzled by the transfer of FreeBSD from a physical machine to a virtual one (Hyper-V).
I think that everything would have worked out long ago if it were not for the mirror on the physical machine.

$ df -h
Filesystem          Size    Used   Avail Capacity  Mounted on
/dev/mirror/root    221G    5.9G    198G     3%    /
devfs               1.0k    1.0k      0B   100%    /dev

I do with dump-restore.
I am doing the dump in multi-user mode :( Alas, but shutting down is very undesirable.
dump -0uLa -f /mnt/backup/root.dump / I am
restoring from livecd.
There are no errors in the process of restoring.
After rebooting, I get
can't load 'kernel'
Tell me, is this really real? And where dig?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Karmashkin, 2016-05-03
@andrey71

try in /etc/fstab to drive a direct path to the / and swap partitions and turn off gmirror, and register the bootloader yeah

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question