Kernel Compilation


  • Compiling kernel and modules
    make dep
    make bzImage
    make modules
    make modules_install
    


  • Installation
    cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.19.2
    cp System.map /boot/System.map-2.6.19.2
    mkinitrd -o /boot/initrd.img-2.6.19.2 2.6.19.2
    


  • Debian packaging (instead of all the above):
    apt-get install kernel-package
    make-kpkg buildpackage -rev 0 kernel_image
    dpkg -i kernel-image-2.6.19.2_0_i386.deb
    

    Previous Pageprevious First Pagetop Next Pagenext