moving from virtualbox to bhyve

Allan Jude allanjude at freebsd.org
Mon Oct 20 16:30:54 UTC 2014


On 2014-10-20 12:20, John wrote:
> Hi,
> 
> I'm trying to move from virtualbox to bhyve. From the server I've successfully
> converted an ubuntu guest on vbox to raw. What I'm trying to do is to load that
> into bhyve, (on another freebsd server) and I'm at the limits of my knowledge 
> here; this isn't my speciality.
> 
> The most recent information relevant to what I want to do, I found at 
> https://www.monkeybrains.net/support/bhyve
> 
> but (not his fault!) what I'm trying to accomplish is not what he set out to do.
> 
> Has anyone done what I'm trying to do, or anyone know how to do it? The furthest 
> I got was with this, the guest.img is the raw ubuntu from vbox:
> 
> # bhyve -AI -H -P -s 0:0,hostbridge -s 1,lpc -s 2:0,virtio-net,tap1 -s 3:0,virtio-blk, \
> ./guest.img -l com1,stdio -c 4 -m 1024M linuxguest
> 
> [    0.000000] Initializing cgroup subsys cpuset
> [    0.000000] Initializing cgroup subsys cpu
> [    0.000000] Initializing cgroup subsys cpuacct
> [    0.000000] Linux version 3.11.0-26-generic (buildd at comet) (gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu8) ) #45-Ubuntu SMP Tue Jul 15 04:02:06 UTC 2014 (Ubuntu 3.11.0-26.45-generic 3.11.10.12)
> [    0.000000] Command line: console=ttyS0 BOOT_IMAGE=/boot/vmlinuz-3.11.0-26-generic root=UUID=9cd5a28b-8746-41f3-9b0e-8a950b8c5206 ro
> [    0.000000] KERNEL supported cpus:
> [    0.000000]   Intel GenuineIntel
> [    0.000000]   AMD AuthenticAMD
> [    0.000000]   Centaur CentaurHauls
>  
> [...]
> 
> [    0.696113] io scheduler deadline registered (default)
> [    0.696437] io scheduler cfq registered
> [    0.696705] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
> [    0.697052] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
> [    0.697502] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
> [    0.697951] ACPI: Power Button [PWRF]
> [    0.698214] GHES: HEST is not enabled!
> [    0.698808] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
> [    0.719861] 00:01: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> [    0.740907] 00:02: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
> [    0.742883] Linux agpgart interface v0.103
> [    0.744250] brd: module loaded
> [    0.745010] loop: module loaded
> Segmentation fault (core dumped)
> 
> thanks,
> 

What version of FreeBSD are you using? You might want to try the latest
10.1 RC (or HEAD if you are so included) instead, as they have much
improved bhyve.

-- 
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/20141020/af7c7e24/attachment.sig>


More information about the freebsd-virtualization mailing list