LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 04-05-2004, 02:37 PM   #1
gangster_god
LQ Newbie
 
Registered: Apr 2004
Location: LONDON THE PLCAE TO B :D
Distribution: Mandrake Commuinity 10.0
Posts: 4

Rep: Reputation: 0
Exclamation recompile the kernel!!! :O HELP!


Hi There,

Im new to the world of linux and well while ive been configuring it and setting up my internet through BT's crap USB modem ive come across the need to recompile the kernel

Can n e one offer me help on how to do this or provide websites that tell me step by step how to do so.

Im using mandrake 10.0 community with the latest kernal 3.sumthing.sumthing :P

Plz Plz Help

lol im alos having trouble with my sound and colour of videos lol but ill leave those to another post

-Gangster GoD
 
Old 04-06-2004, 08:26 AM   #2
teval
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
Google for compile linux kernel will give you a million answers. It also helps if you put howto in the search (newbie also helps for really simple howtos)
 
Old 04-06-2004, 11:49 AM   #3
mooreted
Member
 
Registered: May 2003
Posts: 598

Rep: Reputation: 30
Why do you think you need to compile your own kernel? It might help to know what you are trying to do. Generally, you only need to compile a kernel if there is a specific feature which is not compiled into the kernel.

Ted.
 
Old 04-06-2004, 03:42 PM   #4
kundor
Member
 
Registered: Aug 2003
Distribution: GoboLinux
Posts: 167

Rep: Reputation: 30
urpmi kernel-source (this will install the kernel sources for you)
cd /usr/src/linux
su (become root)
If you need to apply kernel patches before you compile, now is the time:
patch -p1 < file.patch (obviously, replace file.patch with your patch file. it needs to be in the same directory.)
make mrproper
make menuconfig
A menu will come up that you need to choose options for. If you don't know, the defaults will probably be ok. If there are specific changes you need to make, do it now. After you exit, be sure to choose "save".
make
make modules_install
cp arch/i386/boot/bzImage /boot/vmlinuz-new

Then you need to edit your /etc/lilo.conf. Copy the section for Mandrake and change /boot/vmlinuz to /boot/vmlinuz-new.


If you're not comfortable doing any of this, then you probably don't really need to recompile your kernel.
 
  


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
how to recompile kernel 2.4.21-15.EL zameer_india Linux - Newbie 2 12-24-2004 01:02 AM
kernel recompile error (kernel panic) tombaaaaa Linux - Newbie 4 08-04-2004 04:32 PM
Recompile kernel 2.6 heema Linux - General 3 05-26-2004 10:29 AM
9.2 kernel recompile dukeinlondon Mandriva 3 11-10-2003 06:34 AM
Recompile Kernel ? Amerist Linux - Newbie 5 04-16-2002 04:13 AM


All times are GMT -5. The time now is 03:17 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration