Installing LinuxPMI@2.6.17 in Debian Lenny i386

1. Install Debian Lenny.

You can use this image for example:

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: 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
dpkg -i udev_0.105-4etch1_i386.deb

4. Get LInuxPMI sources and prepare build environment

cd /usr/src
git clone linuxPMI
cd linuxPMI/2.6/kernel
./devutils/setupenv env build

5. Patch, compile and install kernel

cd build
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

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