So I just need virtualization working with a graphical setup and network.
I tried:
FreeBSD host with VBox
FreeBSD host with Bhyve
VM-Bhyve
Long history short: with VBox the vm's don't even boot, just a black screen. And with bhyve (any setup), everything works fine beside network.
I'm using a T430 with wifi setup. Altough I use a lagg interface, I currently don't have access to a wired network.
Here is my /boot/loader.conf
/etc/sysctl.conf
/etc/rc.conf
I tried:
FreeBSD host with VBox
FreeBSD host with Bhyve
VM-Bhyve
Long history short: with VBox the vm's don't even boot, just a black screen. And with bhyve (any setup), everything works fine beside network.
I'm using a T430 with wifi setup. Altough I use a lagg interface, I currently don't have access to a wired network.
Here is my /boot/loader.conf
Code:
aesni_load="YES"
geom_eli_load="YES"
security.bsd.allow_destructive_dtrace=0
kern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"
cryptodev_load="YES"
zfs_load="YES"
###########################################
# Boot
boot_mute="YES"
autoboot_delay="3"
vesa_load="YES"
#splash_pcx_load="YES"
#bitmap_load="YES"
#bitmap_name="/boot/freebsd-boot-alt.pcx"
rc_startmsgs="NO"
kern.vty="vt"
## Add colors to vt(4)
kern.vt.color.0.rgb="#000000"
kern.vt.color.1.rgb="#e67e80"
kern.vt.color.2.rgb="#a7c080"
kern.vt.color.3.rgb="#dbbc7f"
kern.vt.color.4.rgb="#7fbbb3"
kern.vt.color.5.rgb="#d699b6"
kern.vt.color.6.rgb="#83c092"
kern.vt.color.7.rgb="#ff0000"
kern.vt.color.8.rgb="#4b565c"
kern.vt.color.9.rgb="#e67e80"
kern.vt.color.10.rgb="#a7c080"
kern.vt.color.11.rgb="#dbbc7f"
kern.vt.color.12.rgb="#7fbbb3"
kern.vt.color.13.rgb="#d699b6"
kern.vt.color.14.rgb="#83c092"
kern.vt.color.15.rgb="#ff0000"
###########################################
# Security
## Meltdown mitigation
vm.pmap.pti=1
hw.ibrs_disable=0
###########################################
# Webcamd
cuse_load="YES"
###########################################
# Enhance shared memory X11 interface and
# other stuffs
kern.ipc.shmmax=67108864
kern.ipc.shmall=32768
kern.ipc.shmseg=1024
kern.ipc.shmmni=1024
kern.maxproc=1000000
###########################################
# Trunk Network
if_lagg_load="YES"
###########################################
# VirtualBox
vboxdrv_load="YES"
## If you are using AIO, then increase
## these limits (PR#168298):
vfs.aio.max_buf_aio=8192
vfs.aio.max_aio_queue_per_proc=65536
vfs.aio.max_aio_per_proc=8192
vfs.aio.max_aio_queue=65536
##########################################
# Sysctl
sysctlinfo_load="YES"
sysctlbyname_load="YES"
##########################################
# Misc
libiconv_load="YES"
libmchain_load="YES"
/etc/sysctl.conf
Code:
# $FreeBSD$
#
# This file is read when going to multi-user and its contents piped thru
# ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for details.
#
# Security
## Uncomment this to prevent users from seeing information about processes that
## are being run under another UID.
security.bsd.see_other_uids=0
security.bsd.see_other_gids=0
security.bsd.see_jail_proc=0
security.bsd.unprivileged_read_msgbuf=0
security.bsd.unprivileged_proc_debug=0
## Kernel harderning
kern.randompid=1
kern.elf32.aslr.enable=1
kern.elf32.aslr.pie_enable=1
kern.elf32.aslr.honor_sbrk=0
kern.elf64.aslr.enable=1
kern.elf64.aslr.pie_enable=1
kern.elf64.aslr.honor_sbrk=0
vfs.zfs.min_auto_ashift=12
###############################################
# Boost performance
kern.sched.preempt_thresh=224
kern.ipc.shm_allow_removed=1
kern.ipc.shmmax=67108864
kern.ipc.shmall=32768
kern.threads.max_threads_per_proc=4096
#kern.sched.slice=5
kern.coredump=0
###############################################
# Network
net.local.stream.recvspace=65536
net.local.stream.sendspace=65536
###############################################
# Suspend on lid close
hw.acpi.lid_switch_state=S3
/etc/rc.conf
Code:
clear_tmp_enable="YES"
syslogd_flags="-ss"
sendmail_enable="NONE"
hostname="FreeBaSeD-T430"
ifconfig_em0="DHCP"
sshd_enable="YES"
moused_enable="YES"
ntpd_enable="YES"
powerd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
zfs_enable="YES"
kld_list="i915kms linux linux64 fusefs coretemp sysctlinfo sysctlbyname_improved"
################################################################
# Boot
#allscreens_flags"-r lightred black"
################################################################
# Firewall
firewall_enable="YES"
firewall_quiet="YES"
firewall_type="workstation"
firewall_logdeny="YES"
firewall_myservises="80/tcp 443/tcp 22/tcp"
firewall_allowservises="any"
#################################################################
# Network
## Trunk
ifconfig_em0="up"
wlans_iwn0="wlan0"
ifconfig_wlan0="WPA"
create_args_wlan0="wlanaddr 00:21:cc:d9:fd:75 up"
cloned_interfaces="lagg0"
ifconfig_lagg0="up laggproto failover laggport em0 laggport wlan0 DHCP"
#ifconfig_lagg0_ipv6="inet6 accept_rtadv"
rtsold_enable="YES"
## VPN
#openvpn_enable="YES"
#################################################################
# DBUS
dbus_enable="YES"
#################################################################
# Webcamd
webcamd_enable="YES"
#################################################################
# Enabling drive monitoring
#smartd_enable="YES"
#################################################################
# Enabling Microcode updates
microcode_update_enable="YES"
acpi_ibm_load="YES"
#################################################################
# mixertui stuff
sysctlinfo_load="YES"
sysctlbyname_improved_load="YES"
#################################################################
# VM-Bhyve
vm_enable="YES"
vm_dir="zfs:zroot/vm"
ifconfig_vlan0="DHCP"
# VirtualBox
vboxnet_enable="YES"
#################################################################
# Loading /etc/devfs.rules
devfs_system_ruleset="system"
ifconfig_vboxnet0="DHCP"
#################################################################
# Linux Compat
linux_enable="YES"