If you want to get Mdk7.1 with Kernel 2.2.16 (7.1 ships with 2.2.15 which
has a serious security bug), the steps are pretty complex.  And since no one
has refuted my previous post that had Mandrake instructions (I may have
mistakes in my instructions), I will attach it for reference.

Matt

> -----Original Message-----
> From: Duaine Hechler [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 12, 2000 8:41 PM
> To: [EMAIL PROTECTED]
> Subject: [Win4Lin-users] Linux newbie with Mandrake 7.1, help ...
> 
> 
> Hi all,
> 
> I am a newbie with Linux with Mandrake 7.1 and I want to 
> install Win4Lin.
> 
> I purchased the install CD but Mandrake 7.1 was not on the CD.
> 
> So, I have downloaded the Mandrake 7.1 rpm and now I'm lost.
> 
> Either I'm too new to Linux or the relnote.html is as clear as mud.
> 
> Step by step, what do I need to do now.
> 
> Thanks,
> Duaine Hechler
> [EMAIL PROTECTED]
> 
> _______________________________________________
> Win4Lin-users mailing list
> [EMAIL PROTECTED]
> http://lists.trelos.com/mailman/listinfo/win4lin-users
> 



I did get it working.  Uunfortunately can't use it until network logins are
available (Trelos please <pretty please with sugar on top> put it in 3.0).
I installed 7.1 from CD with ext2 partitions.  I had trouble on the first
attempt when I had ReiserFS partitions.  Others have claimed success using
ReiserFS with symbolic links in strategic locations pointing to an ext2
partition.  I haven't had time to go back and try a mixed ext2/ReiserFS
combo.

<The remaining info assumes you are logged in as root and in X>
Install mdk7.1

Get the latest SOURCE code RPM from the Trelos site.  You installed the
precompiled version not the source code.  I had trouble getting the scripts
to work but supposedly Trelos has fixed the Mandrake-specific bugs in their
script.

The biggest problem with the source RPM from Trelos is that they dump their
files in all the wrong places.  To their credit I think they are following
the generic RPM standard but it serious hoses your system since kernel
source, header, and libraries need to be in very specific directories (and
not the source RPM standard ones).

<here's where it gets fuzzy because it's been a few weeks since I did it>

Trelos SRPM will dump the kernel source into
/usr/src/RPM/BUILD/Mandrake-patched-2.2.16-4/
When it finished compiling, do the following:
   mkdir /usr/src/linux-2.2.16
   cp -a /usr/src/RPM/BUILD/Mandrak-patched-2.2.16-4/*
/usr/src/linux-2.2.16/
   ln -sf /usr/src/linux-2.2.16 /usr/src/linux

If you don't have a /lib/modules/2.2.16-4mdk directory (can't remember if
the Trelos scripts copied it), then do
   cd /usr/src/linux
   make modules-install

If you boot on scsi do the following to make your initial ramdisk:
   cd /boot
   mkinitrd initrd-win4lin.img 2.2.16-4mdk

Now depending on whether you use GRUB or LILO for a bootloader determines
your next step.  I use GRUB like this:
<your favorite editor here> /boot/grub/menu.lst
Add the following lines (change root to match your other entries and drop
initrd if appropriate):
   title win4lin-kernel
   kernel (hd0,0)/win4lin root=/dev/sda9
   initrd (hd0,0)/initrd-win4lin.img

<close editor>
Install the new bootloader with:
   sh /boot/grub/install.sh



Now I may have missed a step along the way.  The steps I have you take
should insure the integrity of your machine, should something go wrong,
since my method doesn't toast any existing kernels on the machine.  Give it
a try and let me know how it works.

DISCLAIMER: If your computer crashes, blows up, melts down, launches a
cruise missile, or starts quoting satanic verses, it's not my fault.  My
instructions are guidelines only.

Matthew Zaleski

> -----Original Message-----
> From: David Groves [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 21, 2000 6:06 PM
> To: [EMAIL PROTECTED]
> Subject: [Win4Lin-users] help with Win4Lin on Mandrake 7.1
> 
> 
> I've read through all the list messages and am still having trouble
> getting Win4Lin running on my Mandrake 7.1 system.
> I've installed the updated kernel :
> Kernel-Win4Lin1-Mandrake7.1-9.i686.rpm.
> Then I reboot using the win4lin lilo option.
> Then, when I try to install the win4lin RPM it states that my 
> system is
> not "Win4Lin" ready.
> 
> Has anyone had any success?  (I also tried patching my current kernel
> (2.2.16-9mdk), but that doesn't seem to work either--I may be patching
> and re-compiling wrong...i'm new to this)
> 
> Thanks for any help.
> 
> David Groves
> [EMAIL PROTECTED]
> 
> 
> 
_______________________________________________
Win4Lin-users mailing list
[EMAIL PROTECTED]
http://lists.trelos.com/mailman/listinfo/win4lin-users


Reply via email to