LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-15-2004, 08:19 AM   #1
pal
Member
 
Registered: Dec 2004
Location: india
Posts: 60

Rep: Reputation: 15
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?
 
Old 12-15-2004, 10:28 AM   #2
LauroMoura
Member
 
Registered: Feb 2004
Location: Carpina, PE, Brazil
Distribution: Ubuntu 5.10
Posts: 44

Rep: Reputation: 15
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)? Is 2.4.21 specific for your project?
 
Old 12-15-2004, 06:41 PM   #3
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

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

egag
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
??Compiling new Linux Kernel in DOS,and then installing and booting System whit that isilinux Linux - General 2 01-26-2005 10:28 AM
Booting Kernel with simulated root file-system priyankadeven Linux - Newbie 2 12-29-2004 06:47 PM
booting the kernel leads to a system hang? DeathCrush19 Mandriva 1 09-29-2004 12:03 PM
Dual-booting Linux System PhuckFonix Linux - General 5 09-06-2004 10:37 PM
Problem booting my new kernel in an embedded system Fernando Linux - General 1 07-02-2002 09:41 AM


All times are GMT -5. The time now is 08:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration