# Ubuntu でカーネルの再構築をしてみる sudo apt-get update sudo apt-get -yV install dpkg-dev libncurses5-dev kernel-package dh-make debhelper libelf-dev flex bison libgtk2.0-dev libnewt-dev python-dev libdw-dev binutils-dev asciidoc rm -rf /home/ubuntuuser/rebuild mkdir /home/ubuntuuser/rebuild cd /home/ubuntuuser/rebuild apt-get source linux-image-$(uname -r) cd linux-lts-quantal-3.5.0 cp /boot/config-$(uname -r) .config make menuconfig make localyesconfig make-kpkg clean CONCURRENCY_LEVEL=4 make-kpkg --initrd kernel-image kernel-headers