7. Installation of Linux 2.6.0-test1
====================================
7.1 Source
----------
* Linux-Kernel 2.6.0-test1
http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.0-test1.tar.bz2
7.2 Extracting
--------------
# cd /usr/src/
* Remove existing links
# rm linux
# rm linux-2.4
* Copy the file into the directory /usr/src/
# cp /tmp/linux-2.6.0-test1.tar.bz2 .
* Test the file
# tar -tjf linux-2.6.0-test1.tar.bz2
* Extract the file
# tar -xjf linux-2.6.0-test1.tar.bz2
* Change owner
# chown -R root:root linux-2.6.0-test1/
7.3 Kernel Configuration
------------------------
# cd /usr/src/linux/
# make menuconfig
* Configure the Kernel
# cp .config my_config
# make mrproper
# cp my_config .config
# make oldconfig
# make dep
# make
7.4 Kernel Installation
-----------------------
* Create a kernel image
# make bzImage
* Copy the image into the boot partition
# cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.0-test1
* Make and install kernel modules
# make modules modules_install
7.5 LILO Configuration
----------------------
* Add an entry for linux:
# vi /etc/lilo.conf
+ image=/boot/vmlinuz-2.6.0-test1
+ label=new
+ read-only
+ root=/dev/hda2
* Update changes
# lilo
7.6 Reboot
----------
# lilo -R new
# reboot
7.7 Problems
------------
* There are problems with nic drivers which are compiled as modules. It only works
if they are statically linked.
* I had a problem with the display output: After lilo loaded the kernel it did not
print anything.