>>cd /usr/src
>>tar -zxvf linux-2.4.0-test11.tar.gz
>>make dep ; make clean ; make bzlilo
you forgot to make modules modules_install
I tend to use the make install target to install my kernel instead of
bzlilo,
you can also do all the compiling all in one step, something like this,
# make menuconfig
# make dep clean install modules modules_install
in order for this to work, you need to edit your lilo.conf to make the
default kernel be /boot/vmlinuz and you also need the 'installkernel' script
you can copy this text to a file called /sbin/installkernel
then chmod 755 /sbin/installkernel
----------Begin-Cut----------------
#! /bin/sh
#
# /sbin/installkernel - written by [EMAIL PROTECTED]
#
INSTALL_PATH=/boot
KERNEL_VERSION=$1
BOOTIMAGE=$2
MAPFILE=$3
if [ -f $INSTALL_PATH/vmlinuz-$KERNEL_VERSION ]; then
mv $INSTALL_PATH/vmlinuz-$KERNEL_VERSION \
$INSTALL_PATH/vmlinuz.old;
fi
if [ -f $INSTALL_PATH/System.map-$KERNEL_VERSION ]; then
mv $INSTALL_PATH/System.map-$KERNEL_VERSION \
$INSTALL_PATH/System.map.old;
fi
cat $BOOTIMAGE > $INSTALL_PATH/vmlinuz-$KERNEL_VERSION
cp $MAPFILE $INSTALL_PATH/System.map-$KERNEL_VERSION
ln -fs vmlinuz-$KERNEL_VERSION $INSTALL_PATH/vmlinuz
ln -fs System.map-$KERNEL_VERSION $INSTALL_PATH/System.map
if [ -x /sbin/lilo ]; then /sbin/lilo; else /etc/lilo/install; fi
--------------End-Cut-------------
Here's a simple lilo.conf (edit to suit your own tatses)
----------Begin-Cut----------------
boot = /dev/hda
prompt
timeout = 300
vga = normal
image = /boot/vmlinuz
root = /dev/hda1
label = linux
read-only
image = /boot/backup
root = /dev/hda1
label = backup
read-only
----------End-Cut------------------
--
Free linux help on #linux @ irc.axenet.org
http://www.axenet.org/chatnow/chat.php?channel=linux
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs