Ubuntu Kernel Tree Setup

cd /usr/src


sudo apt-get install mkinitramfs mkisofs

 

sudo apt-get install build-essential kernel-package

 

apt-cache search linux-source

 

sudo apt-get install linux-source

 

tar -jxvf linux-source-xxx.tar.bz2

 

cd linux-source-xxx

 

make menuconfig

 

sudo make

 

sudo make modules

 

sudo make modules_install

 

sudo cp .config /boot/config-xxx


sudo mkinitramfs -o /boot/initrd-xxx.img xxx


cp System.map /boot/System.map-xxx

 

cp arch/x86/boot/bzImage /boot/vmlinuz-xxx

 

sudo update-grub

 

reboot

你可能感兴趣的:(ubuntu,tree,search)