LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-19-2010, 11:50 AM   #1
aicrop
LQ Newbie
 
Registered: Jul 2010
Location: Phlippines
Distribution: CentOS
Posts: 14

Rep: Reputation: 0
[HELP] make menuconfig problem


hello! when i tried to type "make menuconfig" in my kernel directory
this is what i get
http://i913.photobucket.com/albums/a...g62/header.jpg

my ncurses are installed and latest according to the terminal when i tried updating it using "yum install ncurses"

please help me i dont have any idea on what to do next
 
Old 08-19-2010, 12:07 PM   #2
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
After completing the menuconfig (or xconfig [requires Qt]), the next step is this command:

Code:
make dep && make clean && make bzImage && make modules
make dep actually builds the dependencies needed to build the kernel and make clean cleans up. make bzImage actually builds the kernel image itself and make modules builds, just as it says, the *.ko files known as loadable modules.

Now this:
Code:
cp linux-2.6.32.5/arch/x86/boot/bzImage /boot/vmlinuz
make modules_install
You need to copy the kernel image (which is what cp does) to /boot and then install the modules to /lib/modules, which is what make modules_install does.

Now, after the modules are installed, this:

Code:
su -c yum install initramfs-tools
mkinitramfs /boot/initrd.img 2.6.32.5
You need to install initramfs-tools before you can continue (that's obviously what yum does). What mkinitramfs does is build a ramdisk image needed for the kernel to interact with memory. Without it, the kernel image won't boot.

EDIT: One more thing:

Code:
su -c update-grub
Now, you're all set!

Last edited by Kenny_Strawn; 08-19-2010 at 12:10 PM.
 
Old 08-19-2010, 12:08 PM   #3
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

You need the ncurses-devel package as make complains that you don't have the header files

Regards
 
Old 08-19-2010, 12:12 PM   #4
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
Or, to use the xconfig command:

Code:
su -c yum install libqt3-mt-devel
Xconfig is much more newbie-friendly than menuconfig.
 
  


Reply



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
make menuconfig format problem hussar Slackware 2 09-23-2006 12:23 PM
make menuconfig problem Tylr Slackware 3 08-13-2005 02:13 AM
Problem running make menuconfig cb9fl Slackware 8 12-07-2004 01:49 AM
Make menuconfig problem nontoxic Slackware 6 03-12-2004 12:51 PM
make menuconfig problem zLinuxz Linux - General 5 12-01-2002 12:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:58 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
Open Source Consulting | Domain Registration