分页: 1 / 1

编译完内核后启动出错

发表于 : 2006-12-27 11:00
debianarrow
下载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

发表于 : 2007-04-02 21:55
Feb29
版本号好像有点乱
kernel是2.6.15, system.map是2.6.15-24
modules 却是 2.6.15.7-ubuntul?

发表于 : 2008-05-25 11:43
yooh
检查boot/grub/menu.lst 文件配置。。。。。