Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Apr 2019 15:37:22 -0600
From:      Ian Lepore <ian@freebsd.org>
To:        Wojciech Puchar <wojtek@puchar.net>, freebsd-hackers@freebsd.org
Subject:   Re: bhyve VM stopped to boot after moving virtio disks
Message-ID:  <2006ff8da153bbe5e7f620da9260ee1518bd248f.camel@freebsd.org>
In-Reply-To: <alpine.BSF.2.20.1904192255290.97274@puchar.net>
References:  <alpine.BSF.2.20.1904192255290.97274@puchar.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2006ff8da153bbe5e7f620da9260ee1518bd248f.camel>