LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-20-2002, 03:28 PM   #1
KenHan
LQ Newbie
 
Registered: Nov 2002
Location: Sweden
Distribution: SlackWare 12.2
Posts: 19

Rep: Reputation: 0
win4lin & slackware 8.1


Hi all!

I wonder how to get win4lin t work with slackware 8.1 .. I am not very skilled in the linux field ,, but would love to get win4lin to work on my slackware 8.1 (2.4.18) box.

**slackware rocks!!*

//KenHan
 
Old 06-03-2003, 09:55 PM   #2
ph34r3d
Member
 
Registered: Apr 2002
Location: Tamaqua, Pa
Distribution: Slackware. Gentoo 1.4rc3, RH9, Mandrake 9.1, Debian, FreeBSD, OpenBSD, Fedra Core 3 x86_64
Posts: 71

Rep: Reputation: 15
If you get this working let me know.. I have heard of it working.. but I have not gotten it work yet myself.. Although.. I haven't tried in a little while. heh
 
Old 06-03-2003, 11:25 PM   #3
JustSlack
Member
 
Registered: Jun 2003
Location: Gurnee, IL
Distribution: Mandrake
Posts: 65

Rep: Reputation: 15
I have Win4Lin working under Slack9.0. It is rather involved, though...
First you need the Slackware kernel sources and 2 kernel patches:
1) "Kernel-Win4Lin3-x.patch" where x=kernel version
2) "mki-adapter.patch"
Next, make a new directory /usr/src/win4lin and issue the following command:

cp -ravd /usr/src/linux/* /usr/src/win4lin

Also, copy the config from /boot to the /usr/src/win4lin like this

cp /boot/config-ide-x /usr/src/win4lin/.config

Remember, x=kernel version!
Next, copy the 2 patches to /usr/src/win4lin and patch the kernel by issuing the following commands:

patch -p1 < patchname > patch.log 2>&1
patch -p1 < mki-adapter.patch > mkipatch.log 2>&1

The patch logs can be looked at by using the command "less" eg. "less mkipatch.log". Assuming no errors then you can proceed with the kernel config.
NeTraverse recommends the following commands and I suggest following them:

cd /usr/src/win4lin
cp .config config-save
make distclean
cp config-save .config
make menuconfig

If you want you can also "make xconfig" if you are in X. Ensure the following kernel options are enabled:
Processor type and features => Maximum Physical Memory<1GB
Loadable module support => Enable loadable module support
General setup => Networking support
General setup => System V IPC
General setup => Kernel support for ELF binaries
Networking options => TCP/IP Networking
File Systems => ISO 9660 CD-ROM filesystem support
Windows Applications support => Include NeTraverse Win4Lin support

Save the kernel config and now run the following sequence of commands:
make dep
make clean
make bzImage (this takes a loooooong time!"
make modules (this takes even longer...get coffee or beer)
make modules_install
cp ./arch/i386/boot/bzImage /boot/win4lin (moves kernel for booting)

now, editing the /etc/lilo.conf file add the following lines, substituting your root partition for /dev/hda1

image=/boot/win4lin
label=Win4Lin
root=/dev/hda1
read-only

run /sbin/lilo to update the bootloader and put the following in the startup script /etc/rc.d/rc.local:

/etc/rc.d/init.d/Win4Lin start

That's it! (Whew) Reboot, select "Win4Lin" and run the Win4Lin installer. You should be installing Win4Lin in no time. Let me know if you run into trouble.
 
Old 06-04-2003, 05:35 PM   #4
ph34r3d
Member
 
Registered: Apr 2002
Location: Tamaqua, Pa
Distribution: Slackware. Gentoo 1.4rc3, RH9, Mandrake 9.1, Debian, FreeBSD, OpenBSD, Fedra Core 3 x86_64
Posts: 71

Rep: Reputation: 15
make bzImage and make modules on my computer only takes about 3 min.. tops..

I have a 1.4ghz Althon with 1gig RAM.... sweet machine. :}
 
Old 06-04-2003, 07:12 PM   #5
JustSlack
Member
 
Registered: Jun 2003
Location: Gurnee, IL
Distribution: Mandrake
Posts: 65

Rep: Reputation: 15
I must have a buttload of modules enabled considering I have an AthlonXP 1.6GHz with 512MB RAM. The bzImage may take 3 minutes but to me that's still a loooong time.
The information I gave I got from NeTraverse's web sites, some from this forum, and some I discovered on my own, but the end result is...it works and I have Win4Lin running.
 
Old 06-04-2003, 08:05 PM   #6
ph34r3d
Member
 
Registered: Apr 2002
Location: Tamaqua, Pa
Distribution: Slackware. Gentoo 1.4rc3, RH9, Mandrake 9.1, Debian, FreeBSD, OpenBSD, Fedra Core 3 x86_64
Posts: 71

Rep: Reputation: 15
I didn't get a chance to try it yet.. I am downloading slack 9 iso right now... I will let you know if I can't get it working..
 
Old 06-05-2003, 11:01 AM   #7
JustSlack
Member
 
Registered: Jun 2003
Location: Gurnee, IL
Distribution: Mandrake
Posts: 65

Rep: Reputation: 15
As long as the kernel is configured right everything else is a breeze. I think I'll take a look at the modules I made and see how many I acutally need.
 
Old 06-07-2003, 10:33 AM   #8
ph34r3d
Member
 
Registered: Apr 2002
Location: Tamaqua, Pa
Distribution: Slackware. Gentoo 1.4rc3, RH9, Mandrake 9.1, Debian, FreeBSD, OpenBSD, Fedra Core 3 x86_64
Posts: 71

Rep: Reputation: 15
sheesh..... Netraverse is sick... they have WAYYYYYYYYYYYYY to many modules selected... It took me well over 15 min to remove all the modules remotely.. other than that.. everything is ok.. so far..
 
Old 06-10-2003, 02:13 AM   #9
ph34r3d
Member
 
Registered: Apr 2002
Location: Tamaqua, Pa
Distribution: Slackware. Gentoo 1.4rc3, RH9, Mandrake 9.1, Debian, FreeBSD, OpenBSD, Fedra Core 3 x86_64
Posts: 71

Rep: Reputation: 15
I can't get it to install.. for some reason modules keep failing on startup.. I dunno why.. I don't even have any modules compiled into the kernel..
 
Old 06-10-2003, 11:06 AM   #10
JustSlack
Member
 
Registered: Jun 2003
Location: Gurnee, IL
Distribution: Mandrake
Posts: 65

Rep: Reputation: 15
Certain kernel modules are needed. I try to minimize what I compile directly into the kernel to streamline it. The modules are being called from /etc/rc.d/rc.modules. You may want to look there to see what is being called. I do recommend you have some modules. But once the kernel/modules is resolved, Win4Lin is good to go.
 
Old 07-12-2003, 11:41 PM   #11
Kocil
Member
 
Registered: Feb 2003
Distribution: Redhat since 5.2, Slackware since 9.0, Vector since 4.0
Posts: 209

Rep: Reputation: 31
>> That's it! (Whew) Reboot, select "Win4Lin" and

Hi. I made it til this far.
Then

>> run the Win4Lin installer.
>> You should be installing Win4Lin in no time. Let me know if you run into trouble.

Which win4Lin installer ? The graphic installer ?
I dont want to run it, because it requires to download
win4lin.x.y.z.rpm and also a new kernel.

I have the win4lin.x.y.z.rpm from the previous install (I was on Redhat). Can I just rpm - i it ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
(FreeBSD && Fedora Core 4 && Slackware 10.0) Filesystem Support taylor_venable *BSD 1 07-14-2005 02:24 PM
Win4lin on Slackware 9.1 Hooper Slackware 0 12-12-2003 06:04 PM
Alsa modules & a win4lin kernel raypen Linux - Software 5 04-22-2003 09:21 AM
win4lin & msn messenger Diesel16 Linux - Software 5 02-04-2003 11:03 PM
Win4Lin 4.0 & Windows XP aeshley Linux - Software 2 05-20-2002 06:28 AM


All times are GMT -5. The time now is 03:16 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration