From owner-freebsd-virtualization@FreeBSD.ORG Thu Jan 23 08:46:51 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E8C05C46 for ; Thu, 23 Jan 2014 08:46:50 +0000 (UTC) Received: from mail-pa0-x232.google.com (mail-pa0-x232.google.com [IPv6:2607:f8b0:400e:c03::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B8E5C133D for ; Thu, 23 Jan 2014 08:46:50 +0000 (UTC) Received: by mail-pa0-f50.google.com with SMTP id kp14so1592985pab.9 for ; Thu, 23 Jan 2014 00:46:50 -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=6DlKsp1RT5WBJMNo8XECQYmJ/7ufMuUB3Lw8HWytyBA=; b=TlxYQd7LnZ9B7HRcK60UqJUzy8msqbnbHy7TTjYLkEA23VxyBdrRaDLde01WrTj0Fi 76I1+JGXpaTGbvpdHYlInTbv7rSce6yrx7wVLoQDdFigxv06GhD2lM+8LQqI4iZjD6oA Dv8qxYP66XIpzxmwwZyRoycFrgaKEEKbDEV5mQxDAkuYk1Q66C7e66S3RsUifyOjtTgn AbuBAT1dJtwOqaQ6pqu4jJBa+dQe0/fuTRzlZM8SivljRD7CtX27OfI0Nmn8mco+PcYp A20DkHZzrLuk3M0TlTdLJwH9cHPe+u/gPEsQZf3jRDJnNny9S/6UYOfaISg7NCXk8LbL 5k4A== MIME-Version: 1.0 X-Received: by 10.68.43.101 with SMTP id v5mr6800443pbl.149.1390466810383; Thu, 23 Jan 2014 00:46:50 -0800 (PST) Received: by 10.68.155.38 with HTTP; Thu, 23 Jan 2014 00:46:50 -0800 (PST) In-Reply-To: References: <52E0C1D4.9000304@freebsd.org> <52E0D1BB.2050807@callfortesting.org> Date: Thu, 23 Jan 2014 03:46:50 -0500 Message-ID: Subject: Re: Linux on BHyVe in 10.0-RELEASE From: Aryeh Friedman To: =?ISO-8859-1?Q?Jonas_B=FClow?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: freebsd-virtualization 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: Thu, 23 Jan 2014 08:46:51 -0000 I am currently playing with it but from the above I suspect the issue is attempting to use a zvol what happens if you go direct like for example /vms/pri/XXXX (sorry for using petitecloud notatoin but XXX being the location of the raw disk) it should work... I do know when I was playing with QEMU before comiting it to code in PetiteCloud the key to transporting instances back and forth between them was to keep everything as raw disk images.... my guess we some major hacking you could do it out of the box... the real answer though is getting kqemu or vbox working again.... me and Dee (personally and not as the petitecloud development team) would be willing to give $50 to anyone who can get kqemu running on 10 and/or show how to get vbox to work headless On Thu, Jan 23, 2014 at 3:37 AM, Jonas B=FClow wrot= e: > So, the conclusion is that it's not possible to run Linux on bhyve runnin= g > on 10.0-RELEASE ? > > > > /J > > > On Thu, Jan 23, 2014 at 9:24 AM, Michael Dexter > wrote: > > > > > Here's what I've found so far: > > > > vmrun.sh does not like zvols and I am hoping for: > > > > sh vmrun.sh -m 1024 -d /dev/zvol/zroot/vm3 vm3 > > > > It gets as far as: > > > > Writing partition tables [In Progress ] > > Initializing ada0p2 [ Failed ] > > > > I am trying to figure out why. > > > > What does work for me for FreeBSD VM's is to prepare /dev/zvol/zroot/vm= 3 > > using the bhyve-script approach and then boot it as usual. > > > > I will include this in an rc version of "bhyve-script" that I hope to > > release shortly. It may not be worth adding the functionality to > > bhyve-script as it is EOL. > > > > Michael > > > > On 1/22/14 11:26 PM, Jonas B=FClow wrote: > > > Yes, if "using zvol" is the same thing as using ZFS for the guest > image. > > > > > > I tried setting DEVTYPE to "" with the same result. > > > > > > /J > > > > > > > > > On Thu, Jan 23, 2014 at 8:16 AM, Peter Grehan > > wrote: > > > > > >> Hi Jonas, > > >> > > >> > > >> Installation starts and everything looks good until it tries to > install > > >>> the > > >>> grub boot loader. That last step fails. Exiting the installer and > > running: > > >>> #sh lin1 start > > >>> Gives a grub prompt. > > >>> > > >>> Any hints? > > >>> > > >> > > >> Are you using a zvol for the guest disk image ? > > >> > > >> later, > > >> > > >> Peter. > > >> > > >> > > > _______________________________________________ > > > 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" > > > > > > > > _______________________________________________ > 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" > --=20 Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org