Running Windows Apps Under Linux, Part 3: Advice on installing and configuring four useful emulators

By Richard Sharpe, ITworld |  How-to

Win4Lin is an alternative to Wine that provides a much more complete
Windows environment. Indeed, during installation it actually installs
Windows for you. It was quite amusing to see the Windows installation
screens running in a window under Linux.

The current version of Win4Lin is 1.0, but that version does not
support SMP systems. Since I was initially testing Win4Lin on a SMP
machine, I had to download the beta of Win4Lin 2.0. Win4Lin requires a
Pentium-class processor with a minimum of 32 MB of memory and Linux

Win4Lin only supports Windows 95 and Windows 98, and it does not
support Microsoft Windows networking. However, it does have WinSock
support, so many networking applications will work under Win4Lin.

The Win4Lin installation requires a custom kernel and a number of
steps, and it is thus more difficult than any of the other alternatives
mentioned here except Bochs. If you run a custom kernel already, you
will have to apply the appropriate Win4Lin patch to your kernel by
hand. The steps to install Win4Lin are:

* Unpack your installation kit -- assuming you downloaded Win4Lin
from the Web.

* Install the custom kernel. If you have not made any modifications
to your kernel, you can use the supplied
script. The Win4Lin installation supplies patched kernels for a
number of popular distributions. However, if you have applied
other patches to your Linux kernel, you will have to apply the
Win4Lin kernel patches and rebuild your kernel.

* Install Win4Lin. You should do that by running
from your installation kit. If you are installing Win4Lin 2.0 or
one of its betas, install the RPM. You must perform that step as

* Install Windows on your system using the winsetup command. You
must also perform that step as root.

* Set up a personal copy of Windows 9x again, using the winsetup
command. You must do that while logged in as the user who will
use Win4Lin.

* Once all that is done, you can run Windows by simply executing
the win command. You will see a window that has Windows running
in it. Of course, you will also have to install your Windows
applications into the version of Windows running under Win4Lin.

During my testing, I installed Office 97 under Win4Lin and felt that
the installation process was much faster than the same installation
under VMware on the same system.

Win4Lin is commercial software that you can purchase from the Win4Lin
homepage for USD 39.95, or USD49.95 for the CD version (see Resources
for a link).

Bochs, according to the Website, "is a highly portable x86 PC emulator
written in C++ that runs on most popular platforms. It includes
emulation of the Intel x86 CPU, common IO devices, and a custom BIOS.

Join us:






Answers - Powered by ITworld

Ask a Question