Date: Tue, 9 Oct 2018 09:19:36 +0000 From: Matt Churchyard <matt.churchyard@userve.net> To: Victor Sudakov <vas@mpeks.tomsk.su>, =?iso-8859-1?Q?Josias_L=2E_Gon=E7alves?= <josiaslg@bsd.com.br> Cc: "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org> Subject: RE: [vm-bhyve] Does anyone have a vm template for Linux Mint ? Message-ID: <e915a0a425c0466a8ab9463df4b5613f@SERVER.ad.usd-group.com> In-Reply-To: <20181009021713.GA88207@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> <CANgqCK-MFP76pwM-o3YigZgxVYvtt%2BV%2BcdwXwc1eLH-P8guL5Q@mail.gmail.com> <20181009021713.GA88207@admin.sibptus.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Josias L. Gon=E7alves wrote: > > > 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. >=20 >=20 > 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 Well, not everything from your list. I have currently >root@vas:~ # pkg info -a | egrep 'bhyve|uefi' >grub2-bhyve-0.40_4 Grub-emu loader for bhyve >uefi-edk2-bhyve-0.1,1 UEFI-EDK2 firmware for bhyve >uefi-edk2-bhyve-csm-0.1,1 UEFI-EDK2 firmware for bhyve with CSM >vm-bhyve-1.2.3 Management system for bhyve virtual machine= s >root@vas:~ # >bhyve-firmware: is a metaport for uefi-edk2-bhyve and uefi-edk2-bhyve-csm,= I already have them both installed. But no harm installing it also. >bhyve-rc-3: "FreeBSD RC script for starting bhyve guests in tmux" - I defi= nitely don't need it because I use vm-bhyve for VM management. >libhyve-remote-0.1.4.2: well, maybe this one is the culprit. We shall see = tonight if its presence makes any difference. As you mention all the required firmware is installed by the bhyve-firmware= port. You do not need to install the edk2 ports. Grub2 is not required either if you're using UEFI, although you'll need it = to run any guests with loader=3D"grub" and there's no harm having it around= if you're using bhyve. I've never heard of libhyve-remote until now. This is an additional compone= nt (something to do with FreeNAS by the look of it) and has nothing to do w= ith the actual running of bhyve or vm-bhyve. Personally I've never had success with the CSM firmware (other that with Sm= artOS which was following instructions from the original bhyve devs). My un= derstanding is that CSM is supposed to emulate a traditional BIOS, so anyth= ing that would boot on a BIOS should work (or at least try to boot). Howeve= r I usually just get a blank screen and nothing else. I have successfully** installed Ubuntu 16.04 (via VNC) using the following = template, which is just a basic UEFI config with virtio network/disk. uefi=3D"yes" graphics=3D"yes" xhci_mouse=3D"yes" cpu=3D2 memory=3D2G network0_type=3D"virtio-net" network0_switch=3D"public" disk0_type=3D"virtio-blk" disk0_name=3D"disk0.img" **I did have two fairly annoying issues getting 16.04 to work - 1) After installation it seemed to refuse to reboot without me removing the= install CD, which I obviously couldn't do. I ended up powering off the sys= tem manually with "vm poweroff guest" 2) It then would not boot due to the fact that Ubuntu 16.04 puts the bootlo= ader in a non-default location, then uses efivars to tell UEFI how to find = it. Unfortunately the bhyve EFI firmware still does not save efivars, so an= y specific boot options set by a guest are lost on restart. I had to escape= to the EFI shell and manually choose the EFI/ubuntu/grubx64.efi loader. Se= e my post #11 on this forum post for more details - https://forums.freebsd.= org/threads/how-to-install-a-ubuntu-guest-in-bhyve.66767/ Matt -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ _______________________________________________ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/m= ailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebs= d.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e915a0a425c0466a8ab9463df4b5613f>