Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2017 10:57:09 +0300
From:      Boris Samorodov <bsam@passap.ru>
To:        Eric Melville <emelville@anomali.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: bhyve centos7
Message-ID:  <185aadb4-1646-4a4d-23e2-3f7867e7920e@passap.ru>
In-Reply-To: <C86D1DF6-1D6B-4EEA-9873-6ECB994D0D41@anomali.com>
References:  <E07B4FC6-7466-4017-AD65-F6FFE9F7E84F@anomali.com> <119f89a2-1c35-036b-1398-1700a3bdd696@passap.ru> <C86D1DF6-1D6B-4EEA-9873-6ECB994D0D41@anomali.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Please, do not use top-posting.

31.01.2017 04:28, Eric Melville пишет:
>> Are you sure? This is one instance:
>> -----
>> % cat /etc/centos-release
>> CentOS Linux release 7.2.1511 (Core)
>> % df -T
>> Filesystem              Type     1K-blocks     Used Available Use% Mounted on
>> /dev/mapper/centos-root xfs       19351552 13931836   5419716  72% /
>> devtmpfs                devtmpfs   3995416        0   3995416   0% /dev
>> tmpfs                   tmpfs      4005368        0   4005368   0% /dev/shm
>> tmpfs                   tmpfs      4005368   278792   3726576   7% /run
>> tmpfs                   tmpfs      4005368        0   4005368   0% /sys/fs/cgroup
>> /dev/vda1               xfs         508588   295664    212924  59% /boot
>> tmpfs                   tmpfs       801076        0    801076   0% /run/user/1000
>> -----
>>
>> The host is HEAD, but CentOS runs on it, well, since the beginning
>> of 2016. And I use sysutils/vm-bhyve.
>>
>> Here is the conf:
>> -----
>> guest="linux"
>> loader="grub"
>> cpu=8
>> memory=8G
>> network0_type="virtio-net"
>> network0_switch="public"
>> disk0_type="virtio-blk"
>> disk0_name="disk0.img"
>> uuid="XXX"
>> network0_mac="XXX"
>> grub_run_partition="msdos1"
>> grub_run_dir="/grub2"
>> -----
>>
>> Last two lines differ from v-bhyve docs.

 > No I am not sure, but a web search reveals that I am definitely not
 > the only one with this problem, and booting from XFS sounds
 > problematic if not wholly unsupported. Did you install CentOS 7
 > directly or update to it?

I installed directly CentOS-7.1 (CentOS-7-x86_64-Minimal-1503-01.iso).
I tried the newest version with CentOS-7-x86_64-Minimal-1611.iso and
it really failed to load saying "not a correct XFS inode". I rechecked
and CentOS-7-x86_64-Minimal-1503-01.iso works fine.

 > I think using bhyve-uefi or perhaps vm-bhyve may be the answer.

vm-bhyve is just shell scripts for bhyve, it does not add any
functionality. However it make life more comfortable. ;-)

As for uefi, I tried it for graphics UI (ex. Windows) and it really
works fine.

 > The
 > FreeBSD handbook explains how to install via serial but CentOS gives
 > no disk configuration options via serial.

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?185aadb4-1646-4a4d-23e2-3f7867e7920e>