From owner-freebsd-virtualization@FreeBSD.ORG Sun Feb 8 01:05:05 2015 Return-Path: Delivered-To: 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 6F1118A3 for ; Sun, 8 Feb 2015 01:05:05 +0000 (UTC) Received: from smtp.digiware.nl (unknown [IPv6:2001:4cb8:90:ffff::3]) (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 31A4FF54 for ; Sun, 8 Feb 2015 01:05:02 +0000 (UTC) Received: from rack1.digiware.nl (unknown [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id EA61016A405 for ; Sun, 8 Feb 2015 02:04:57 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.nl Received: from smtp.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XBSCFrR-yk7A; Sun, 8 Feb 2015 02:04:47 +0100 (CET) Received: from [192.168.10.9] (vaio [192.168.10.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id 093C916A402 for ; Sun, 8 Feb 2015 02:04:47 +0100 (CET) Message-ID: <54D6B62F.5030003@digiware.nl> Date: Sun, 08 Feb 2015 02:04:47 +0100 From: Willem Jan Withagen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: virtualization@FreeBSD.org Subject: Running grub-bhyve in the background??? Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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, 08 Feb 2015 01:05:05 -0000 Hi (Peter), I'm trying to run grub-bhyve completely automated but when I run my version of vmrun.sh like ../bin/bhyve-run -f /usr/local/etc/ezbhyve/Ubuntu1204A/rc.conf & Thegrub-bhyve loader waits for me to forground it again, because it wants to write to the output. Probably this is due to the use of curses, which only continues if it is actually connected to the foreground. ==== + /usr/local/sbin/grub-bhyve -e -vvv -r hd0,msdos1 -m ./ubuntu-12.04.map -M 2048M ubuntu-12.04.1 [2] + Suspended (tty output) ../bin/bhyve-run -f /usr/local/etc/ezbhyve/Ubuntu1204A/rc.conf ==== Is it possible on the commandline to get grub-bhyve to continue regardless the backgrounded state? Regards, --Willem Jan