Results 1 to 5 of 5

Thread: Re-compiling a Linux Kernel

  1. #1
    Join Date
    Mar 2010
    Posts
    184

    Re-compiling a Linux Kernel

    Hello,
    My problem looks in particular the configuration of the kernel with xconfig. There is one thing I do not understand. Obviously when I install Linux (Mandrake 9) I care not for the kernel configuration, I let the distro. But when I run the xconfig this times, lots of options are already enabled. Does it correspond to the kernel configuration as installed by the distribution or is there a difference? The problem is that I do not find a file type kernel.config, and I just recompile changing some options.
    www.techarena.in

  2. #2
    Join Date
    Nov 2009
    Posts
    446

    Re: Re-compiling a Linux Kernel

    Hello,
    I will advice to change lilo or grub to be able to boot without a kernel panic if your kernel are not correct
    Here is the code for it
    Code:
    default = Linux
                                                                                    
    image = / boot / bzImage
            label = Linux
            read-only
                                                                                    
    image = / boot / bzImageTest
            label = newLINUX
            read-only
    Here's what I do when I test a new kernel. At startup I always choose to go back to my old kernel that worked.

  3. #3
    Join Date
    Dec 2009
    Posts
    202

    Linux Kernel compilation

    Hello,
    Even I am in the similar kind of a situation, I reinstalled everything. It is true that the recompilation is a pain when you master it (especially the kernel configuration, actually). But the problem with the distro like Mandrake is that the kernel is precompiled and includes hundreds of implementations totally useless. moreover it is not optimized for its own machine: for example, version supports all processors i386 i786 etc.

  4. #4
    Join Date
    Mar 2010
    Posts
    191

    Re: Re-compiling a Linux Kernel

    Hello,
    I have a question for you guys, does the size of the nucleus, depending on options selected (and therefore its size) can influence the course of the beast? Since prior to the larger it is the more prned memory footprint. I am really confused with this concept and I think I need a explanation on this. So, please explain me in brief. Thanks for your attention.

  5. #5
    Join Date
    Nov 2009
    Posts
    583

    Re: Re-compiling a Linux Kernel

    Hello,
    While the pre-compiled kernels contain bcp options that may Thee unnecessary. But imagine if there was a kernel config should be well over 3 CDs. And then it allows some movement. I had no CD. So no need SCSI support. And when I've added one, I did not have to recompile for the add! Same for my Ethernet card. To answer the question on the size, most of the 'options' are compiled as a module. These modules are loaded only when used. So, your kernel keeps a reasonable size. It takes up space on the disk, that's all.

Similar Threads

  1. Error 2 while compiling kernel in gentoo
    By Virr in forum Operating Systems
    Replies: 5
    Last Post: 30-05-2011, 08:08 PM
  2. Compiling and Debugging Linux Kernel
    By Samaria in forum Operating Systems
    Replies: 5
    Last Post: 30-12-2010, 12:01 AM
  3. Unable to boot after compiling and installing kernel
    By PWallace in forum Operating Systems
    Replies: 4
    Last Post: 09-11-2010, 02:54 PM
  4. ATI Proprietary driver not compiling on Linux kernel
    By Psykiller in forum Monitor & Video Cards
    Replies: 5
    Last Post: 02-06-2010, 11:54 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,659,776.03485 seconds with 17 queries