home / infca / linux / lkern (navigation links) La verdad es siempre revolucionaria Gramsci.

Some kernel compilation tips


Doc [SuSE 8.2] /usr/src/linux/README
cd /home/usuari/linux go to users's directory
gzip -cd linux-2.4.XX.tar.gz | tar xvf - install the full sources
make mrproper make sure you have no stale .o files and dependencies lying around
make config configure the basic kernel. Or, you can use
  • make menuconfig - text based color menus, radiolists and dialogs.
  • make xconfig - X windows based configuration tool.
  • make oldconfig - default all questions based on the contents of your existing ./.config file.
make dep set up all the dependencies correctly
make bzImage create a compressed kernel image.
make modules if you configured any of the parts of the kernel as 'modules'
Then, make modules_install
copy over old (save) from .../linux/arch/i386/boot/bzImage to the place where your regular bootable kernel is found.
Where is this ? See /etc/lilo.conf !
update lilo edit /etc/lilo.conf
run lilo -v -v -v > /home/user/tmp/lilo.txt to update the loading map [/boot/map is created !]
reboot  


Parts


Resum


Links


Ep ! Site under construction. Escriu-me !
Updated 03/06/2005.  
Uf !