Date: Mon, 11 May 2020 15:00:38 +0000 From: Brandon helsley <brandon.helsley@hotmail.com> To: Aryeh Friedman <aryeh.friedman@gmail.com> Cc: "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org> Subject: Re: Bhyve iso Message-ID: <CY4PR19MB16556D1DA82793AE978A91C0F9A10@CY4PR19MB1655.namprd19.prod.outlook.com> In-Reply-To: <CAGBxaXm-4McryhTwjv-mjdGPnD5=tmGYY%2BX8A54O%2B-VnsMwAgA@mail.gmail.com> References: <CY4PR19MB1655A27EFE20217E948D7A5EF9A10@CY4PR19MB1655.namprd19.prod.outlook.com> <CAGBxaX=E=sUw4qHnM0iR78MNdZX=aUDeexzMuTT1=DE=%2BhK4QA@mail.gmail.com> <CY4PR19MB165506449C43939A9A6FAB71F9A10@CY4PR19MB1655.namprd19.prod.outlook.com>, <CAGBxaXm-4McryhTwjv-mjdGPnD5=tmGYY%2BX8A54O%2B-VnsMwAgA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
What does script mean? Sent from Outlook Mobile<https://aka.ms/blhgte> ________________________________ From: Aryeh Friedman <aryeh.friedman@gmail.com> Sent: Monday, May 11, 2020 8:05:59 AM To: Brandon helsley <brandon.helsley@hotmail.com> 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.helsley@hotmail.co= m<mailto:brandon.helsley@hotmail.com>> wrote: What is option for adding another drive? Ahci is under -s but I don't see a= nything relevant. Here is an example script for install FreeBSD and then rebooting the VM aft= er 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=3Dadda5345720edee1 /usr/sbin/bhyve -c cores=3D4 -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=3D0.0.0.0:5906<http= ://0.0.0.0:5906>,w=3D800,h=3D600 -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=3Dadda5345720edee1 /usr/sbin/bhyve -c cores=3D4 -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= =3D0.0.0.0:5906<http://0.0.0.0:5906>,w=3D800,h=3D600 -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 <aryeh.friedman@gmail.com<mailto:aryeh.friedman@gmail.= com>> Sent: Monday, May 11, 2020 7:32:23 AM To: Brandon helsley <brandon.helsley@hotmail.com<mailto:brandon.helsley@hot= mail.com>> Cc: freebsd-virtualization@freebsd.org<mailto:freebsd-virtualization@freebs= d.org> <freebsd-virtualization@freebsd.org<mailto:freebsd-virtualization@fr= eebsd.org>> Subject: Re: Bhyve iso On Mon, May 11, 2020 at 9:26 AM Brandon helsley <brandon.helsley@hotmail.co= m<mailto:brandon.helsley@hotmail.com>> wrote: In setting up bhyve today, or at least learning how, and I'm stuck at the p= art 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 th= is 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CY4PR19MB16556D1DA82793AE978A91C0F9A10>