Does anyone have a good step by step on compiling a Kernel?
Im going to try to compile the 2.6 kernel, get rid of what I dont need and see if I can add in the ACPI support and get it working. Anyone have a good how-to?
|
|
Is it pretty much the same procedure for Mandrake?
|
Kernel compiling is kernel compiling no matter which distro for linux.
Hope this helps Brian1 |
Well - I did this with 2.6.0-test4 with no probs under Mandrake 9.1 with LILO.
Get hold of the kernel source. Download either to /usr/src or home directory – you can always extract to a directory in /home then use the mv command to move the newly extracted directory to /usr/src – change into that directory with cd - once youve cd'd into the extracted directory (or symlink to extracted directory) then do make xconfig make clean make bzImage make modules make modules_install cp System.map /boot/System.map-2.6.0-test4 cp arch/i386/boot/bzImage /boot/bzImage-2.6.0-test4 kedit /etc/lilo.conf Copy the whole normal entry for your distro then change 2 things – the image path and the label name – save it /sbin/lilo Dr Ozz's guide is worth checking out for more info. (remember with 2.6........... you dont need to make dep anymore) |
If you use bzlilo instead of bzimage it will make entries in lilo for you. But you still have to move the files to /boot.
|
All times are GMT -5. The time now is 08:34 AM. |