Kernel Compile Guide ~~~~~~~~~~~~~~~~~~~~ Notes: ROOT access necessary http://www.kernel.org/mirrors/ mv linux-2.6.0.tar.gz /usr/src cd /usr/src tar -zxvf linux-2.6.0.tar.gz rm /usr/src/linux make oldconfig .config | make mrproper && make menuconfig (For 2.4 kernel) make dep && make bzImage modules modules_install cp arch/i386/boot/bzImage /boot/kernel-2.4.25-gentoo cp System.map /boot/System.map-2.4.25-gentoo cp .config /boot/config-2.4.25-gentoo (For 2.6 kernel) make && make modules_install cp arch/i386/boot/bzImage /boot/kernel-2.6.8-r1-gentoo cp .config /boot/config-2.6.8-r1-gentoo vim /etc/lilo.conf /sbin/lilo Known issues ~~~~~~~~~~~~~ - to prevent the "blank screen" enable # Graphics support # CONFIG_FB=y CONFIG_FB_VESA=y CONFIG_VIDEO_SELECT=y # # Console display driver support # CONFIG_VGA_CONSOLE=y CONFIG_DUMMY_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE=y CONFIG_PCI_CONSOLE=y CONFIG_FONT_8x8=y CONFIG_FONT_8x16=y - kernel panic enable # correct filesytem e.g. reiserfs # correct IDE/SATA/SCSI drivers # /dev file system support (for Gentoo users) # partition type Windows LDM , PC Bios (if partition table created using windows | msdos) ~~~~~~~~~~~~~~~~~~~~~~~~ Michal Goceliak (C) 2004