bhyve centos7
Boris Samorodov
bsam at passap.ru
Tue Jan 31 07:59:36 UTC 2017
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
More information about the freebsd-questions
mailing list