From owner-freebsd-virtualization@FreeBSD.ORG Sun Feb 22 19:45:31 2015 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 5D6AF20F for ; Sun, 22 Feb 2015 19:45:31 +0000 (UTC) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 181DCC53 for ; Sun, 22 Feb 2015 19:45:30 +0000 (UTC) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 3D995280FB5 for ; Mon, 23 Feb 2015 05:45:27 +1000 (EST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au X-Virus-Scanned: amavisd-new at iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Aw9gBqdm1oQD for ; Mon, 23 Feb 2015 05:45:27 +1000 (EST) Received: from Peters-MacBook-Pro.local (c-67-160-230-225.hsd1.ca.comcast.net [67.160.230.225]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 0595D280AC4; Mon, 23 Feb 2015 05:45:24 +1000 (EST) Message-ID: <54EA31D2.5080506@freebsd.org> Date: Sun, 22 Feb 2015 11:45:22 -0800 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Rich Dunkle Subject: Re: openbsd 5.7 beta - not booting completely in bhyve References: <54E9195C.5080708@smallcatbrain.com> In-Reply-To: <54E9195C.5080708@smallcatbrain.com> Content-Type: text/plain; charset=windows-1252; format=flowed 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: Sun, 22 Feb 2015 19:45:31 -0000 Hi Rich, > I am using FreeBSD 11 CURRENT r278872. > I have an OpenBSD 5.7 beta image that was running on VirtualBox. > I converted the vdi image using qemu-img. > > When I boot the OpenBSD with Bhyve I notice that the boot drive is > not recognized the same as in VirtualBox. > VirtualBox - wd0a > Bhyve - sd0a > > I have to manually enter sda0 during the boot process. > The OpenBSD slices are recognized and booting continues. > I see: > starting local daemons: cron. > Then the date. > At that point OpenBSD appears hung. To add to Allan's note - you'll have to edit /etc/ttys to enable getty on the serial port. This is done by default by the OpenBSD installer on bhyve since it has a serial console by default, but not on VBox/VMWare/etc that have a video console +tty00 "/usr/libexec/getty std.9600" vt220 on secure -tty00 "/usr/libexec/getty std.9600" unknown off - sd0 can be selected as the boot disk from the grub-bhyve comand line e.g. kopenbsd -h com0 -r sd0a /bsd later, Peter.