LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux System not booting from new kernel (https://www.linuxquestions.org/questions/linux-newbie-8/linux-system-not-booting-from-new-kernel-266641/)

pal 12-15-2004 08:19 AM

Linux System not booting from new kernel
 
sir,
we are a group of students working on a clusturing project(making a linux virtual server).We had downloaded new kernel 2.4.21 (linux-2.4.21.tar.bz2) on a machine installed earlier with kernel 2.4.20-8.Then we used following commands as root:-
tar -jxvf linux-2.4.21.tar.bz2,
then cd linux-2.4.21 and issed following commands :-
make mrproper,make menuconfig,make dep,make bzImage modules,
these are working fine.But make install modules_install was giving error that there is no directory named /lib/modules/2.4.21,Then we created. the directory 2.4.21 manually by using the command mkdir.Then we tried the same command make install modules_install.it had executed properly without error now.Has we did the right thing ,sir.?
Then the commands :-
cp -p arch/i386/boot bzImage /boot/vmlinuz-2.4.21 ,
cp -p System.map /boot/System.map-2.4.21,
cp -p .config /boot/config-2.4.21,
Then cd /boot and then command:-
mkinitrd/boot/initrd-2.4.21.img 2.4.21
Then we varified /etc/grub.conf to check the new kernel entry .Then rebooted,But the system keeps on rebooting with the new kernel as the BIOS screen comes.When we boot from old kernel it is booting properly.What could be the problem ,sir?

LauroMoura 12-15-2004 10:28 AM

Kernel Configuration?
 
Probably it's some problem with the kernel config. Check the options you choose with menuconfig.


By the way....
Linux 2.4.21? Why don't you download the 2.4.28 (current stable for 2.4.x)? :confused: Is 2.4.21 specific for your project?

egag 12-15-2004 06:41 PM

i think " make install modules_install " should be " make modules_install ".
and do you need an " initrd " ?

egag


All times are GMT -5. The time now is 12:44 PM.