|
下载2.6.15内核,按照一下步骤编译内核
1 make mrproper
2 make menuconfig
3 make bzImage
4 make modules
5 make modules_install
所有的配置都是默认的,然后把System.map 拷到/boot/System.map-2.6.15-24
cp ../boot/bzImage /boot/vmlinuz-2.6.15-24
然后修改grub引导文件后重新启动后出现下面问题:
Uncompressing linux ….OK, booting the kernel
WARNING: Couldn’t open directory /lib/modules/2.6.15.7-ubuntu1: No such file or directory
FATAL: Could not open /lib/modules/2.6.15.7-ubuntu1/modules.dep.temp for writing: No such file or directory |
|