9 - Migrating to OpenBSD
#kern.emul.linux=1 # enable
running Linux binaries
in /etc/sysctl.conf, so that it reads
kern.emul.linux=1 # enable running Linux binaries
and reboot your system to have it take effect.
To run any Linux binaries that are not statically linked (most of them),
you need to follow the
instructions on the
compat_linux(8)
manual page.
A simple way to get most of the useful Linux libraries is to install the
fedora/base
package from
your nearest FTP mirror. To find out more about the packages
and ports system read
FAQ 15 - The
OpenBSD Packages and Ports System
. To install the above mentioned
package you would issue
# export PKG_PATH=ftp://your.ftp.mirror/pub/OpenBSD/4.9/
packages/i386/
# pkg_add -i fedora_base
Note that
pkg_add(1)
will automatically execute sysctl to set kern.emul.linux to the correct value upon
adding this package. However, it does not change
/etc/sysctl.conf
,
so if you wish Linux
emulation to be enabled by default, you need to modify kern.emul.linux there.
9.5 - Accessing your Linux files from OpenBSD
OpenBSD supports the EXT2FS file system.
For further information, see
FAQ 14
.
[FAQ Index]
[To Section 8 - General Questions]
[To Section 10 - System Management]
www@openbsd.org
$OpenBSD: faq9.html,v 1.97 2011/05/27 18:08:30 lum Exp $
http://www.openbsd.org/faq/faq9.html (5 of 5)9/4/2011 10:02:12 AM
10 - System Management
[FAQ Index]
[To Section 9 - Migrating to OpenBSD]
[To Section 11 - The X Window System]
Do'stlaringiz bilan baham: