CentOS in bhyve

Conrad Meyer cemeyer at uw.edu
Thu Nov 20 20:09:51 UTC 2014


On Thu, 20 Nov 2014 18:34:22 +0300
Alex Povolotsky <tarkhil at webmail.sub.ru> wrote:

> Hello
> 
> I'm trying to install CentOS in bhyve.
> 
> I do everything accordnig to
> https://www.freebsd.org/doc/handbook/virtualization-host-bhyve.html
> 
> [18:30] backup:/<1>bhyve/oracle #
> cat /etc/bhyve/oracle/device.map (hd0) /dev/zvol/data/oracle
> (cd0) /home/bhyve/CentOS-6.6-x86_64-netinstall.iso
> 
> 
> [18:30] backup:/<1>bhyve/oracle # grub-bhyve -r cd0 -m
> /etc/bhyve/oracle/device.map -M 16G oracle
> 
> grub> ls (cd0)/isolinux
> boot.cat boot.msg grub.conf initrd.img isolinux.bin
> isolinux.cfg memtest splash.jpg TRANS.TBL vesamenu.c32
> vmlinuz
> 
> grub> linux (cd0)/isolinux/vmlinuz
> grub> initrd (cd0)/isolinux/initrd.img
> error: you need to load the kernel first.
> grub>

Hi Alex,

I don't see the same (maybe a newer version of grub-bhyve).
Instead:

grub> linux (cd)/isolinux/vmlinuz
grub> initrd (cd)/isolinux/initrd.img
grub> boot

And then grub-bhyve crashes:

2014-11-20 16:05:11.251+0000: 34493981696: error : bhyveMonitorIO:88 : Guest centos got signal 11 and crashed

(I am running bhyve under libvirt. The "monitor" patch is
pending upstream.)

> 
> 
> And that's all
> 
> Tried CentOS 7.0 and 6.6. No difference. FreeBSD runs in my
> bhyve OK, but need Linux...
> 
> Alex

I'll give 7.0 a whirl...

Best,
Conrad


More information about the freebsd-virtualization mailing list