From owner-freebsd-virtualization@FreeBSD.ORG Sat Feb 22 20:18:45 2014 Return-Path: Delivered-To: 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 50C81643 for ; Sat, 22 Feb 2014 20:18:45 +0000 (UTC) Received: from mail-pa0-x22c.google.com (mail-pa0-x22c.google.com [IPv6:2607:f8b0:400e:c03::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 273101961 for ; Sat, 22 Feb 2014 20:18:45 +0000 (UTC) Received: by mail-pa0-f44.google.com with SMTP id kq14so4862611pab.3 for ; Sat, 22 Feb 2014 12:18:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=zN/qFmdMLI9cGlcX1Shd0Wkn8amzG4fkkC/5AAOoTH4=; b=uI4nkEFzfThx21S1h3ld7q9n9GYW4vrasDrHXZUhE6nCbeKi/b7jWQsCQwZ6klJaGr G/9hLn8fA0k66qTwGD5NG/jAD8pjwi+Tt24bby2e+aLRuXNUDQLLMxljkJKLf5Mk6ytx UfjpFd+MnK9a6TNQVg+dUpZttfW7WTPBKZY1p2MIG7yXPOL9y3ea4aRz1jbLmlNQgC8r xcamKwYtbukI/zFlCE8JnwSQmnMcvC9dixAo4gVd6Gn196xJsG8xGfiDPz5jrSNSTpug 9MzhLlIBpn7SYL0RtcY0bEoqY1tEblNgxUaMs7yoYl0sC2BS18ixoMrnGnWmSecAwHb9 IDzw== MIME-Version: 1.0 X-Received: by 10.68.171.229 with SMTP id ax5mr16240662pbc.125.1393100324328; Sat, 22 Feb 2014 12:18:44 -0800 (PST) Received: by 10.68.155.38 with HTTP; Sat, 22 Feb 2014 12:18:44 -0800 (PST) In-Reply-To: <53090599.5000505@digiware.nl> References: <53090599.5000505@digiware.nl> Date: Sat, 22 Feb 2014 15:18:44 -0500 Message-ID: Subject: Re: Bhyve and booting a ZFS-on-root system From: Aryeh Friedman To: Willem Jan Withagen Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 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: Sat, 22 Feb 2014 20:18:45 -0000 You need a special branch of bhyve to work on AMD (see recent thread on the topic) On Sat, Feb 22, 2014 at 3:16 PM, Willem Jan Withagen wrote: > Hi, > > Just for the fun of it, I tried my build zfs-system scripts in a bhyve-vm. > > I use the 10.0-RELEASE iso to get to a shell, config and interface and > download my script. Installing does work, and on a regular system we can > go and boot into a ZFS-on-Root system. > > In bhyve I get the following, on reboot: > ----- > freetest# vmrun.sh -d test10zfs -t tap1 -m 2048 test10zfs > Launching virtual machine "test10zfs" ... > Consoles: userboot > > FreeBSD/amd64 User boot, Revision 1.1 > (root@freetest.digiware.nl, Tue Feb 11 10:03:58 CET 2014) > \ > can't load 'kernel' > > Type '?' for a list of commands, 'help' for more detailed help. > OK > ------ > > And there is no known way (to me) to educate the loader to understand > zfs disks.... > > Which loader is is used in booting? > a special bhyve-loader > the bootloader in the boot-partition. > > It seems this is the first one. > > If so I'm wondering if the grub-bhyve would be a trick to boot the > Root-on-ZFS system.... > > But then the first question is: > where do I find grub-bhyve > > Any suggestion is welcome... > > BTW: this is on a AMD system. > > BTW2: I read that there could be interest for a dedicated opteron-server > to do bhyve development on.... > I'm more than willing to put my test server in a slot in our datacenter > for people to do testing on. > ---- > CPU: AMD Phenom(tm) II X6 1075T Processor (3013.84-MHz K8-class CPU) > Origin = "AuthenticAMD" Id = 0x100fa0 Family = 0x10 Model = 0xa > Stepping = 0 > > Features=0x178bfbff > Features2=0x802009 > > AMDFeatures=0xee500800 > > AMDFeatures2=0x37ff > > --WjW > > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to " > freebsd-virtualization-unsubscribe@freebsd.org" > -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org