bhyve VM stopped to boot after moving virtio disks
Ian Lepore
ian at freebsd.org
Fri Apr 19 21:37:28 UTC 2019
On Fri, 2019-04-19 at 23:00 +0200, Wojciech Puchar wrote:
> i have bhyve VM (linux) with 2 virtual disks.
>
> they were backed on geli encrypted partitions on SSD
>
> as it is rarely used VM i wanted to move it to HDD file.
>
> i just did
>
> dd if=/dev/partition1.eli of=file1 bs=1m
> dd if=/dev/partition2.eli of=file2 bs=1m
>
> there were no errors when doing dd
>
> and changed /dev/partition1.eli to file1 and same with second in
> virtio-blk filename.
>
> Everything else is unchanged.
>
> now it doesn't boot. on UEFI virtual framebuffer i see
>
> Boot Failed. EFI Misc Device
> Boot Failed. EFI Misc Device 1
> .
>
>
>
> Could you give me any clues?
>
Are you absolutely certain those encrypted partition sizes are an exact
multiple of 1m? If not, you should add a 'conv=sync' option to the dd.
-- Ian
More information about the freebsd-hackers
mailing list