Fwd: Linux on BHyVe in 10.0-RELEASE

Aryeh Friedman aryeh.friedman at gmail.com
Thu Jan 23 09:39:22 UTC 2014


---------- Forwarded message ----------
From: Aryeh Friedman <aryeh.friedman at gmail.com>
Date: Thu, Jan 23, 2014 at 4:38 AM
Subject: Re: Linux on BHyVe in 10.0-RELEASE
To: Jonas Bülow <jonas.bulow at gmail.com>


Try:

truncat --size 10G disk.img
bhyve.... -d disk.img


On Thu, Jan 23, 2014 at 4:37 AM, Jonas Bülow <jonas.bulow at gmail.com> wrote:

> I tried to run from an USB drive with a standard file backend (non ZFS?).
>
> Mounted as:
>
> /dev/da5p1 on /mnt (ufs, local, soft-updates)
>
> Installation of ubuntu still fails when trying to install the grub
> bootloader.
>
> /J
>
>
> On Thu, Jan 23, 2014 at 9:58 AM, Aryeh Friedman <aryeh.friedman at gmail.com>wrote:
>
>> Does using the standard file backed bhye work?
>>
>>
>> On Thu, Jan 23, 2014 at 3:56 AM, Jonas Bülow <jonas.bulow at gmail.com>wrote:
>>
>>> fwiw, I do not have any /dev/zvol in the host. I'm using a vanilla
>>> FreeBSD
>>> 10.0-Release install using ZFS.
>>>
>>> /J
>>>
>>>
>>> On Thu, Jan 23, 2014 at 9:24 AM, Michael Dexter
>>> <editor at callfortesting.org>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/vm3
>>> > 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ülow 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 <grehan at freebsd.org>
>>> > 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 at freebsd.org mailing list
>>> > > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
>>> > > To unsubscribe, send any mail to "
>>> > freebsd-virtualization-unsubscribe at freebsd.org"
>>> > >
>>> >
>>> >
>>> _______________________________________________
>>> freebsd-virtualization at freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
>>> To unsubscribe, send any mail to "
>>> freebsd-virtualization-unsubscribe at freebsd.org"
>>>
>>
>>
>>
>> --
>> Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org
>>
>
>


-- 
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org



-- 
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org


More information about the freebsd-virtualization mailing list