LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-16-2007, 10:04 AM   #1
hoop
LQ Newbie
 
Registered: Dec 2005
Posts: 24

Rep: Reputation: 15
HELP. Kernel from scratch. and I mean scratch


Hi all, I want to build a new kernel on Ubuntu. I downloaded kernel source blah blah blah. when I enter menuconfig it allready has a generic config. I DONT WANT IT.IT's DRIVING ME MAD. If I wanted a generic kernel I wouldn't be building a custom kernel. There is no .config file so where is it getting this info from. I've tried make mrproper, make clean, make dep clean ......... but no luck, every time I enter menuconfig it has a generic config. Do i really have to go through everything in the kernel, taking it out.

Thx in Advance.

Hoop.uk
 
Old 08-16-2007, 10:34 AM   #2
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187
when you run make menuconfig it always loads up /linux-2.6.xx.x/arch/i386/defconfig, which is a default configuration for your arch, it should be no problem to modify that to your liking and when you exit menuconfig it will prompt you to save which will save it in your kernel source directory as .config then run make, after it builds run make modules_install, copy System.map and bzImage to boot and update your grub menu.1st, reboot and if you did everything correctly it should boot up with all your perifrials working...
 
Old 08-16-2007, 10:49 AM   #3
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
There are some options to menuconfig like 'oldconfig' and some more.One should do what you want but you'll have to google it - me no remember.
 
Old 08-19-2007, 07:09 AM   #4
hoop
LQ Newbie
 
Registered: Dec 2005
Posts: 24

Original Poster
Rep: Reputation: 15
Done it !!!

Found it was pulling in old config from boot folder, so i deleted it . in my case /boot/config-2.6.20-15-generic. Now when I run make menuconfig. It doesn't have every device enabled.
 
  


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
Non-modular Kernel from scratch Help shotokan Linux From Scratch 6 09-18-2005 09:12 AM
A computer from SCRATCH!!! (and I mean SCRATCH) chutsu Linux - Hardware 10 11-11-2004 05:14 PM
ali aladdin v agp stinks :scratch: :scratch: :scratch: Mr Marmmalade Linux - Hardware 1 07-08-2003 05:11 AM
question about kernel compiling from scratch ... purpleburple Slackware 2 03-19-2003 06:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 07:06 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration