I have created a new vm on a FreeBSD-11.1 host using a CentOS-6.10 iso with the following commands:
The template file centos6-2x4.conf contains this:
When I start this vm and connect to its console I see this:
The grub console shows this:
and dropping into the grub command shell shows this:
What do I have to do to get CentOS-6 to install as a BHyve guest?
Code:
vm create -s 100G -t centos6-2x4 inet09
vm install inet09 CentOS-6.10-x86_64-minimal.iso
The template file centos6-2x4.conf contains this:
Code:
loader="grub"
cpu=2
memory=4G
network0_type="virtio-net"
network0_switch="public"
disk0_type="virtio-blk"
disk0_name="disk0.img"
grub_install0="linux /isolinux/vmlinuz"
grub_install1="initrd /isolinux/initrd.img"
grub_run0="linux /vmlinuz-2.6.32-573.el6.x86_64 root=/dev/mapper/VolGroup-lv_root"
grub_run1="initrd /initramfs-2.6.32-573.el6.x86_64.img"
When I start this vm and connect to its console I see this:
Code:
error: disk 'hd0,1' not found.
error: you need to load the kernel first.
The grub console shows this:
Code:
+------------------------------------------------------------------+
|inet09 (bhyve run) |
and dropping into the grub command shell shows this:
Code:
grub ls
(hd0) (host)
grub ls hd0
error: disk `hd0,1' not found.
What do I have to do to get CentOS-6 to install as a BHyve guest?
Last edited by a moderator: