Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Feb 2015 21:04:19 +0100
From:      Yamagi Burmeister <lists@yamagi.org>
To:        wjw@digiware.nl
Cc:        freebsd-virtualization@freebsd.org, allanjude@freebsd.org
Subject:   Re: Running grub-bhyve in the background???
Message-ID:  <20150208210419.4c503d676018682f63babcc3@yamagi.org>
In-Reply-To: <54D77879.2040903@digiware.nl>
References:  <54D6B62F.5030003@digiware.nl> <54D6BD46.6000707@freebsd.org> <54D77879.2040903@digiware.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 08 Feb 2015 15:53:45 +0100
Willem Jan Withagen <wjw@digiware.nl> wrote:

> A inbetween sulution at the moment is to run grub-bhyve -c /dev/null.
> That continues, dus does not offer the possibility to interfere in the
> boot process. At least not for my ubuntu-12.04 VMs.

I hacked around that problem by writing one bit into the nmdm device.
Or to say it in code:

true > $NMDMB &
sleep 0.5
/usr/local/sbin/grub-bhyve -r $BOOT -m $MAP -M $MEMORY -c $NMDMA $NAME &

It's not a nice solution but at least it works reliable. 

Regards,
Yamagi

-- 
Homepage:  www.yamagi.org
XMPP:      yamagi@yamagi.org
GnuPG/GPG: 0xEFBCCBCB



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