LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-20-2006, 08:19 AM   #1
shibdas
Member
 
Registered: Jun 2003
Posts: 32

Rep: Reputation: 15
2.6.15-6 Kernel installation problem


Hi,
I have downloaded the 2.6.15-6 linux kernel but having some problem running it. I have compiled the kernel to produce the bzImage and then copied the bzImage to the /boot directory. I have then done make modules_install to install the modules under /lib/modules/kernel-version directory. Now I have run the command mkinitrd to make the initial ramdisk and copied it to the /boot directory. I have modified the /etc/grub.conf to include the following lines (bzImage is renamed to vmlinuz-2.6.15.6 after copying)

title fedora-2.6.15
root (hd0,2)
kernel /vmlinuz-2.6.15.6.img ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.15.6.img

then I run the command grub-install /dev/hda.

Now, whenever I try to boot the new kernel, after uncompressing the kernel image it is giving "Kernel panic not syncing attempted to kill init" .I have also tried with the actual root partition name in the grub.conf file.

Am I missing some steps??

Thanks
shibdas
 
Old 03-20-2006, 09:41 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Yes, it seems that you missed a step or two......

The steps (after downloading and expanding);

(apply any wanted or neded patches here)
make mrproper

cp /boot/config-<kernel-version#>
Note: provides a starting point to build a working kernel, maybe you missed this one

make xconfig
Note: to tweak for your hardware and customize the kernel

make
Note: does the make bzImage and make modules steps at once (get used to it)

make modules_install
Note: installs the modules to the proper location

make install
Note: Does the mkinitrd, all the copying of the files required to boot the new kernel, the renaming of them and the gurb.conf (or lilo.conf) editing if needed. Maybe you missed something when you did this by hand.
 
  


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
Problem on New Kernel Installation rajtendulkar Linux - Newbie 9 03-15-2006 11:30 PM
kernel problem after installation kpachopoulos Fedora 1 09-06-2005 04:20 AM
kernel installation problem hk_michael Red Hat 1 04-06-2005 01:39 AM
kernel installation problem? fredgt Linux - Software 2 11-18-2004 04:23 PM
installation problem with kernel halovivek Linux - Newbie 1 03-27-2004 12:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:29 AM.

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
Open Source Consulting | Domain Registration