Win4Lin und Debian

Software besorgen und anwenden
Post Reply
Message
Author
Hotti

Win4Lin und Debian

#1 Post by Hotti »

Hallo!
Ich bruch eine Anleitung (wenn möglich in deutsch) zur Installation von
Win4Lin auf Potato.
Auf der CD gibt es leider keine Debian-Pakete.
Die *.rpm-Datei habe ich zwar mit alien umwandeln können, aber richtig
installiert wurde es nicht.

Für Tips und Hilfe bin ich Dankbar.
Viele Grüße, Hotti

peterm
Posts: 287
Joined: 16. Sep 2000 15:35

Re: Win4Lin und Debian

#2 Post by peterm »

Hi Hotti!

<a href="http://www.linux-world.dk/reviews/win4lin-3/" target="_blank"><!--auto-->http://www.linux-world.dk/reviews/win4l ... <!--auto-->
(Suchmaschine: <a href="http://www.google.com" target="_blank"><!--autohttp-->http://www.google.com</a><!--autohttp--> )

RUNNING WIN4LIN UNDER DEBIAN

Although the Win4Lin product (which relies on RPM for installation) is meant for RPM-based distributions such as Red Hat, SuSE, and Mandrake, it is not at all impossible to install Win4Lin on a Debian box. I have successfully installed Win4Lin 3.0 on a Debian Woody system with kernel 2.2.19.

Doing an install on Debian required me to manually patch my kernel 2.2.19 to support Win4Lin. This was easily done with something like this:

cd /cdrom/LINUX/PATCH
patch -p1 -b -d /usr/src/linux < win4lin-kernel.patch

Then, of course, I had to do a kernel config and a kernel build to include the support for Win4Lin.

After booting my new kernel, I did the following in order to complete the install of Win4Lin on my Debian Woody system.

mount /cdrom/
cp /cdrom/Win4Lin/RPMS/i386/Win4Lin-5.2.0d-1.i386.rpm /tmp/
cd /tmp/
alien -d Win4Lin-5.2.0d-1.i386.rpm
dpkg -i win4lin_5.2.0d-2_i386.deb
suidregister -s win4lin /opt/win4lin/mcd root bin 4755
suidregister -s win4lin /opt/win4lin/publicbin/dosexec root bin 4755
/opt/win4lin/postinst_rpm.sh
/opt/win4lin/bin/ask_license.sh
winsetup

Try it out, if you have a Debian system ...

Gruß PeterM

Hotti

Re: Win4Lin und Debian

#3 Post by Hotti »

Vielen Dank!

> suidregister -s win4lin /opt/win4lin/mcd root bin 4755
> suidregister -s win4lin /opt/win4lin/publicbin/dosexec root bin 4755
> /opt/win4lin/postinst_rpm.sh
> /opt/win4lin/bin/ask_license.sh
> winsetup

Das wars
Hotti

Post Reply