Linux 2.6 on BLAG9000

From blag.wiki.aktivix.org

Jump to: navigation, search

Contents

Build Kernel

make menuconfig
make
make modules
make modules_install
cp -p /usr/src/linux/arch/i386/boot/bzImage/vmlinuz \
/boot/vmlinuz-2.6.4
cp -p System.map /boot/System.map-2.6.4
cd /boot
ln -sf System.map-2.6.4 System.map
vi /etc/grub.conf


Backup 2.4 module utilities

You'll need to have copies of your kernel 2.4 module utilities so you can convert your /etc/modules.conf file to an /etc/modprobe.conf file. You'll also need them if you boot a 2.4 kernel.

cp -p /sbin/modprobe /sbin/modprobe.old
cp -p /sbin/depmod /sbin/depmod.old
cp -p /sbin/insmod /sbin/insmod.old
cp -p /sbin/rmmod /sbin/rmmod.old

Install RPMS

Kernel 2.6 requires some different scripts and binaries than kernel 2.4. There are RPMS available of these needed packages for BLAG9000 at:

ftp://ftp.blagblagblag.org/pub/BLAG/linux/9000/en/os/i386/BLAG/RPMS.TESTING/

The necessary RPMs match *k2.6*.rpm.

rpm -Uvh device-mapper-1.00.07-1blag.k2.6.i386.rpm \
modutils-2.4.25-10blag.k2.6.i386.rpm \
initscripts-7.28-1blag.k2.6.i386.rpm \
modutils-devel-2.4.25-10blag.k2.6.i386.rpm \
kernel-utils-2.4-9.1.102.1blag.k2.6.i386.rpm \
nfs-utils-1.0.5-1blag.k2.6.i386.rpm

Create /etc/modprobe.conf

/sbin/generate-modprobe.conf /etc/modprobe.conf

Umm, reboot?

If rpm acts weird, do:

export LD_ASSUME_KERNEL=2.2.5

External Links

These have good deal of information on how to use the Linux 2.6 kernel on RedHat 9. With BLAG and the RPMS above, you can skip most of the steps in these documents.

Personal tools