Date: Tue, 31 May 2016 08:42:42 -0400 From: "James B. Byrne" <byrnejb@harte-lyne.ca> To: "Bernt Hansson" <bah@bananmonarki.se> Cc: byrnejb@harte-lyne.ca, freebsd-questions@freebsd.org Subject: Re: Creating a BHyve guest Message-ID: <a1eb25a4f4bc7adfdf5dc1b85c8d8e4b.squirrel@webmail.harte-lyne.ca> In-Reply-To: <3ff07779-8360-51e5-e7df-13ba08631dc2@bananmonarki.se> References: <d435a7014c22a8c2aa2aa432ad5ae2e1.squirrel@webmail.harte-lyne.ca> <3ff07779-8360-51e5-e7df-13ba08631dc2@bananmonarki.se>
index | next in thread | previous in thread | raw e-mail
On Tue, May 31, 2016 03:26, Bernt Hansson wrote:
> On 2016-05-30 20:34, James B. Byrne via freebsd-questions wrote:
>> This all seems to work as documented. I configure the new vm,
>> confirm
>> my choices and shut down. When I attempt to restart the new system
>> using either of the following then the attempt fails.
>>
>> bhyve -A -H -P -s 0:0,hostbridge \
>>> -s 1:0,lpc \
>>> -s 2:0,virtio-net,tap0 \
>>> -s 3:0,virtio-blk,/dev/zvol/zroot/vm/samba_dc01.img \
>>> -l com1,stdio -c 2 -m 4096M \
>>> samba_dc01
>> virtual machine cannot be booted
>>
>> or
>>
>> sh /usr/share/examples/bhyve/vmrun.sh \
>>> -c 2 -m 4096M -t tap0 \
>>> -d samba_dc01.img \
>>> samba_dc01
>> Launching virtual machine "samba_dc01" ...
>> Installation CDROM image "./release.iso" is not readable
>>
>>
>> I cannot see any other steps in the documentation that I have read.
>> What am I missing or what am I doing wrong?
>>
>>
> You need to set the correct iso filename in vmrun.sh.
>
> Line 40
> DEFAULT_ISOFILE="./release.iso"
>
>
>
I thought that I had already installed the OS from the iso in step 5.
I am now at the point of rebooting the installed OS. That implies
that the need for a boot CD is no longer present. Why is the CD image
still necessary? And why is this step not documented in the handbook
if it is in fact required?
--
*** e-Mail is NOT a SECURE channel ***
Do NOT transmit sensitive data via e-Mail
Do NOT open attachments nor follow links sent by e-Mail
James B. Byrne mailto:ByrneJB@Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a1eb25a4f4bc7adfdf5dc1b85c8d8e4b.squirrel>
