发博文
Linuxwhite

linuxwhite.blog.chinaunix.net

Keep Walking...   
个人资料
  • 博客访问:91651
  • 博文数量:86
  • 博客积分:2278
  • 博客等级:大尉
  • 注册时间:2008-03-14 01:07:50
订阅我的博客
  • 订阅
  • 订阅到鲜果
  • 订阅到抓虾
  • 订阅到Google
字体大小: 博文


Step 1. Getting the kernel source code


wget http://www.kernel.org/pub/linux/kernel/v2.6/longterm/v2.6.34/linux-2.6.34.10.tar.bz2

Step 2. Uncompressing and untaring

tar xjvf linux-2.6.34.10.tar.bz2

Step 3. Configuring the kernel

cd linux-2.6.34.10
make menuconfig

Note: make sure you choose ext4 ext2 and set CONFIG_DEVTMPFS=y 

Step 4. Compiling the kernel

make 
make modules

Step 5. Installing the kernel

sudo make install 
sudo make modules_install

Step 6. Making an initrd image

cd /boot
sudo mkinitramfs -o initrd.img-2.6.34.10 2.6.34.10

Step 7. Grub2 configuration

sudo update-grub

Step 8. Rebooting your system

sudo reboot

博客推荐文章
  • linux (2010-12-13 11:15:49)
  • linux (2011-08-03 13:43:13)
  • Linux (2011-05-02 21:28:13)
  • Linux (2011-05-19 21:35:31)
  • Linux (2011-06-13 21:04:30)
亲,您还没有登录,请[登录][注册]后再进行评论