Compiling new kernel.

From: Wedge (wedge_at_bluemarble.net)
Date: 01/08/04


Date: 8 Jan 2004 09:36:32 -0800

I've searched and just can't seem to find the answers here on Google.
I'm running RH9 and would like to "test" the new 2.6.0 kernel.
I've dl'd new source and untar'd it under /usr/src/linux-2.6.0.

First problem.
If I type make xconfig I get an error about not being able to find QT.
eventually I installed qt-devel and I could then get make xconfig to
run. The problem is it is NOT xconfig!!! Is xconfig dead or is there
something else I'm missing to get it to run.

Ok fine no xconfig lets use menuconfig.

I do the standard make menuconfig and set up the kernel. It looks like
most are being installed as modules. (remember this because this is an
issue later)
Save kernel
I edit the Makefile and add GAW at the end of extraversion.

make bzImage
make modules
make modules_install

copy bzImage to /boot/vmliuz-2.6.0GAW
copy the System.map file to /boot/System.map-2.6.0GAW

I added the following lines to the grub.conf

title RH (2.6.0 with NTFS)
        root (hd0,5)
        kernel /vmlinuz-2.6.0GAW ro root=LABEL=/
        initrd /initrd-2.4.20-8.img

I reboot the machine and choose the new kernel..
The system boots but has many errors along the way..
I'm thinking it can find the modules that are suppose be loaded
because one of the modules is for my network card and networking
doesn't work.
Is there a way configure grub so that I can seemless boot from one
kernel to another without having to rename map files and such??

Any help here would be appreciated..

V/R Greg Wejrowski



Relevant Pages

  • Re: FC2 2.6.7 build produces huge modules
    ... John-Paul Stewart wrote: ... Where did you get your kernel ... Maybe I will try a clean xconfig ... w/out copying the old .config - but that doesn't seem too promising. ...
    (comp.os.linux.misc)
  • Re: nvidia - kernel (2.6.6) compile causes fc2 to crash
    ... >> make xconfig or make menu config ... > make modules install ... FYI make dep is not needed anymore with 2.6.x ... Good question, I will see if i can reproduce this on the next kernel update, ...
    (Fedora)
  • Re: kernel compilation
    ... Subject: kernel compilation ... > make xconfig ... > make dep ... > make clean ...
    (Linux-Kernel)
  • Re: error compiling kernel
    ... > im trying to install a 2.6.9 kernel on my knoppix machine currently ... > make mrpoper is ok ... make menuconfig may be less demanding on your libs and headers, if xconfig ... Confidentiality Notice: This email may contain confidential and privileged information. ...
    (alt.os.linux)
  • Re: Proper way to install new kernel 2.6.11.7 into Fedora Core 3
    ... On 4/20/05, Temlakos wrote: ... >> make xconfig ... >> file to verify that the new kernel got installed. ... or at least a link to some clear instructions. ...
    (Fedora)