Overview

emul32-tools contains small scripts to do 32bit chroot emulation easily on a 64bit machine. It got two major script emul32 and rc.emul32-tools.

rc.emul32-tools is an initscript which sets everything on start. Sets the directory paths, does mounts for 32bit chroot directories and copy necessary files like passwd, shadow and other small stuff to 32bit chroot from 64bit host OS. This need to be done.

emul32 is a wrapper for

# linux32 chroot /usr/lib/chroot32 <command>

It does much stuff automatically, like creating a Common directory between host and guest . This wrapper calls the application inside the 32bit chroot. Of course first it chroots into it and creates home directories and other small stuffs.

What you need to do for proper working and how to use

First, you need to install emul32-tools via pacman-g2.

# pacman-g2 -S emul32-tools

This will pulls all necessary -emul packages to the /usr/lib/chroot32 directory.

Second, you need to add your user to the /etc/sudoers file. See an example:

<user> ALL=(ALL) NOPASSWD: /usr/bin/emul32

This way you won't be asked for a password when emul32 runs itself as root.

What else need to be done? When you want to use the emul32-tools then you need to start rc.emul32-tools. You can set up that start automatically or you can start it via hand like:

# service emul32-tools start

Once this is done, if you want to use for example TeamSpeak, then you have to:

# repoman merge teamspeak-client

then you can start the application via

$ emul32 teamspeak

or via the menu entry you find in your favourite window manager.

Footnotes

If you want to run or install something else what we not packaged, then you can do that example: foobar.bin

Copy foobar.bin to your user's Common directory on host (64bit) .

Then start run it somehow like this:

emul32 /home/<username>/Common/foobar.bin

That's all.

If you got any problem or trouble ask help on IRC or in BTS.

Christian Hamar alias krix <krics@linuxforum.hu>