[SLL] make config - too many questions

Mathew D. Watson watson at visiongate3d.com
Thu Jan 29 06:18:58 PST 2009


Pann McCuaig wrote:
> The config file for the running kernel can be found in /boot on Ubuntu
> systems.
> 
> On Wed, Jan 28, 2009 at 11:05, Mathew D. Watson wrote:
[snip]
>> What I would like to do is start out with a known to work configuration.  
>> For example, whatever was used to make the ubuntu 8.10 kernel that my  
>> machine is running. Then I can make my changes as needed.

Thank you all (Pann, Jarod, Derek, Chuck, Robert) for offering help.

The configuration files in /boot have names like 
config-2.6.27-9-generic. After copying one to .config in my kernel build 
directory, make oldconfig gave me a much shorter list of questions to 
answer. The kernel compiled to completion.

BTW, my system has no file with a name like /proc/config(.gz).

I then spent about 2 hours trying to get GRUB to load the new kernel. No 
luck. GRUB is complaining about my root= following the kernel name. I am 
  presently learning about GRUB to try and figure out what I'm doing wrong.

Jarod's comment about not needing to build the kernel surprised me, as 
Corbet et al. state on page 15 (6th ed.) "[B]uilding modules for 2.6.x 
requires that you have a configured and built kernel tree on your 
system." The same theme is reiterated in later in the chapter, so I'm 
sure they meant it.

I guess I'll just have to try making a loadable module both ways at some 
point to see what really is required.

Thanks again,

Mat




More information about the linux-list mailing list