Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jan 2016 10:22:40 -0500
From:      Allan Jude <allanjude@freebsd.org>
To:        freebsd-virtualization@freebsd.org
Subject:   Re: bhyve guest from physical disk
Message-ID:  <56A0F7C0.2040806@freebsd.org>
In-Reply-To: <CAO7uigBiLRAeDO7ShVtDfaO7-VyWRE3MHsRpm_KTPUQnQ-viVw@mail.gmail.com>
References:  <CAO7uigBiLRAeDO7ShVtDfaO7-VyWRE3MHsRpm_KTPUQnQ-viVw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@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


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQIcBAEBAgAGBQJWoPfAAAoJEBmVNT4SmAt++mgQAO2yF5Iz1/IouVnXNne+XcbF
nYxdK+3gJ73OvQaYmsLYvvzTDGxjKktZM+xfF9rsVM2wzwSTwjiPrX+tMpPU3/TM
sxGiiQOr/oruRWKInv49mTUpsX8+ZY+QdK697RSaRTuPsx5kwoHS5u30QkTXCCoA
AhAj3n2yRyan/EmNn06/4gQuNsmP2SU5PjfLwbXXsygo+YJbcRaxOUwSNp0Ex6Az
A+XncUNR3D1xke4ZGJmK+F41Bx3XV0kD4m2yLFcmO5cul/Mw5Mhuz4n4bMBTm/Na
QBXq1O15+Ag3aDx3dc/X7XCSSNX++o864J+xlRrySgk/Zxcm4Pw+0KsAaYlVreYH
wae489hjWH7py+X3mFMs4z3RK/KpMhKa6d2De2aXkqU4+QejL4VVZeScAZhGniPS
eq0HTN1ImyopGUXKt8V7THtp611LJKyYlW0EgUUXSG86mU2XXdZkPJLt23+hHrin
WVAt454HQUMvs+zK5uVtPwbIhqAY+wN7OAkGCEBgU7Z2sEIzvNxRSaw5+5zIuvtk
eYNFGdSvILlt2qvKv6MYC+bo4FRSGelXW9u10m7KhxTMKrQ2MOlo25Z1o4L/feX9
UK4ly+QAK6XbeRnfiKH3I45SgmrcZUV7QUicFa6dgDKhj6tCe/6lajBFXO9CzTb2
XMFsPFrSl4a3m8nL/LlO
=KVgj
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56A0F7C0.2040806>