wiki:Lenny2.6.17HowTo

Installing LinuxPMI@2.6.17 in Debian Lenny i386

1. Install Debian Lenny.

You can use this image for example:

http://cdimage.debian.org/cdimage/archive/5.0.10/i386/iso-cd/debian-5010-i386-netinst.iso

Create at least 1.7 GB partition for whole system, not counting swap.

When asked for a network mirror, choose Yes, http and enter manually: archive.debian.org. Don't use security nor volatile updates as they don't exists for lenny anymore.

Choose GRUB as bootloader. When asked for "Grub 2 instead of Grub Legacy", choose No.

2. Install additional packages

aptitude install build-essential kernel-package bzip2 libncurses5-dev quilt git-core

You can also install following packages that could be helpful:

aptitude install vim-nox mc less file screen openssh-server

3. Install older udev

cd /root
wget http://archive.debian.org/debian/pool/main/u/udev/udev_0.105-4etch1_i386.deb
dpkg -i udev_0.105-4etch1_i386.deb

4. Get LInuxPMI sources and prepare build environment

cd /usr/src
git clone http://linuxpmi.org/linuxpmi.git/ linuxPMI
cd linuxPMI/2.6/kernel
./devutils/setupenv env build

5. Patch, compile and install kernel

cd build
wget http://linuxpmi.org/trac/raw-attachment/wiki/CompilingVanillaKernels/003_binfmt_aout_cmp.patch
cd linux-2.6.17
patch -p0 < ../003_binfmt_aout_cmp.patch
make menuconfig

Now make sure you have disk and network driver (ussualy PIIXn and Realtek8139 for KVM) and proper file system (default ext3) checked. Also check options in HPC category. Save config and compile:

make-kpkg kernel_image
dpkg -i ../linux-image-2.6.17-om_2.6.17-om-10.00.Custom_i386.deb
update-initramfs -k 2.6.17-om -c
update-grub

6. Reboot and test

Reboot system, choose kernel 2.6.17-om on boot. To check if all this worked, you can run following command:

# cat /proc/hpc/admin/version
openMosix version: 0.0.0

Bang on!

Last modified 8 years ago Last modified on Sep 16, 2013, 11:20:18 AM