You are not logged in.

#1 2002-12-29 06:20:26

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Install Win4Lin

BluPhoenyx wrote:

To manually install the Win4Lin rpm, you need to be in X in a terminal as root. Using the MC method, you can simply extract the /etc and /opt directories directly from the rpm, or use the F2 menu and install (doesn't run scripts.)

To get things working, simply run the script (as root still) /opt/win4lin/postinst_rpm.sh which attempts to configure some other items.

Thanks to BluPhoenyx I was able to install Win4lin and write a simple guideline how to install Win4lin on Archlinux. Win4lin installation is rpm base and has to be manually installed.

I have not tested the below guideline. If any problems or edition, please let me know.

INSTALL WIN4LIN 
 
Boot your computer with win4lin patch kernel. 
Change to root user
Extract Win4Lin-5.2.10c-d.i386.rpm (or other version) files with MC function F2.

If you don't have mc and mc.menu:
Download mc:
# pacman -S mc 
 
Download mc.menu: 
Go to ftp://www.ibiblio.org/pub/linux/utils/package and download the file mc.menu-1.28.tar.gz. 

# tar zxvf mc.menu-1.28.tar.gz. 
# cd mc.menu-1.28
# ./INSTALL

Make a backup and copy mc.menu to /usr/share/mc/
# cd /usr/share/mc/
# cp mc.menu mc.menu.save
# cd /usr/lib/mc/
# cp mc.menu /usr/share/mc/
 
1. Extract Win4Lin files:
Run mc, select Win4Lin-5.2.10c-d.i386.rpm and press F2 
Copy and paste the folders 
 
2. Run script:
# /opt/win4lin/postinst_rpm.sh 
 
The script doesn't create all the necessary links. Compare with this list:
/bin/dos --> /opt/win4lin/publicbin/dos 
/bin/loadwindowsCD --> /opt/win4lin/adminbin/loadwindowsCD 
/bin/win --> /opt/win4lin/publicbin/win 
 
/usr/bin/dosboot -->  /opt/win4lin/publicbin/dosboot
/usr/bin/dosinstall -->  /opt/win4lin/adminbin/dosinstall 
 
/usr/bin/fwin --> /opt/win4lin/publicbin/fwin 
/usr/bin/installwindows --> /opt/win4lin/publicbin/installwindows 
/usr/bin/listwinconfig --> /opt/win4lin/publicbin/listwinconfig 
/usr/bin/mkimg --> /opt/win4lin/adminbin/mkimg 
/usr/bin/netscapefile --> /opt/win4lin/publicbin/netscapfile 
/usr/bin/quit.com --> /opt/win4lin/dosside/quit.com 
/usr/bin/win_network --> /opt/win4lin/publicbin/win_network 
/usr/bin/winadmin --> /opt/win4lin/publicbin/winadmin 
/usr/bin/winadminreset --> /opt/win4lin/publicbin/winadminreset 
/usr/bin/winconfig --> /opt/win4lin/publicbin/winconfig 
/usr/bin/winsetup --> /opt/win4lin/publicbin/winsetup 
 
/usr/lib/merge/ --> /opt/win4lin
(Check if /var/win4lin/ folder was installed. If not check again when you have load the windows CD files. See point 5)

3. Edit /etc/default/merge:
MERGE_CD_DEV_NAME=/dev/cdroms/cdrom0 
 
4. Run script: 
# /etc/rc.d/init.d/Win4Lin start 
 
5. Insert Windows '98 CD and run... 
# loadwindowsCD 
(if any error unload the windows files "unloadwindowsCD").

6. Add line in /etc/rc.local file (to start dos image at boot): 
/etc/rc.d/init.d/Win4Lin start 
 
7. Exit root and run 'installwindows' as a user rather than using the installer (winsetup).

Good luck


Markku

Offline

#2 2003-01-22 04:06:12

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: Install Win4Lin

nullify wrote:

Thanks, this was just what I needed :-)
However, there are a few things I'd like to point out (perhaps for a revision or something):

Thanks for updating and correcting the guidelines. I have updated it accordingly.


Markku

Offline

#3 2003-01-24 09:18:16

BluPhoenyx
Member
Registered: 2002-12-23
Posts: 239

Re: Install Win4Lin

Registered Win4Lin users can go to the Netraverse site ( http://www.netraverse.com/ ) and click the "log in" tab to access the members account area. This area gives access to the file downloads section. From here you can get various kernels and patches for generic kernel sources as well as the latest rpm or deb files of Win4Lin. You should be able to find them under the group "Download Miscellaneous Files". I find this method much easier on upgrading or installing and avoid the gui installer.

The current 4.0 rpm is Win4Lin-5.3.13c-d.i386.rpm. Win4Lin-5.2.10c-d.rpm is version 3.x.

For those who aren't yet members but are registered users, you can sign up the on the same page.


BluPhoenyx

Offline

#4 2003-04-20 10:28:46

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: Install Win4Lin

Debian's rpm works fine running small rpm files like Win4lin. I compiled and upload it to AL's incoming archive:
ftp://ftp.archlinux.org/incoming/rpm-4.0.4-1.ok.tar.gz


Markku

Offline

#5 2003-08-31 12:03:27

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: Install Win4Lin

I am working on Win4Lin package for Arch Linux.

There will be three packages (Win4Lin 3.0, 4.0 and 5.0). Ver. 3.0 is almost ready, only needs to figure how to get /opt/win4lin/postinst_rpm.sh to run during install (pacman -S win4lin3). Also to run a script to remove files and symlinks created by postinst_rpm.sh when uninstalling (pacman -R win4lin3).


Markku

Offline

#6 2003-09-02 02:44:20

Mt.Tam-Luxer
Member
From: San Rafael, CA, U.S.A.
Registered: 2003-07-24
Posts: 32

Re: Install Win4Lin

Once, again, Thanx rasat for your efforts !!

Offline

#7 2003-09-03 07:06:50

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: Install Win4Lin

Win4lin3 for Arch Linux is ready. I have included a win4lin3 man page. Before building the final package, please give a your feedpack about the man page information.

http://amlug.org/new-projects/win4lin/man-win4lin3

Name of package?
1. win4lin3-5.2.10c-d.pkg.tar.gz
2. win4lin3.pkg.tar.gz


Markku

Offline

#8 2003-09-05 13:51:14

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: Install Win4Lin

Win4lin for version 3.0 is uploaded in incoming.
http://bbs.archlinux.org/viewtopic.php?t=1177

Win4lin for version 4.0 I have the Win4Lin-5.3.24a-d.i386.rpm but not the symlink information. I don't have license number to test 4.0. Anyone using 4.0 and knows the symlinks?


Markku

Offline

Board footer

Powered by FluxBB