Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Oct 2018 18:01:17 -0300
From:      =?UTF-8?Q?Josias_L=2E_Gon=C3=A7alves?= <josiaslg@bsd.com.br>
To:        vas@mpeks.tomsk.su
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: [vm-bhyve] Does anyone have a vm template for Linux Mint ?
Message-ID:  <CANgqCK-MFP76pwM-o3YigZgxVYvtt%2BV%2BcdwXwc1eLH-P8guL5Q@mail.gmail.com>
In-Reply-To: <20181008145233.GA78859@admin.sibptus.ru>
References:  <20181006141906.GA10597@admin.sibptus.ru> <CANgqCK-zKn6BNRfjmuee=10dCA7s_=aecMDpDBo8jZL_gqpPTw@mail.gmail.com> <20181008133604.GA77358@admin.sibptus.ru> <20181008143806.GA78665@admin.sibptus.ru> <20181008145233.GA78859@admin.sibptus.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Em seg, 8 de out de 2018 =C3=A0s 11:52, Victor Sudakov <vas@mpeks.tomsk.su>
escreveu:

> Victor Sudakov wrote:
> > Victor Sudakov wrote:
> > > Josias L. Gon=C3=A7alves wrote:
> > > > My ubuntu is something like that:
> > > >
> > > > uefi=3D"csm"
> > > ^^^^^^^^^^^^^^^^^^^
> > >
> > > This is supposed to be the key feature! I did not know about UEFI-CSM=
.
> > >
> > > However, when I start the vm:
> > >
> > >  # vm install mint linuxmint-19-cinnamon-64bit-v2.iso
> > > Starting mint
> > >   * found guest in /d02/vm/mint
> > >   * booting...
> > >
> > >
> > > the TightVNC "console" is just a blank rectangle. Nothing ever
> happens.
> >
> > I get the same blank rectangle with Ubuntu (vm install mint
> ubuntu-16.04-desktop-amd64.iso)
> > So there must be something amiss in my setup.
>
> The log:
>
>
> =D0=BE=D0=BA=D1=82. 08 21:46:29: initialising
> =D0=BE=D0=BA=D1=82. 08 21:46:29:  [loader: none]
> =D0=BE=D0=BA=D1=82. 08 21:46:29:  [uefi: csm]
> =D0=BE=D0=BA=D1=82. 08 21:46:29:  [cpu: 1]
> =D0=BE=D0=BA=D1=82. 08 21:46:29:  [memory: 2G]
> =D0=BE=D0=BA=D1=82. 08 21:46:29:  [hostbridge: standard]
> =D0=BE=D0=BA=D1=82. 08 21:46:29:  [com ports: com1]
> =D0=BE=D0=BA=D1=82. 08 21:46:29:  [uuid: f9bbfaab-cafc-11e8-8d16-5404a6b4=
9a66]
> =D0=BE=D0=BA=D1=82. 08 21:46:29:  [utctime: yes]
> =D0=BE=D0=BA=D1=82. 08 21:46:29:  [debug mode: no]
> =D0=BE=D0=BA=D1=82. 08 21:46:29:  [primary disk: disk0.img]
> =D0=BE=D0=BA=D1=82. 08 21:46:29:  [primary disk dev: file]
> =D0=BE=D0=BA=D1=82. 08 21:46:29: initialising network device tap1
> =D0=BE=D0=BA=D1=82. 08 21:46:29: adding tap1 -> bridge0 (main addm)
> =D0=BE=D0=BA=D1=82. 08 21:46:29: bring up tap1 -> bridge0 (main addm)
> =D0=BE=D0=BA=D1=82. 08 21:46:29: booting
> =D0=BE=D0=BA=D1=82. 08 21:46:29:  [bhyve options: -c 1 -m 2G -Hwl
> bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI_CSM.fd -U
> f9bbfaab-cafc-11e8-8d16-5404a6b49a66 -u]
> =D0=BE=D0=BA=D1=82. 08 21:46:29:  [bhyve devices: -s 0,hostbridge -s 31,l=
pc -s
> 4:0,virtio-blk,/d02/vm/mint/disk0.img -s
> 5:0,virtio-net,tap1,mac=3D58:9c:fc:08:91:3d -s 6:0,fbuf,tcp=3D0.0.0.0:590=
9
> ,wait]
> =D0=BE=D0=BA=D1=82. 08 21:46:29:  [bhyve console: -l com1,/dev/nmdm-mint.=
1A]
> =D0=BE=D0=BA=D1=82. 08 21:46:29:  [bhyve iso device: -s
> 3:0,ahci-cd,/d02/vm/.iso/ubuntu-16.04-desktop-amd64.iso]
> =D0=BE=D0=BA=D1=82. 08 21:46:29: starting bhyve (run 1)
> =D0=BE=D0=BA=D1=82. 08 21:50:08: bhyve exited with status 143
> =D0=BE=D0=BA=D1=82. 08 21:50:08: destroying network device tap1
> =D0=BE=D0=BA=D1=82. 08 21:50:08: stopped
>
> I waited about 4 minutes before sending "vm mint stop" looking into
> the blank VNC console.
>
> --
> Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
> 2:5005/49@fidonet http://vas.tomsk.ru/



Verify if everything is installed:
pkg install bhyve-firmware-1.0_1 bhyve-rc-3 grub2-bhyve-0.40_5
libhyve-remote-0.1.4.2 uefi-edk2-bhyve-0.1,1 uefi-edk2-bhyve-csm-0.1,1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANgqCK-MFP76pwM-o3YigZgxVYvtt%2BV%2BcdwXwc1eLH-P8guL5Q>