newbie wants to compile new kernel
I have RH9 box with 2.4.20-8, I just downloaded the 2.6.1 but I am not sure how to make new kernel work and I would like to have options to choose the kernel versions on boot.
i unpacked the source , put it in the usr/linux-2.6.1 and from there I did make menuconfig, make
can someone guide me through the rest of the stuff, I stuffed up last time when I edited the grub.conf
This may be of some help. don't forget it's slackware related.
If it's not what you're looking for then do what I did, and search LQ yourself. You may find something closer to what you want to do with your redhat install
the make, make bzImage, make modules, make modules_install all went fine, but still I don't know how to make grub.conf to reflect the changes.
first I cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.1
then, ln -s /boot/vmlinuz /boot/vmlinux-2.6.1 (here i think it should be vmlinux-2.4.20-8 coz it is in the old boot dir)
the boot dir has the following:
then i went to edit the grub.conf to be
title redhat 2.6.1
kernel /vmlinuz-2.6.1 ro root=LABEL=/
title Red Hat Linux(2.4.20-8)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
when I reboot and select the new kernel, it failed with no file found , Kernel /vmlinuz-2.6.1 ro root=LABEL=/
the old kernel boots up fine.
then I went for the second way...
mv System.map System.map.old
cp /usr/src/linux-2.6.1/arch/i386/boot/bzImage /boot/
cp /usr/src/linux-2.6.1/System.map /boot/
then edited the grub.conf to be
title redhat 2.6.1
root (hd0, 2)
kernel /bzImage ro root=LABEL=/
title Red Hat Linux (2.4.20-8)
....(unchanged for the rest)
failed with same message on booting new kernel, old kernel still boots up .
i am lost here, can someone help me finish this seemingly simple task ? I really don't know what went wrong...... some guides says i should move the system .map some didn't memtion it, please help me out.
|All times are GMT -5. The time now is 06:15 PM.|