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:
vmlinux-2.6.1->/boot/vmlinuz
vmlinuz->vmlinuz-2.4.20-8
vmlinuz-2.6.1
...
then i went to edit the grub.conf to be
title redhat 2.6.1
root (hd0,2)
kernel /vmlinuz-2.6.1 ro root=LABEL=/
title Red Hat Linux(2.4.20-8)
root (hd0,1)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /initrd-2.4.20-8.img
title DOS
...
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...
cd /boot
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 .
fine.
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.
thanks
|