Re: Bhyve iso

2020-05-13 Thread Aryeh Friedman
On Wed, May 13, 2020 at 11:05 AM Brandon helsley <
brandon.hels...@hotmail.com> wrote:

> So a script is a list of commands? I looked at petite cloud and wasn't
> sure what it is. Does it generate a script that is a list of commands?
>

Yes a script, in its simplest form (Unix shell scripts are Turing complete
and thus in theory can do anything is possible to do on a general purpose
computer), is a list of commands.

PetiteCloud is a web (and as soon I get back to it in any serious way API
frontend) to bhyve and other hypervisors.   In order to do it's work it
generates scripts and runs them (this was a purposeful design decision so
the user can customize the script later and it also off loads as much of
the work as possible onto the underlaying OS, thus the name petite).  In
the jargon of the web page this is the cloud foundation layer on which you
can layer higher level cloud computing services on.

>
> Sent from Outlook Mobile <https://aka.ms/blhgte>
> --
> *From:* Aryeh Friedman 
> *Sent:* Monday, May 11, 2020 9:13:12 AM
> *To:* Brandon helsley 
> *Cc:* freebsd-virtualization@freebsd.org <
> freebsd-virtualization@freebsd.org>
> *Subject:* Re: Bhyve iso
>
>
>
> On Mon, May 11, 2020 at 11:00 AM Brandon helsley <
> brandon.hels...@hotmail.com> wrote:
>
> What does script mean?
>
>
> Refer to the man pages for each command.   The 10,000 ft view of the
> script though is the first call to bhyve does the install and the second
> one restarts the machine after the install.   The way each iteration is
> done is basically as follows:
>
> 1. Stop/destroy any existing running instances of the machine
> (Install only 1a. Create the file(s) needed to back the virtual hard
> drive(s))
> 2. Set up the networking needed connect the VM into the external LAN with
> a valid/routable connection
> 3. Run bhyve
> 4. Do any additional book keeping needed to allow PetiteCloud (the program
> that generated the script) to manage the VM instance from it's web interface
>
>
> Sent from Outlook Mobile <https://aka.ms/blhgte>
> --
> *From:* Aryeh Friedman 
> *Sent:* Monday, May 11, 2020 8:05:59 AM
> *To:* Brandon helsley 
> *Cc:* freebsd-virtualization@freebsd.org <
> freebsd-virtualization@freebsd.org>
> *Subject:* Re: Bhyve iso
>
>
>
> On Mon, May 11, 2020 at 9:45 AM Brandon helsley <
> brandon.hels...@hotmail.com> wrote:
>
> What is option for adding another drive? Ahci is under -s but I don't see
> anything relevant.
>
>
> Here is an example script for install FreeBSD and then rebooting the VM
> after the install:
>
> #!/bin/sh
> #
> # Generated by PetiteCloud 0.2.6
> #
>
> truncate -s 750G /vms/pri/dfdebf870cff2e43
> ifconfig tap6 destroy
> ifconfig tap6 create
> ifconfig tap6 up
> sleep 5
> ifconfig bridge0 addm tap6 up
> bhyvectl --destroy --vm=adda5345720edee1
> /usr/sbin/bhyve -c cores=4 -m 8192 -AI -H -P -w -g 0 -s 0:0,hostbridge -s
> 1,virtio-net,tap6 -s 2,ahci-hd,/vms/pri/dfdebf870cff2e43 -s
> 3,ahci-cd,/vms/cds/FreeBSD-12.1-RELEASE-amd64-dvd1.iso -s 29,fbuf,tcp=
> 0.0.0.0:5906,w=800,h=600 -s 30,xhci,tablet  -s 31,lpc -l com1,stdio -l
> bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd adda5345720edee1
> echo $!>/var/run/petitecloud/adda5345720edee1
> sleep 10
> ifconfig tap6 destroy
> ifconfig tap6 create
> ifconfig tap6 up
> sleep 5
> ifconfig bridge0 addm tap6 up
> bhyvectl --destroy --vm=adda5345720edee1
> /usr/sbin/bhyve -c cores=4 -m 8192 -AI -H -P -w -g 0 -s 0:0,hostbridge -s
> 1,virtio-net,tap6 -s 2,ahci-hd,/vms/pri/dfdebf870cff2e43  -s 29,fbuf,tcp=
> 0.0.0.0:5906,w=800,h=600 -s 30,xhci,tablet  -s 31,lpc -l com1,/dev/nmdm6B
> -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd
> adda5345720edee1&>/dev/null
> echo $!>/var/run/petitecloud/adda5345720edee1
> sleep 10
>
>
> Sent from Outlook Mobile <https://aka.ms/blhgte>
> --
> *From:* Aryeh Friedman 
> *Sent:* Monday, May 11, 2020 7:32:23 AM
> *To:* Brandon helsley 
> *Cc:* freebsd-virtualization@freebsd.org <
> freebsd-virtualization@freebsd.org>
> *Subject:* Re: Bhyve iso
>
>
>
> On Mon, May 11, 2020 at 9:26 AM Brandon helsley <
> brandon.hels...@hotmail.com> wrote:
>
> In setting up bhyve today, or at least learning how, and I'm stuck at the
> part after I create with truncate the device map image. I'm supposed to put
> an iso with the devicemap.img and then boot from grub. How do I complete
> this last step with the iso? Could someone please help?
>
>
> See man page for bhyve but basically what you do is you add an other

Re: Bhyve iso

2020-05-13 Thread Brandon helsley
So a script is a list of commands? I looked at petite cloud and wasn't sure 
what it is. Does it generate a script that is a list of commands?

Sent from Outlook Mobile<https://aka.ms/blhgte>

From: Aryeh Friedman 
Sent: Monday, May 11, 2020 9:13:12 AM
To: Brandon helsley 
Cc: freebsd-virtualization@freebsd.org 
Subject: Re: Bhyve iso



On Mon, May 11, 2020 at 11:00 AM Brandon helsley 
mailto:brandon.hels...@hotmail.com>> wrote:
What does script mean?

Refer to the man pages for each command.   The 10,000 ft view of the script 
though is the first call to bhyve does the install and the second one restarts 
the machine after the install.   The way each iteration is done is basically as 
follows:

1. Stop/destroy any existing running instances of the machine
(Install only 1a. Create the file(s) needed to back the virtual hard drive(s))
2. Set up the networking needed connect the VM into the external LAN with a 
valid/routable connection
3. Run bhyve
4. Do any additional book keeping needed to allow PetiteCloud (the program that 
generated the script) to manage the VM instance from it's web interface


Sent from Outlook Mobile<https://aka.ms/blhgte>

From: Aryeh Friedman mailto:aryeh.fried...@gmail.com>>
Sent: Monday, May 11, 2020 8:05:59 AM
To: Brandon helsley 
mailto:brandon.hels...@hotmail.com>>
Cc: 
freebsd-virtualization@freebsd.org<mailto:freebsd-virtualization@freebsd.org> 
mailto:freebsd-virtualization@freebsd.org>>
Subject: Re: Bhyve iso



On Mon, May 11, 2020 at 9:45 AM Brandon helsley 
mailto:brandon.hels...@hotmail.com>> wrote:
What is option for adding another drive? Ahci is under -s but I don't see 
anything relevant.

Here is an example script for install FreeBSD and then rebooting the VM after 
the install:

#!/bin/sh
#
# Generated by PetiteCloud 0.2.6
#

truncate -s 750G /vms/pri/dfdebf870cff2e43
ifconfig tap6 destroy
ifconfig tap6 create
ifconfig tap6 up
sleep 5
ifconfig bridge0 addm tap6 up
bhyvectl --destroy --vm=adda5345720edee1
/usr/sbin/bhyve -c cores=4 -m 8192 -AI -H -P -w -g 0 -s 0:0,hostbridge -s 
1,virtio-net,tap6 -s 2,ahci-hd,/vms/pri/dfdebf870cff2e43 -s 
3,ahci-cd,/vms/cds/FreeBSD-12.1-RELEASE-amd64-dvd1.iso -s 
29,fbuf,tcp=0.0.0.0:5906<http://0.0.0.0:5906>,w=800,h=600 -s 30,xhci,tablet  -s 
31,lpc -l com1,stdio -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd 
adda5345720edee1
echo $!>/var/run/petitecloud/adda5345720edee1
sleep 10
ifconfig tap6 destroy
ifconfig tap6 create
ifconfig tap6 up
sleep 5
ifconfig bridge0 addm tap6 up
bhyvectl --destroy --vm=adda5345720edee1
/usr/sbin/bhyve -c cores=4 -m 8192 -AI -H -P -w -g 0 -s 0:0,hostbridge -s 
1,virtio-net,tap6 -s 2,ahci-hd,/vms/pri/dfdebf870cff2e43  -s 
29,fbuf,tcp=0.0.0.0:5906<http://0.0.0.0:5906>,w=800,h=600 -s 30,xhci,tablet  -s 
31,lpc -l com1,/dev/nmdm6B -l 
bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd adda5345720edee1&>/dev/null
echo $!>/var/run/petitecloud/adda5345720edee1
sleep 10

Sent from Outlook Mobile<https://aka.ms/blhgte>

From: Aryeh Friedman mailto:aryeh.fried...@gmail.com>>
Sent: Monday, May 11, 2020 7:32:23 AM
To: Brandon helsley 
mailto:brandon.hels...@hotmail.com>>
Cc: 
freebsd-virtualization@freebsd.org<mailto:freebsd-virtualization@freebsd.org> 
mailto:freebsd-virtualization@freebsd.org>>
Subject: Re: Bhyve iso



On Mon, May 11, 2020 at 9:26 AM Brandon helsley 
mailto:brandon.hels...@hotmail.com>> wrote:
In setting up bhyve today, or at least learning how, and I'm stuck at the part 
after I create with truncate the device map image. I'm supposed to put an iso 
with the devicemap.img and then boot from grub. How do I complete this last 
step with the iso? Could someone please help?

See man page for bhyve but basically what you do is you add an other drive like 
you do the disks but instead of saying the block device is AHCI-HD or VirtIOBlk 
you say it is AHCI-CD.

--
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
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Bhyve iso

2020-05-11 Thread Aryeh Friedman
On Mon, May 11, 2020 at 11:00 AM Brandon helsley <
brandon.hels...@hotmail.com> wrote:

> What does script mean?
>

Refer to the man pages for each command.   The 10,000 ft view of the script
though is the first call to bhyve does the install and the second one
restarts the machine after the install.   The way each iteration is done is
basically as follows:

1. Stop/destroy any existing running instances of the machine
(Install only 1a. Create the file(s) needed to back the virtual hard
drive(s))
2. Set up the networking needed connect the VM into the external LAN with a
valid/routable connection
3. Run bhyve
4. Do any additional book keeping needed to allow PetiteCloud (the program
that generated the script) to manage the VM instance from it's web interface


> Sent from Outlook Mobile <https://aka.ms/blhgte>
> --
> *From:* Aryeh Friedman 
> *Sent:* Monday, May 11, 2020 8:05:59 AM
> *To:* Brandon helsley 
> *Cc:* freebsd-virtualization@freebsd.org <
> freebsd-virtualization@freebsd.org>
> *Subject:* Re: Bhyve iso
>
>
>
> On Mon, May 11, 2020 at 9:45 AM Brandon helsley <
> brandon.hels...@hotmail.com> wrote:
>
> What is option for adding another drive? Ahci is under -s but I don't see
> anything relevant.
>
>
> Here is an example script for install FreeBSD and then rebooting the VM
> after the install:
>
> #!/bin/sh
> #
> # Generated by PetiteCloud 0.2.6
> #
>
> truncate -s 750G /vms/pri/dfdebf870cff2e43
> ifconfig tap6 destroy
> ifconfig tap6 create
> ifconfig tap6 up
> sleep 5
> ifconfig bridge0 addm tap6 up
> bhyvectl --destroy --vm=adda5345720edee1
> /usr/sbin/bhyve -c cores=4 -m 8192 -AI -H -P -w -g 0 -s 0:0,hostbridge -s
> 1,virtio-net,tap6 -s 2,ahci-hd,/vms/pri/dfdebf870cff2e43 -s
> 3,ahci-cd,/vms/cds/FreeBSD-12.1-RELEASE-amd64-dvd1.iso -s 29,fbuf,tcp=
> 0.0.0.0:5906,w=800,h=600 -s 30,xhci,tablet  -s 31,lpc -l com1,stdio -l
> bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd adda5345720edee1
> echo $!>/var/run/petitecloud/adda5345720edee1
> sleep 10
> ifconfig tap6 destroy
> ifconfig tap6 create
> ifconfig tap6 up
> sleep 5
> ifconfig bridge0 addm tap6 up
> bhyvectl --destroy --vm=adda5345720edee1
> /usr/sbin/bhyve -c cores=4 -m 8192 -AI -H -P -w -g 0 -s 0:0,hostbridge -s
> 1,virtio-net,tap6 -s 2,ahci-hd,/vms/pri/dfdebf870cff2e43  -s 29,fbuf,tcp=
> 0.0.0.0:5906,w=800,h=600 -s 30,xhci,tablet  -s 31,lpc -l com1,/dev/nmdm6B
> -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd
> adda5345720edee1&>/dev/null
> echo $!>/var/run/petitecloud/adda5345720edee1
> sleep 10
>
>
> Sent from Outlook Mobile <https://aka.ms/blhgte>
> ----------
> *From:* Aryeh Friedman 
> *Sent:* Monday, May 11, 2020 7:32:23 AM
> *To:* Brandon helsley 
> *Cc:* freebsd-virtualization@freebsd.org <
> freebsd-virtualization@freebsd.org>
> *Subject:* Re: Bhyve iso
>
>
>
> On Mon, May 11, 2020 at 9:26 AM Brandon helsley <
> brandon.hels...@hotmail.com> wrote:
>
> In setting up bhyve today, or at least learning how, and I'm stuck at the
> part after I create with truncate the device map image. I'm supposed to put
> an iso with the devicemap.img and then boot from grub. How do I complete
> this last step with the iso? Could someone please help?
>
>
> See man page for bhyve but basically what you do is you add an other drive
> like you do the disks but instead of saying the block device is AHCI-HD or
> VirtIOBlk you say it is AHCI-CD.
>
> --
> 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
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Bhyve iso

2020-05-11 Thread Brandon helsley
What does script mean?

Sent from Outlook Mobile<https://aka.ms/blhgte>

From: Aryeh Friedman 
Sent: Monday, May 11, 2020 8:05:59 AM
To: Brandon helsley 
Cc: freebsd-virtualization@freebsd.org 
Subject: Re: Bhyve iso



On Mon, May 11, 2020 at 9:45 AM Brandon helsley 
mailto:brandon.hels...@hotmail.com>> wrote:
What is option for adding another drive? Ahci is under -s but I don't see 
anything relevant.

Here is an example script for install FreeBSD and then rebooting the VM after 
the install:

#!/bin/sh
#
# Generated by PetiteCloud 0.2.6
#

truncate -s 750G /vms/pri/dfdebf870cff2e43
ifconfig tap6 destroy
ifconfig tap6 create
ifconfig tap6 up
sleep 5
ifconfig bridge0 addm tap6 up
bhyvectl --destroy --vm=adda5345720edee1
/usr/sbin/bhyve -c cores=4 -m 8192 -AI -H -P -w -g 0 -s 0:0,hostbridge -s 
1,virtio-net,tap6 -s 2,ahci-hd,/vms/pri/dfdebf870cff2e43 -s 
3,ahci-cd,/vms/cds/FreeBSD-12.1-RELEASE-amd64-dvd1.iso -s 
29,fbuf,tcp=0.0.0.0:5906<http://0.0.0.0:5906>,w=800,h=600 -s 30,xhci,tablet  -s 
31,lpc -l com1,stdio -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd 
adda5345720edee1
echo $!>/var/run/petitecloud/adda5345720edee1
sleep 10
ifconfig tap6 destroy
ifconfig tap6 create
ifconfig tap6 up
sleep 5
ifconfig bridge0 addm tap6 up
bhyvectl --destroy --vm=adda5345720edee1
/usr/sbin/bhyve -c cores=4 -m 8192 -AI -H -P -w -g 0 -s 0:0,hostbridge -s 
1,virtio-net,tap6 -s 2,ahci-hd,/vms/pri/dfdebf870cff2e43  -s 
29,fbuf,tcp=0.0.0.0:5906<http://0.0.0.0:5906>,w=800,h=600 -s 30,xhci,tablet  -s 
31,lpc -l com1,/dev/nmdm6B -l 
bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd adda5345720edee1&>/dev/null
echo $!>/var/run/petitecloud/adda5345720edee1
sleep 10

Sent from Outlook Mobile<https://aka.ms/blhgte>

From: Aryeh Friedman mailto:aryeh.fried...@gmail.com>>
Sent: Monday, May 11, 2020 7:32:23 AM
To: Brandon helsley 
mailto:brandon.hels...@hotmail.com>>
Cc: 
freebsd-virtualization@freebsd.org<mailto:freebsd-virtualization@freebsd.org> 
mailto:freebsd-virtualization@freebsd.org>>
Subject: Re: Bhyve iso



On Mon, May 11, 2020 at 9:26 AM Brandon helsley 
mailto:brandon.hels...@hotmail.com>> wrote:
In setting up bhyve today, or at least learning how, and I'm stuck at the part 
after I create with truncate the device map image. I'm supposed to put an iso 
with the devicemap.img and then boot from grub. How do I complete this last 
step with the iso? Could someone please help?

See man page for bhyve but basically what you do is you add an other drive like 
you do the disks but instead of saying the block device is AHCI-HD or VirtIOBlk 
you say it is AHCI-CD.

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


--
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Bhyve iso

2020-05-11 Thread Aryeh Friedman
On Mon, May 11, 2020 at 9:45 AM Brandon helsley 
wrote:

> What is option for adding another drive? Ahci is under -s but I don't see
> anything relevant.
>

Here is an example script for install FreeBSD and then rebooting the VM
after the install:

#!/bin/sh
#
# Generated by PetiteCloud 0.2.6
#

truncate -s 750G /vms/pri/dfdebf870cff2e43
ifconfig tap6 destroy
ifconfig tap6 create
ifconfig tap6 up
sleep 5
ifconfig bridge0 addm tap6 up
bhyvectl --destroy --vm=adda5345720edee1
/usr/sbin/bhyve -c cores=4 -m 8192 -AI -H -P -w -g 0 -s 0:0,hostbridge -s
1,virtio-net,tap6 -s 2,ahci-hd,/vms/pri/dfdebf870cff2e43 -s
3,ahci-cd,/vms/cds/FreeBSD-12.1-RELEASE-amd64-dvd1.iso -s 29,fbuf,tcp=
0.0.0.0:5906,w=800,h=600 -s 30,xhci,tablet  -s 31,lpc -l com1,stdio -l
bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd adda5345720edee1
echo $!>/var/run/petitecloud/adda5345720edee1
sleep 10
ifconfig tap6 destroy
ifconfig tap6 create
ifconfig tap6 up
sleep 5
ifconfig bridge0 addm tap6 up
bhyvectl --destroy --vm=adda5345720edee1
/usr/sbin/bhyve -c cores=4 -m 8192 -AI -H -P -w -g 0 -s 0:0,hostbridge -s
1,virtio-net,tap6 -s 2,ahci-hd,/vms/pri/dfdebf870cff2e43  -s 29,fbuf,tcp=
0.0.0.0:5906,w=800,h=600 -s 30,xhci,tablet  -s 31,lpc -l com1,/dev/nmdm6B
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd
adda5345720edee1&>/dev/null
echo $!>/var/run/petitecloud/adda5345720edee1
sleep 10

>
> Sent from Outlook Mobile <https://aka.ms/blhgte>
> --
> *From:* Aryeh Friedman 
> *Sent:* Monday, May 11, 2020 7:32:23 AM
> *To:* Brandon helsley 
> *Cc:* freebsd-virtualization@freebsd.org <
> freebsd-virtualization@freebsd.org>
> *Subject:* Re: Bhyve iso
>
>
>
> On Mon, May 11, 2020 at 9:26 AM Brandon helsley <
> brandon.hels...@hotmail.com> wrote:
>
> In setting up bhyve today, or at least learning how, and I'm stuck at the
> part after I create with truncate the device map image. I'm supposed to put
> an iso with the devicemap.img and then boot from grub. How do I complete
> this last step with the iso? Could someone please help?
>
>
> See man page for bhyve but basically what you do is you add an other drive
> like you do the disks but instead of saying the block device is AHCI-HD or
> VirtIOBlk you say it is AHCI-CD.
>
> --
> Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org
>


-- 
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Bhyve iso

2020-05-11 Thread Brandon helsley
Are my questions accurate. I've been reading some of the links that have been 
share with me about freebsd and am trying to make sure I'm asking questions 
correctly.

Sent from Outlook Mobile<https://aka.ms/blhgte>

From: Aryeh Friedman 
Sent: Monday, May 11, 2020 7:32:23 AM
To: Brandon helsley 
Cc: freebsd-virtualization@freebsd.org 
Subject: Re: Bhyve iso



On Mon, May 11, 2020 at 9:26 AM Brandon helsley 
mailto:brandon.hels...@hotmail.com>> wrote:
In setting up bhyve today, or at least learning how, and I'm stuck at the part 
after I create with truncate the device map image. I'm supposed to put an iso 
with the devicemap.img and then boot from grub. How do I complete this last 
step with the iso? Could someone please help?

See man page for bhyve but basically what you do is you add an other drive like 
you do the disks but instead of saying the block device is AHCI-HD or VirtIOBlk 
you say it is AHCI-CD.

--
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Bhyve iso

2020-05-11 Thread Brandon helsley
I haven't had to add any disks anyway. I'm just trying to run the Linux guest 
but when I create the devicemap for the iso and try and find the iso to boot 
from grub, it doesn't show up for ls command under cd0

Sent from Outlook Mobile<https://aka.ms/blhgte>

From: Aryeh Friedman 
Sent: Monday, May 11, 2020 7:32:23 AM
To: Brandon helsley 
Cc: freebsd-virtualization@freebsd.org 
Subject: Re: Bhyve iso



On Mon, May 11, 2020 at 9:26 AM Brandon helsley 
mailto:brandon.hels...@hotmail.com>> wrote:
In setting up bhyve today, or at least learning how, and I'm stuck at the part 
after I create with truncate the device map image. I'm supposed to put an iso 
with the devicemap.img and then boot from grub. How do I complete this last 
step with the iso? Could someone please help?

See man page for bhyve but basically what you do is you add an other drive like 
you do the disks but instead of saying the block device is AHCI-HD or VirtIOBlk 
you say it is AHCI-CD.

--
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Bhyve iso

2020-05-11 Thread Brandon helsley
What is option for adding another drive? Ahci is under -s but I don't see 
anything relevant.

Sent from Outlook Mobile<https://aka.ms/blhgte>

From: Aryeh Friedman 
Sent: Monday, May 11, 2020 7:32:23 AM
To: Brandon helsley 
Cc: freebsd-virtualization@freebsd.org 
Subject: Re: Bhyve iso



On Mon, May 11, 2020 at 9:26 AM Brandon helsley 
mailto:brandon.hels...@hotmail.com>> wrote:
In setting up bhyve today, or at least learning how, and I'm stuck at the part 
after I create with truncate the device map image. I'm supposed to put an iso 
with the devicemap.img and then boot from grub. How do I complete this last 
step with the iso? Could someone please help?

See man page for bhyve but basically what you do is you add an other drive like 
you do the disks but instead of saying the block device is AHCI-HD or VirtIOBlk 
you say it is AHCI-CD.

--
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Bhyve iso

2020-05-11 Thread Aryeh Friedman
On Mon, May 11, 2020 at 9:26 AM Brandon helsley 
wrote:

> In setting up bhyve today, or at least learning how, and I'm stuck at the
> part after I create with truncate the device map image. I'm supposed to put
> an iso with the devicemap.img and then boot from grub. How do I complete
> this last step with the iso? Could someone please help?
>

See man page for bhyve but basically what you do is you add an other drive
like you do the disks but instead of saying the block device is AHCI-HD or
VirtIOBlk you say it is AHCI-CD.

-- 
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"