Booting multi user mode in bhyve

Aryeh Friedman aryeh.friedman at gmail.com
Sun May 24 18:25:33 UTC 2020


On some motherboards and AMD processors you need to load the modules at
boot time (bug?) for example on my MSI B450 Tomahawk w/ a Ryzen 5 2600x it
refused to work unless I put the kernel modules in /boot/loader.conf and
the above sysctl into /etc/sysctl.conf.

What is the output of kldstat?

On Sun, May 24, 2020 at 2:19 PM Brandon helsley <brandon.helsley at hotmail.com>
wrote:

> # *ifconfig tap0 create*# *sysctl net.link.tap.up_on_open=1*
> net.link.tap.up_on_open: 0 -> 1# *ifconfig bridge0 create*# *ifconfig bridge0 addm igb0 addm tap0*# *ifconfig bridge0 up*
>
>
> # *truncate -s 16G guest.img*
>
> # *fetch ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-amd64/10.0/FreeBSD-10.0-RELEASE-amd64-bootonly.iso <ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-amd64/10.0/FreeBSD-10.0-RELEASE-amd64-bootonly.iso>*
>
> # *sh /usr/share/examples/bhyve/vmrun.sh -c 4 -m 1024M -t tap0 -d guest.img -i -I FreeBSD-10.0-RELEASE-amd64-bootonly.iso guestname*
>
> I'm on freebsd 12.1 p5
>
> Sent from Outlook Mobile <https://aka.ms/blhgte>
>


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


More information about the freebsd-virtualization mailing list