bhyve guest from physical disk

Allan Jude allanjude at freebsd.org
Thu Jan 21 15:22:09 UTC 2016


On 2016-01-21 10:11, Sergey Manucharian wrote:
> Is it possible to run a bhyve guest from physical disk?
> I tried adding this option:
> 
> -s 3,ahci-hd,/dev/ada2
> 
> but it doesn't work.
> 
> Here is the output I see on the serial console,
> then it falls into EFI shell.
> 
> -------------------------------------8<---------------------------------
> Buffer: EFI Hard Drive
> Overriding HandleProtocol for bhyve guests
> Memory  Previous  Current    Next
>  Type    Pages     Pages     Pages
> ======  ========  ========  ========
>   0A    00000004  00000001  00000004
>   09    00000008  00000008  00000008
>   00    00000004  00000000  00000004
>   06    00000024  00000042  00000052
>   05    00000030  0000004A  0000005C
>   03    00000180  000003A6  0000048F
>   04    00000F00  00000C9A  00000F00
> Booting EFI Hard Drive
>  BlockSize : 512
>  LastBlock : 1D1A94A1
>  BlockSize : 512
>  LastBlock : 1FFFFFF
>  BlockSize : 512
>  LastBlock : 1B1A8CA1
> PlatformBdsBootFail
> Boot Failed. EFI Hard Drive
> .....
> -------------------------------------8<---------------------------------
> _______________________________________________
> freebsd-virtualization at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe at freebsd.org"
> 

Make sure that the device is not in use by anything else. Also, does
that device contain an EFI boot partition?

-- 
Allan Jude

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-virtualization/attachments/20160121/f05482ef/attachment.sig>


More information about the freebsd-virtualization mailing list