Recently Featured | Most Discussed | Most Recent | Most Responded | Most Viewed | Top Favorites | Top Rated | TV Serials | Trailers | Recently Watched
Howto: Debian Linux Kernel Compilation, Part 1
This ad will close in 15 seconds
Rate:

22 ratings
Views:
13,695
From : igneousphantom
Added: Aug 15, 2008
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.
Category : Education
Added: Aug 15, 2008
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.
Category : Education
Related Videos

Video Categories:
Also Try:


