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.24
    cp System.map /boot/System.map-2.6.24
    mkinitrd -o /boot/initrd.img-2.6.24 2.6.24
    


  • 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.24_0_i386.deb
    

    Previous Pageprevious First Pagetop Next Pagenext