From owner-freebsd-virtualization@FreeBSD.ORG Wed Feb 19 09:02:54 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E52DD985 for ; Wed, 19 Feb 2014 09:02:54 +0000 (UTC) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id A54B71C51 for ; Wed, 19 Feb 2014 09:02:54 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id 424CB123E3; Wed, 19 Feb 2014 19:02:52 +1000 (EST) Received: from Peters-MacBook-Pro.local (c-67-161-27-37.hsd1.ca.comcast.net [67.161.27.37]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BRY03826 (AUTH peterg@ptree32.com.au); Wed, 19 Feb 2014 19:02:51 +1000 Message-ID: <53047333.6050501@freebsd.org> Date: Wed, 19 Feb 2014 01:02:43 -0800 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: "Rudy (bulk)" Subject: Re: SOLVED - Re: New to Bhyve -- help setting up /dev/sda1 and /dev/vda1 References: <53046315.5090804@monkeybrains.net> <5304705B.8000901@monkeybrains.net> In-Reply-To: <5304705B.8000901@monkeybrains.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.17 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: Wed, 19 Feb 2014 09:02:55 -0000 Hi Rudy, > And here is how to launch: > bhyvectl --vm=vm1 --destroy > grub-bhyve -r hd0 -m ./device.map -v -M 2048 vm1 > set root=(hd0,msdos1) > linux /vmlinuz root=/dev/vda1 > initrd /initrd.img > boot You can avoid the command prompt by using the '-r' parameter to specify the root device i.e. grub-bhyve -r hd0,msdos1 -m ./device.map -M 2048 vm1 This should allow grub-bhyve to pick up the Ubuntu grub scripts automatically. later, Peter.