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=20
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=C2=A0 this one :
> loader=3D"grub"
> cpu=3D1
> memory=3D512M
> network0_type=3D"virtio-net"
> network0_switch=3D"public"
> disk0_type=3D"virtio-blk"
> disk0_name=3D"disk0.img"
> grub_install0=3D"linux /isolinux/vmlinuz LANG=3Den_US.UTF-8 KEYTABLE=3D=
us=20
> SYSFONT=3Dlatarcyrheb-sun16 console=3DttyS0"
> grub_install1=3D"initrd /isolinux/initrd.img"
> grub_run0=3D"linux /vmlinuz-3.10.0-957.el7.x86_64=20
> root=3D/dev/mapper/centos-root LANG=3Den_US.UTF-8 KEYTABLE=3Dus=20
> SYSFONT=3Dlatarcyrheb-sun16 console=3DttyS0"
> grub_run1=3D"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

--=20
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>