![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Rebuild the Dev of a non UNIX kernel... | DevSer2279 | High Level Programming | 0 | 04-20-2008 06:23 PM |
| Kernel panic - not syncing == While RHEL AS install | Crazy_murli | UNIX for Dummies Questions & Answers | 0 | 07-21-2006 03:12 AM |
| Error wile rebuild the kernel | irasela | UNIX for Advanced & Expert Users | 0 | 02-08-2006 04:44 PM |
| best way to rebuild a kernel | xyyz | UNIX for Advanced & Expert Users | 1 | 01-29-2003 02:47 AM |
| Don't Know to Rebuild Linux Kernel(URGENT) | S.Vishwanath | UNIX for Dummies Questions & Answers | 2 | 06-30-2001 12:29 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Need to rebuild and install the kernel.
Trying to install some ide raid drivers (to add some more hdds) and the instrcutions have toled me to modify some code in the kernel folder in usr/src (this is mandrake linux 9 btw). I need to then rebuild the kernel, how do I do this? Is there some file that I bring up for a whole c project (the kernel source code) so then I command it to compile? I am kinda new to Linux (but learning it well enough) so don't give me too much grief
|
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Quote:
Hope this helps. |
|
#3
|
||||
|
||||
|
First hint:
Read the file called README! Run through it on a test machine before trying this with something important. It's very common to try to have to recompile several times before you get a good clean kernel the way you want it - if you really screw up, you can't boot the kernel at all (I once inadventantly left out support for my hard drive! Do'h!). My favorite way is: cd /usr/src/linux make menuconfig make dep make bzImage make modules make modules_install cp the kernel to it's final location, reconfigure LILO or GRUB or whatever, and reboot. Make sure to leave a few hours open if this is a slower machine. |
||||
| Google The UNIX and Linux Forums |