Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Feb 2015 11:45:22 -0800
From:      Peter Grehan <grehan@freebsd.org>
To:        Rich Dunkle <rdunkle@smallcatbrain.com>
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: openbsd 5.7 beta - not booting completely in bhyve
Message-ID:  <54EA31D2.5080506@freebsd.org>
In-Reply-To: <54E9195C.5080708@smallcatbrain.com>
References:  <54E9195C.5080708@smallcatbrain.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54EA31D2.5080506>