pavement

User:Sidetone/linuxcompat

From FreeBSDwiki
< User:Sidetone
Revision as of 02:32, 5 March 2015 by Sidetone (Talk | contribs)
Jump to: navigation, search

Configuration steps for enabling Linux compatibility, necessary for using Flash Player made for Linux. Work in progress, steps:

For custom, non-specific linux package and up to date setups, we may be able to do without the following packages: linux_base-f10, or linux_base-gentoo-stage3

linux_base-c6 might make it easier to install; complete instructions if there are more than the configurations below. Still a trial and error processes to figure it out. Got it to work in the past, either I forgot exactly how to do it, or the way to do it changed.

/etc/

/etc/fstab

linproc         /compat/linux/proc    linprocfs  rw    0   0
#possibly the two below
fdesc           /dev/fd               fdescfs    rw    0   0
proc            /proc                 procfs     rw    0   0

/etc/rc.conf

linux_enable="YES"

/etc/devfs.conf

link /tmp shm

/etc/sysctl.conf

compat.linux.osrelease=2.6.18

/compat/linux/

/compat/linux/ should have at least the following sub-directories: etc/ lib/ proc/ usr/

% cd /compat/linux/
% mkdir etc/ lib/ proc/ usr/

/compat/linux/etc/yp.conf

domainname	mydomain.com  # this is your network's domain-name without localhost
ypserver	localhost  # my.yp.server

/compat/linux/etc/nsswitch.conf

passwd:     files nis
shadow:     files nis
group:      files nis
hosts:	    files nis dns
Personal tools