os4_bsd_freebsd_linuxemu
linuxemu
BACK ..
Linux-Emulation aktivieren
==========================
In der Kernelkonfigurationsdatei muss als erstes die Option
"COMPAT_LINUX" eingetragen werden.
vi /usr/src/sys/i386/conf/MYKERNEL
----------------------------------
# DRM_LINUX: include linux compatibility, requires COMPAT_LINUX
options DRM_LINUX
# Enable Linux ABI emulation
options COMPAT_LINUX
# Enable i386 a.out binary support
#options COMPAT_AOUT
# Enable the linux-like proc filesystem support (requires COMPAT_LINUX
# and PSEUDOFS)
options LINPROCFS
# Pseudo-filesystem framework
options PSEUDOFS
Und anschliessend muss der neuer Kernel kompiliert und installiert werden.
--------------------------------------------------------------------------
cd /usr/src
make kernel KERNCONF=MYKERNEL
oder
cd /usr/src/sys/i386/conf/
config MYKERNEL
cd ../compile/MYKERNEL
make depend all install
Die Linuxemulation muss in der zentralen Konfigurationsdatei eingeschaltet werden.
----------------------------------------------------------------------------------
vi /etc/rc.conf
linux_enable="YES"
Damit nicht nur statisch kompilierte Programme laufen, müssen noch ein paar
Linux-Bibliotheken installiert werden.
---------------------------------------------------------------------------
cd /usr/ports/emulators/linux_base
make install && make clean
Und zum Schluss das System mit dem neuen Kernel rebooten.
[IMG]
/home/http/wiki/data/pages/os4_bsd_freebsd_linuxemu.txt · Zuletzt geändert: von 127.0.0.1
