From owner-freebsd-virtualization@FreeBSD.ORG Thu Nov 20 20:09:50 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EBB7EACC for ; Thu, 20 Nov 2014 20:09:50 +0000 (UTC) Received: from mail-ie0-f173.google.com (mail-ie0-f173.google.com [209.85.223.173]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B7C6D401 for ; Thu, 20 Nov 2014 20:09:50 +0000 (UTC) Received: by mail-ie0-f173.google.com with SMTP id y20so3487736ier.4 for ; Thu, 20 Nov 2014 12:09:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=V0LZQtUgx5+jCYxux7bhxnOq6KuhZLYWqIkOcdNNHCs=; b=MKzsL/VNBtHZFo3Pw7fabA2TiWnUfRc4Ob61SfE3ZQn6Rp7zrHYCvlTGLw1Xo8ZKaC xrvjmZQ7fdFWdzxpTBSOI/dAmkmEgATWsIozU0swF/5HClcziPJpNnG0vJC+2YjL+pdt lFUh3oNSVwZ8cicF0DroHOck3BunW2qxpiC6eACpQjpVecn6LaFFO/udPmHxeIkV7o5g /jfmWhHQ1KKMnCxcJnO/94NzysfrdEfcAqgcJPVnxcriDgb3Ao46u6ZN5VErodd0rA1a fwBTjdn9ntGOTEqWjXWr+faLlPMnnuKVeNF+ff+iDm7P5L5Q0i8ejbHQx1ugrBgRruXd eOtw== X-Gm-Message-State: ALoCoQn2sW2CTpb3DFaEA1TVuSsOjSjWF/FtnAwgKRKIs2N3NCynMbfvSEv7tq7Vcbkf33F8WfHb X-Received: by 10.43.148.74 with SMTP id kf10mr8784713icc.9.1416499708507; Thu, 20 Nov 2014 08:08:28 -0800 (PST) Received: from m (c-98-209-117-232.hsd1.mi.comcast.net. [98.209.117.232]) by mx.google.com with ESMTPSA id vf6sm1691177igb.6.2014.11.20.08.08.26 for (version=SSLv3 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 20 Nov 2014 08:08:27 -0800 (PST) From: Conrad Meyer X-Google-Original-From: Conrad Meyer Date: Thu, 20 Nov 2014 11:08:25 -0500 To: Alex Povolotsky Subject: Re: CentOS in bhyve Message-ID: <20141120110825.1b452056@m> In-Reply-To: <546E09FE.80703@webmail.sub.ru> References: <546E09FE.80703@webmail.sub.ru> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.24; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2014 20:09:51 -0000 On Thu, 20 Nov 2014 18:34:22 +0300 Alex Povolotsky wrote: > Hello > > I'm trying to install CentOS in bhyve. > > I do everything accordnig to > https://www.freebsd.org/doc/handbook/virtualization-host-bhyve.html > > [18:30] backup:/<1>bhyve/oracle # > cat /etc/bhyve/oracle/device.map (hd0) /dev/zvol/data/oracle > (cd0) /home/bhyve/CentOS-6.6-x86_64-netinstall.iso > > > [18:30] backup:/<1>bhyve/oracle # grub-bhyve -r cd0 -m > /etc/bhyve/oracle/device.map -M 16G oracle > > grub> ls (cd0)/isolinux > boot.cat boot.msg grub.conf initrd.img isolinux.bin > isolinux.cfg memtest splash.jpg TRANS.TBL vesamenu.c32 > vmlinuz > > grub> linux (cd0)/isolinux/vmlinuz > grub> initrd (cd0)/isolinux/initrd.img > error: you need to load the kernel first. > grub> Hi Alex, I don't see the same (maybe a newer version of grub-bhyve). Instead: grub> linux (cd)/isolinux/vmlinuz grub> initrd (cd)/isolinux/initrd.img grub> boot And then grub-bhyve crashes: 2014-11-20 16:05:11.251+0000: 34493981696: error : bhyveMonitorIO:88 : Guest centos got signal 11 and crashed (I am running bhyve under libvirt. The "monitor" patch is pending upstream.) > > > And that's all > > Tried CentOS 7.0 and 6.6. No difference. FreeBSD runs in my > bhyve OK, but need Linux... > > Alex I'll give 7.0 a whirl... Best, Conrad