Booting multi user mode in bhyve

Brandon helsley brandon.helsley at hotmail.com
Sun May 24 19:17:47 UTC 2020


Which sysctl do you use, I didn't see it above. I will send you kldstat

Sent from Outlook Mobile<https://aka.ms/blhgte>

________________________________
From: Aryeh Friedman <aryeh.friedman at gmail.com>
Sent: Sunday, May 24, 2020 12:25:19 PM
To: Brandon helsley <brandon.helsley at hotmail.com>
Cc: freebsd-virtualization at freebsd.org <freebsd-virtualization at freebsd.org>
Subject: Re: Booting multi user mode in bhyve

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<mailto: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

# 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