Date: Mon, 20 Oct 2014 12:31:18 -0400 From: Allan Jude <allanjude@freebsd.org> To: freebsd-virtualization@freebsd.org Subject: Re: moving from virtualbox to bhyve Message-ID: <544538D6.80101@freebsd.org> In-Reply-To: <20141020162043.GA66615@potato.growveg.org> References: <20141020162043.GA66615@potato.growveg.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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@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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJURTjZAAoJEJrBFpNRJZKf7ekQAKtf6TLXiSt/cMruEOel+ca2 nr9MLQnmIY4vXOXOBHboWx6ndI3fFtQaGXSEsiTibjZ/lH8oZTTEoT5GFRsCUjD7 HaPiReJMRFh7tqwZz3xjQLPrfxJBk62+iqd4ef95j2rWj4vUnox11gDtKcQjUMjd zx3KPbuDTkx0mHXEzHnZi5u4AK8dEM6//tT9PdgUgCHYKdXTKk9pD/Et8suIeFxm V8nyWLCLVbBJZ2BrVUdiGI8yGeh9M1BkOyLsEfMNxWYLAZ20BmwjYqJsrlX4PD4k hgHSD9tIE9NmzJaWUDKGd1mg+zHgl/pdN9yR4eProEq1snkL7LbwhaWnPVrykPbg NdJcsSpqjO5FoXbmdiJ8iEUtK8r/TyqPt1ugOU5/Vb6tnuVAfgoSybp/palVkxvS GuPYGGlZD3gb9uBuwwzKXSJ2DhBvGsCTqTEv8hUNznq8CL6c1b2bzFKlBrnhodz4 TpcncpKYLRRuPY7N8W2erXPDZtjDW0QrWoAXvdmrQo7MezZ0BiP9pdE1R94VdkeV OTxqIZiiRelbnKNudbotsjtU95jDMScPRSWtGMju5RVfRdUCvbbBfCGkLadvz8W4 XkcJxNJR7VenuHysIn7VNk75FCUmyPHDIUw6WJBCh/xq4VO28qrcTKNpiZcD1BM6 +oMbavTferYrQedA3PS0 =lD1F -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?544538D6.80101>
