Re: nanoBSD boot problem (on USB stick or as a HD)

From: Eugene Grosbein <eugen_at_grosbein.net>
Date: Thu, 17 Sep 2015 18:14:19 +0700
On 15.09.2015 16:31, Stefano Garzarella wrote:
> Hi all,
> I created a nanoBSD image for my gsoc project (ptnetmap on bhyve).
> 
> I would like to boot this image on USB stick or in the hypervisor as a HD.
> I have some problem because if I set NANO_DRIVE="da0" (for USB boot)
> in the nanoBSD configuration file, the boot from USB stick works well,
> but when I try to boot the same image in the hypervisor as a HD,
> I have the following mountroot error:
> 
> Trying to mount root from ufs:/dev/da0s1a [ro]...
> mountroot: waiting for device /dev/da0s1a ...
> Mounting from ufs:/dev/da0s1a failed with error 19.
> 
> Loader variables:
>    vfs.root.mountfrom=ufs:/dev/da0s1a
>    vfs.root.mountfrom.options=ro
> 
> mountroot>
> 
> 
> At this point I need to manually specify "ufs:/dev/ad0s1a" to properly mount
> the root.
> 
> Can you help me?
> There is some tricks to avoid this mountroot error?

Just make special image for hypervisor using NANO_DRIVE="ad0"
Received on Thu Sep 17 2015 - 09:14:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:59 UTC