Boon Kee wrote:
How do you recompile the kernel? I am try to recompile linux 2.2.7 downloaded from
the web.
 
Here is how I compile the kernel (In Mandrake, you have to install the source from the CD...

Once you install the source from the cdrom:
cd /linux/src/linux
make xconfig
then make sure you enable sound support for whatever card you have and sound in general.  Once youre done configuring,save and exit.
THEN

make dep; make; clean; make boot

THEN

cd /usr/src/linux
make mudules

move the module directory to a new location:
mv /lib/modules/2.0....(whatever your version)     /lib/modules/2.0....-old

make modules_install

After a while.....

cp /usr/src/linux/arch/i386/boot/zImage    /boot

cat using pico for example or midnight commander and go to /etc/lilo.conf
then change (there are only 4 lines) the line label=linux to label=new (for example).  An make sure that the line root=...has the right partition (probably has it).
SAve
Then install lilo:
/sbin/lilo

Reboot and is done.

IT sounds difficult but you have to do it only once and you can have your machine configure just for you.  Macintosh is easier at first but it crashes all the time.  I guess the process is similar to adding extensions in a mac or drivers in a pc.  Linus has never crashed for me.  Which makes it difficult for me to learn more (once you have it configured, it is so stable you forget what you've learn becasue there is nothing else to do....)

Maybe somebody can post where exactly is the source in the CD-ROM.

Good luck
 
 
 

Reply via email to