|
Home Linux South America Forum Home |
'Howto: Debian Linux Kernel Compilation, Part 1'Post your related message now. |
us |
|
| |||
|
• Page 1 (Original Post) • A four part miniseries on compiling a new kernel in a debian-based distro. The condensed version of this tutorial, all of this is explained in depth in the video: 1.wget recentkernel source from "ftp.kernel.org" 2.extract kernel source in /usr/src "tar jxvf linux-2.6.xx.tar.bz2" 3. grab a patch, if desired. 3a. apply patch "cd /usr/src/li* && bzip2 -dc ../patchdiff.bz2 | patch -p1 --dry-run" 3b. if dry run patch succeeds, repeat process omiting --dry-run 4. copy current kernel config (if you want a decent base, if you want to build vanilla, omit this step) "cp /boot/config-`uname -r` ./.config" 5. "make menuconfig", load your config, and tweak as desired. 6. "make all" 7. "make modules_install" 8. "make install" 9. use mkinitrd.yaird or mkinitramfs, or whatever initrd generator you use to create a initrd for your kernel with "mkinitrd.yaird -o /boot/initrd-2.6.xx 2.6.xx" (where xx is the new kernel version) 10. update your grub config in /boot/grub/menu.list or do "update-grub" as root. 11. reboot into your new system. • Page 1 (Original Post) •
|
* www * com * 'Howto: Debian Linux Kernel Compilation, Part 1'
Website copyright (c) 2006-2010 GLR Sales LLC. (qzqzwzw) Privacy & DMCA Policy -- Those who twitter us! |