Linux binary compatibility

Configuration

by ross at 09:26:25 on April 7, 2017

Run as root:

# kldload linux
# pkg install linux_base-c6
# sysctl compat.linux.osrelease=2.6.32

Add to /etc/rc.conf:

linux_enable="YES"

Add to /etc/sysctl.conf:

compat.linux.osrelease=2.6.32

Add to /etc/fstab:

# Device        Mountpoint      FStype  Options Dump    Pass#
linprocfs       /compat/linux/proc linprocfs rw 0       0
tmpfs           /compat/linux/dev/shm tmpfs rw,mode=1777 0 0

Run:

# mount /compat/linux/proc
# mount /compat/linux/dev/shm

 

Comments