Re: Win4Lin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



John wrote:

 I know that various folks have got win4lin running under fedora. But
 apparently one has to "rebuild the kernel"! What the . . .??

 Can anyone help with this exercise, or point me to a "how to" that
 isn't in "nerd speak"?

Sure. You have two choices:

1. Download a NeTraverse pre-compiled kernel for your cpu architecture from
  http://www.netraverse.com/member/downloads/kernel_precompiled_yes.php

or

2. Download the Fedora and Win4Lin SRPMs for the kernel you want and patch.


If you choose "Door #1", here are the steps:

a. install the kernel RPM
  rpm -iUvh <kernel_RPM>

b. make any changes to your LILO or GRUB configuration files

c. reboot!


If you choose "Door #2", here are the steps:

a. Download a Fedora generic kernel-source package for your cpu architecture from
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/1/<arch>


  or download a generic kernel tarfile from
  http://www.kernel.org/pub/linux/kernel/v2.x

b. Download the Win4Lin SRPM for the kernel you downloaded in Step "a" from
  http://www.netraverse.com/member/downloads/kernel_precompiled_yes.php

Note: make sure to download the appropriate Kernel-Win4Lin*.src.rpm file, and
not the Kernel-Win4Lin*.rpm!


  or download a generic kernel patch and mki-adapter patch from
  http://www.netraverse.com/member/downloads/kernel_patch.php

c. If you downloaded a Fedora kernel-source RPM in Step "a"

  1) install the kernel-source RPM
     rpm -iUvh <kernel-source RPM>

  2) unpack the Win4Lin kernel and mki-adapter patches
     rpm2cpio Kernel-Win4Lin3*src.rpm | cpio -idmuv '*.patch'

  3) copy the kernel and mki-adapter patches to /usr/src

  4) apply the kernel patch first, followed by the mki-adapter patch
     patch -p1 -d /usr/src/linux-2.4 < Kernel-Win4Lin*.patch
     patch -p1 -d /usr/src/linux-2.4 < mki-adapter*.patch

5) chdir to /usr/src/linux-2.4 and configure the kernel sources for compilation
make (menu)(x)config


     Make sure to select "Windows Application Support" and say "Y" to
     "Include NeTraverse Win4Lin Support"!!

  6) compile your kernel
     make dep bzImage modules install modules_install

7) add an entry for the new kernel to your LILO or GRUB configuration file

  8) reboot!

d. If you downloaded a generic kernel tarfile in Step "a"

  1) move the tarfile to /usr/src and unpack it
     tar xzf <tarfile>.gz    or    bunzip2 <tarfile>.bz2

  2) create a symlink from the full kernel-source dir to a "nickname"
     ln -s linux-2.x.y linux-2.4

  3) copy the kernel and mki-adapter patches to /usr/src

  4) apply the kernel patch first, followed by the mki-adapter patch
     patch -p1 -d /usr/src/linux-2.4 < Kernel-Win4Lin*.patch
     patch -p1 -d /usr/src/linux-2.4 < mki-adapter*.patch

5) chdir to /usr/src/linux-2.4 and configure the kernel sources for compilation
make (menu)(x)config


     Make sure to select "Windows Application Support" and say "Y" to
     "Include NeTraverse Win4Lin Support"!!

  6) compile your kernel
     make dep bzImage modules install modules_install

7) add an entry for the new kernel to your LILO or GRUB configuration file

  8) reboot!



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux