Problem setting up Centos 7

Xavier Humbert xavier at xavierhumbert.net
Sat Oct 24 21:18:53 UTC 2020


On 24/10/2020 18:15, Xavier Humbert wrote:
> 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

OK, I destroyed and recreated the VM, now the installer launches with 
this very config. Please note that UEFI loader doesn't work, it angs
Now I run into the infamous XFS problem...

The text installer doesn't allow to choose the filesystem type. And VNC 
won't launch (network not activated)

I'm lost and don't want to install another Linux, I've to install a RPM 
based appliance...

Googled 3 hours with no success.

Any idea ?

Thanks,

Xavier

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





More information about the freebsd-virtualization mailing list