From owner-freebsd-questions@freebsd.org Tue Jan 31 07:59:36 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4A558CC9F1D for ; Tue, 31 Jan 2017 07:59:36 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from forward5h.cmail.yandex.net (forward5h.cmail.yandex.net [IPv6:2a02:6b8:0:f35::15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 074D2898 for ; Tue, 31 Jan 2017 07:59:35 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from smtp1h.mail.yandex.net (smtp1h.mail.yandex.net [IPv6:2a02:6b8:0:f05::115]) by forward5h.cmail.yandex.net (Yandex) with ESMTP id A64302134F; Tue, 31 Jan 2017 10:59:31 +0300 (MSK) Received: from smtp1h.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1h.mail.yandex.net (Yandex) with ESMTP id 14E958C10BE; Tue, 31 Jan 2017 10:59:28 +0300 (MSK) Received: by smtp1h.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id fo5oivr5Cm-xRuKNXGP; Tue, 31 Jan 2017 10:59:27 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Suid-Status: 1 0,1 0 Subject: Re: bhyve centos7 To: Eric Melville References: <119f89a2-1c35-036b-1398-1700a3bdd696@passap.ru> Cc: freebsd-questions@freebsd.org From: Boris Samorodov Message-ID: <185aadb4-1646-4a4d-23e2-3f7867e7920e@passap.ru> Date: Tue, 31 Jan 2017 10:57:09 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jan 2017 07:59:36 -0000 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