compiling the kernel requiere some experience.
The procedure is not hard, but WHAT kind of KERNEL do you need to build is
sometimes hard to decide.
If you are not familiar with certain thing about ,
I advice use a pre built kernel installed with rh.
nevertheless if you are decided to
fail:
1 Go to souce code of kernel
cd /usr/src/linux-(vercion number)
2 Know, configure how do you want the kernel
result, I mean: specify what you want suppot and what not, adicional
feature , etc. THIS IS the HARDEST step
make menuconfig
3 make depencies with all parts
make dep; make clean
4 Order to buld the kernel
make bzImage
5 The new generated kernel is writen in
/usr/src/linux-(vercion)/arch/i386/boot/bzImage , copy it to /boot
cp /usr/src/linux-2.4/arch/i386/boot/bzImage
/boot/bzImage
6 Build all part setted as modules:
make modules; make modules_install
7 Make it valid to
lilo (LInux LOader), edit /etc/lilo.conf and add
an entry to the new kernel, basically copy the first seccion, it must look
like:
boot=/dev/hda
map=/boot/map install=/boot/boot.b prompt timeout=50 message=/boot/message linear default=linux image=/boot/vmlinuz-2.4.2-2 label=linux read-only root=/dev/hda2 #image=/boot/bzImage
# label=new # read-only # root=/dev/hda2 Just uncomment last seccion and chech the number of
root device !
8 Install nw LILO
lilo
9 Reboot and select when lilo apper (LILO: )
the new kernel, (just type TAB to see list of krnel's names)
|
- Re: Kernel Question Mikkel L. Ellertson
- Re: Kernel Question John Aldrich
- Re: Kernel Question Statux
- Re: Kernel Question Thornton Prime
- Re: Kernel Question Rob Hardowa
- Re: Kernel Question lee johnson
- Re: Kernel Question Rob Hardowa
- Re: Kernel Question lee johnson
- Re[2]: Kernel Question Y u r i
- Kernel question AABAN34
- Re: Kernel question Enrique Bory Simon
- Re: Kernel question AABAN34
- Re: Kernel question Dale Kosan
- Re: Kernel question AABAN34
- Re: Kernel question Enrique Bory Simon