CentOS in bhyve

Alex Povolotsky tarkhil at webmail.sub.ru
Thu Nov 20 16:40:46 UTC 2014


grub2-bhyve-0.24

Updated to 0.30

And everything worked on. Sorry, I did not think that grub2-bhyve
evolves THAT fast!



On 20.11.2014 19:18, Conrad Meyer wrote:
> 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>
>> 
>> 
>> And that's all
>> 
>> Tried CentOS 7.0 and 6.6. No difference. FreeBSD runs in my bhyve
>> OK, but need Linux...
>> 
>> Alex
> 
> Hi Alex,
> 
> Ok I'm dumb — my earlier issue was a result of failing to create
> the backing HDD. Now it boots and loads CentOS 6.6 fine. Try
> updating grub-bhyve?
> 
> Best, Conrad
> 


More information about the freebsd-virtualization mailing list