Problem setting up Centos 7

Xavier Humbert xavier at xavierhumbert.net
Sat Oct 24 16:15:51 UTC 2020


Hi,

I haven't posted to this list for a while. I'm trying to set up Centos 
with vm-bhyve on 12STABLE.

I keep getting

> error: disk `hd0,msdos1' not found.
> error: you need to load the kernel first.
My config file is  this one :
> loader="grub"
> cpu=1
> memory=512M
> network0_type="virtio-net"
> network0_switch="public"
> disk0_type="virtio-blk"
> disk0_name="disk0.img"
> grub_install0="linux /isolinux/vmlinuz LANG=en_US.UTF-8 KEYTABLE=us 
> SYSFONT=latarcyrheb-sun16 console=ttyS0"
> grub_install1="initrd /isolinux/initrd.img"
> grub_run0="linux /vmlinuz-3.10.0-957.el7.x86_64 
> root=/dev/mapper/centos-root LANG=en_US.UTF-8 KEYTABLE=us 
> SYSFONT=latarcyrheb-sun16 console=ttyS0"
> grub_run1="initrd /initramfs-3.10.0-957.el7.x86_64.img"
Yes, I ran strings(1) on vmlinux to get the exact version.

What is wrong with my VM ?

Thanks in advance,

Xavier

-- 
Xavier HUMBERT <xavier at xavierhumbert.net>
Linux/FreeBSD Senior Sysadmin



More information about the freebsd-virtualization mailing list