Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Oct 2020 18:15:09 +0200
From:      Xavier Humbert <xavier@xavierhumbert.net>
To:        freebsd-virtualization@freebsd.org
Subject:   Problem setting up Centos 7
Message-ID:  <f305cff4-996a-e595-7d3b-15b9a64fb801@xavierhumbert.net>

next in thread | raw e-mail | index | archive | help

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@xavierhumbert.net>
Linux/FreeBSD Senior Sysadmin




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f305cff4-996a-e595-7d3b-15b9a64fb801>