Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-02-2004, 12:58 PM   #1
LQ Newbie
Registered: Jul 2004
Posts: 3

Rep: Reputation: 0
Exclamation facing problems recompiling kernel 2.6.5 in Fedora Core 2

Hello all
I'm quite new to kernel configurations and recompilation. I had to install Alcatel Speedtouch USB drivers but the installation source gave the error that the kernel is not configured for ATM. So I ran 'make menuconfig' and made the appropriate changes. Now I did the following :
$ make
$ make modules_install

after this i copied bzImage and to /boot but under diff names than the ones that were originally there (i.e., i didn't overwrite the existing image files) .
Please suggest me two things:
1. How can I apply the changes to my original kernel ?
2. How can I make this new kernel compilation a separate kernel entry to boot from ?
Old 07-02-2004, 01:39 PM   #2
LQ Newbie
Registered: Jun 2004
Location: Budapest
Distribution: Debian Woody
Posts: 8

Rep: Reputation: 0

maybe i can help u out.
it is not necessary to make these changes in your old kernel.
I think you just want to run your newly compiled kernel, to use ATM.
So, edit lilo.conf:
You should find your old kernel there (something like this: image='your old kernel's location here')
Now, just copy-paste those 4 lines, BUT replace that image location to where you copied your new kernel (bzImage).
After these type at prompt:lilo
When you reboot, hit <SHIFT>.
Now you can choose, what kernel you want to use.

Hope this helps.Best regards Wolve
Old 07-02-2004, 01:45 PM   #3
LQ Newbie
Registered: Jul 2004
Posts: 3

Original Poster
Rep: Reputation: 0
To : wolve

i already tried this out. but there is not lilo utility in my installation (i also tried 'locate lilo' but only found lilo.conf.anaconda which i edited as per what u have said ).
please suggest what should i do now.
Old 07-02-2004, 10:37 PM   #4
Registered: Mar 2004
Distribution: Mandrake 10
Posts: 30

Rep: Reputation: 15

I think that you must have installed grub as your boot loader instead of lilo. In that case, you need to edit /boot/grub/grub.conf so that it can locate the new kernel installed.

title whatever Kernel
kernel /vmlinuz-x.x.x ro root=LABEL=/
initrd /initrd-x.x.x.img

use the same parameters for "root=" as for your previous kernel

save the above changes and /sbin/grub.install >> to make these changes work :-)

All the Best!
Old 07-02-2004, 10:43 PM   #5
LQ Newbie
Registered: Jul 2004
Posts: 18

Rep: Reputation: 0
Hey I'm new to Linux. But I recently joined this forum and another one. I wrote a tutorial after recompiling from 2.4.26 -> 2.6.7. Here is a link to the tutorial:

Recompiling Kernel Instructions

Good luck.


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
Kernel 2.6.13 WLAN Problems on Fedora Core 3 billspork Linux - Wireless Networking 1 09-30-2005 07:16 AM
recompiling new kernel in fedora 3 x2aws Fedora 12 02-14-2005 08:36 AM
sftp and scp problems on kernel 2.6.5-1.358(fedora core 2) nikhil.hegde Linux - Software 0 09-21-2004 03:08 PM
Recompiling a fedora core 2 kernel for ntfs support fettouhi Fedora 2 08-07-2004 11:07 PM
problems with 2.4.22-1.2174 Fedora Core 1 kernel markhod Fedora 1 03-05-2004 08:30 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:57 AM.

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