From owner-freebsd-virtualization@FreeBSD.ORG Sun Feb 22 19:57:46 2015 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ABA7F340; Sun, 22 Feb 2015 19:57:46 +0000 (UTC) Received: from smp5.smallcatbrain.com (m222-2.dsl.rawbw.com [198.144.222.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smp5.smallcatbrain.com", Issuer "PositiveSSL CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2FD60D18; Sun, 22 Feb 2015 19:57:45 +0000 (UTC) Received: from smp5.smallcatbrain.com (smp5 [192.168.0.3]) by smp5.smallcatbrain.com (8.15.1/8.14.9) with ESMTPS id t1MJvbiY036792 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Sun, 22 Feb 2015 11:57:38 -0800 (PST) (envelope-from rdunkle@smallcatbrain.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=smallcatbrain.com; s=mail; t=1424635058; bh=2IHSnnp0IOvQ0RTq+QWzzxafM7LEVBjmvdMWOFtL2So=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=RRMmaAZZ8plk+DLJDcjmjGrGXA9qoUSx0boLl3Q2suHY0JLYSDuK8pBghdNV53uJ+ nBw3lbI6t4MGhc5SyA5MBy9zLoXT+l+4r2kBCT0els53PMXyVuaOnyUfOtgAXNsBK+ G+9wTP5FjMIFHZ1w1Wrg0zCHC7VGo1toJP1ROR9E= X-Authentication-Warning: smp5.smallcatbrain.com: Host smp5 [192.168.0.3] claimed to be smp5.smallcatbrain.com Message-ID: <54EA34B1.1080200@smallcatbrain.com> Date: Sun, 22 Feb 2015 11:57:37 -0800 From: Rich Dunkle User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Peter Grehan Subject: Re: openbsd 5.7 beta - not booting completely in bhyve References: <54E9195C.5080708@smallcatbrain.com> <54EA31D2.5080506@freebsd.org> In-Reply-To: <54EA31D2.5080506@freebsd.org> Content-Type: text/plain; charset=windows-1252 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:57:46 -0000 On 02/22/2015 11:45, Peter Grehan wrote: > 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. Thank you for the information. I now have 5.7 OpenBSD running in Bhyve.