今天做了对linux内核的编译,没有采用ubuntu提供的方案,而是采用了linux的通用方案。
即5 steps:
1.make menuconfig (You May need a make proper before this)
2.make
3.make modules_install
4.make install
5.一些后续设置
遇到了一些问题
1。安装gcc-4.2,libqt3-mt-dev,bootcd-mkinitramfs(formorer bootcd-mkinitrd)
2。下载linux-2.6.22.tar.bz2,patch-2.6.22.15.bz2
3。打补丁
tar jxvf linux-2.6.22.tar.bz2
cd linux-2.6.22
bunzip -dc patch-2.6.22.15.bz2 | patch -p1 --dry-run
bunzip -dc patch-2.6.22.15.bz2 | patch -p1
4。make xconfig
5。make
6。make modules_install
7。make install
8。/boot 下现在有vmlinuz-2.6.22.15,System.map-2.6.22.15,config-2.6.22.15
9。mkinitramfs -o /boot/initrd.img-2.6.22.15 2.6.22.15
10。修改/boot/grub/menu.lst