Dear win4lin-mandrake users,
I have been seeing a lot of repeated posts asking about how to install win4lin
on a Mandrake 7.2 system. The problem is, that the 2.2.17 Mandrake kernel is
still not officially supported by Netraverse. Therefore the install script
will fail, and suggest you to patch the kernel yourself. Thankfully, some
folks came up with solutions, but I think (from the posts) not everyone was
able to use the patch or rpms. Yesterday I installed win4lin eval 2.0 on MDK
7.2, it works pretty good, so I thougth I will share a no-brainer guide how to
do it. There are obviously other ways to do it, if know a better one let us
know!
First of all, thanks for Benjamin Reed for uploading the kernel rpms for 7.2.
Great work!
I suppose you have a working LM7.2 system. If you have Win4lin 1.0 (from an
aborted trial, OR ANY OTHER WINLIN VERSION you start as root with:
rpm -e Win4Lin
This will uninstall the previous version. Obviously, most of us do not have
anything, that is why we have this guide in the first place :-)).
Then download the kernel rpms from
http://www.opennms.org/~ben/
You will find the following files there:
kernel-2.2.17-21w4l.i686.rpm
* kernel-smp-2.2.17-21w4l.i686.rpm
* kernel-secure-2.2.17-21w4l.i686.rpm
kernel-doc-2.2.17-21w4l.i686.rpm
kernel-headers-2.2.17-21w4l.i686.rpm
* kernel-pcmcia-cs-2.2.17-21w4l.i686.rpm
kernel-utils-2.2.17-21w4l.i686.rpm
* reiserfs-utils-2.2.17_3.5.26-21w4l.i686.rpm
alsa-2.2.17_0.5.9d-21w4l.i686.rpm
I installed those ones WITHOUT the star in front of them. You can substitute
yours with the appropriate SMP, PCMCIA or secure kernel(if you do not know
what these are for there are chances that you do not need them...:-))
Start with (if you have alsa sound system) :
rpm -Uvh --nodeps alsa-2.2.17_0.5.9d-21w4l.i686.rpm
(--nodeps, because it needs the winlin kernel which is not installed yet, and
if you start with the win4lin kernel the old alsa package complains...so this
is the less painful solution)
Then do :
rpm -Uvh kernel-2.2.17-21w4l.i686.rpm
This also results in some complaining messages, but all in all it worked, and
as far as I can tell it did not screw up anything existing on my system. After
this you just install the rest of it with:
rpm -Uvh <filename>
It works without a hitch!
To set up the bootloader, go to your bootloader directory (I will cover grub
here, this is the default bootloader in Mandrake, and the install script from
netraverse does not handle grub, anyway)
Fire up your favourite editor and edit the grub menu:
vi /boot/grub/menu.lst
Add a new section to menu:
...
title Win4Lin + Mandrake 7.2
kernel (hd0,4)/boot/vmlinuz-2.2.17-21w4l root=/dev/hda5 [kernel params]
....
Substitute [kernel params] with whatever your kernel needs, in order to work
with your hardware (copy it from the previous "title linux" section (like
hdc=ide-scsi or ide0=autotune, whatever harware parameters you have).
Of course, you also have to substitute the appropriate partitions where your
root directory and your kernel are (if yours does nor reside on the first
logical partition of your harddisk, as in the above example) - again, look at
the original "title linux" section and copy it.
Save it, and with grub, this is all you have to do.
Now boot your winlin compatible kernel.
When reboot, from the grub menu, select Win4lin + Mandrake 7.2 (or whatever
you called it in menu.lst)
Download the win4lin 2.0 desktop version from:
ftp://ftp.netraverse.com/pub/win4lin/Win4Lin2.0-eval/Win4Lin/RPMS/i386/Win4Lin-5.1.0ga-1.i386.rpm
This is the only rpm you find there, so it is easy enough...
Become root again and install the above rpm:
rpm -Uvh Win4Lin-5.1.0ga-1.i386.rpm
Note: This will make a directory in /opt/win4lin and /var/win4lin,
if you do not have enough space on your root partition for them, then make a
symbolic link pointing to wherever you have free space, BEFORE you do the
above!!
Get your license file from netraverse.com or use your license (if you bought
win4lin 1.0 earlier, you should have a license for 2.0 emailed to you)
https://www.netraverse.com/register_eval.php
Fill in the form and the evaluation license will be emailed to you. Either
save the attachment (license.txt) or cut the appropriate section out of the
file and paste it to a new file, which you save as "license.txt". (make sure
that you have an empty line at the end of the file, the lack of it caused
problems with the upgrade license, according to some posts on the win4lin
list).
Check the permissions on the file, make it readable and writable to everyone
(that is what was suggested in a netraverse post recently) or at least the
user who is going to use Win4Lin:
chmod 666 license.txt
Copy it to your win4lin install directory from wherever you saved it:
cp license.txt /var/win4lin/install
Now you just have to load the windows CD (as root, invoking winsetup under
X), then install your personal copy of windows (as a normal user, with
winsetup again). If you have problems here please refer to the win4lin manual
(aka. RTFM).
This is it!! Good luck!
Viktor Lakics
----Viktor Lakics----
Through the Internet:
[EMAIL PROTECTED]
____________________________________________________________________
Get free email and a permanent address at http://www.amexmail.com/?A=1
_______________________________________________
Win4Lin-users mailing list
[EMAIL PROTECTED]
https://lists.netraverse.com/mailman/listinfo/win4lin-users