当前位置: 技术问答>linux和unix
昨晚升级2.6.4请帮我看看,
来源: 互联网 发布时间:2015-06-17
本文导语: [root@localhost linux-2.6.4]# ls arch Documentation init MAINTAINERS README sound COPYING drivers ipc Makefile REPORTING-BUGS System.map CREDITS fs kernel mm ...
[root@localhost linux-2.6.4]# ls
arch Documentation init MAINTAINERS README sound
COPYING drivers ipc Makefile REPORTING-BUGS System.map
CREDITS fs kernel mm scripts usr
crypto include lib net security vmlinux
[root@localhost linux-2.6.4]# make install
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
Kernel: arch/i386/boot/bzImage is ready
sh /usr/src/linux-2.6.4/arch/i386/boot/install.sh 2.6.4 arch/i386/boot/bzImage System.map ""
/lib/modules/2.6.4 is not a directory.
mkinitrd failed
make[1]: *** [install] Error 1
make: *** [install] Error 2
[root@localhost linux-2.6.4]#
这样就完了 》?
我不会找错的
arch Documentation init MAINTAINERS README sound
COPYING drivers ipc Makefile REPORTING-BUGS System.map
CREDITS fs kernel mm scripts usr
crypto include lib net security vmlinux
[root@localhost linux-2.6.4]# make install
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
Kernel: arch/i386/boot/bzImage is ready
sh /usr/src/linux-2.6.4/arch/i386/boot/install.sh 2.6.4 arch/i386/boot/bzImage System.map ""
/lib/modules/2.6.4 is not a directory.
mkinitrd failed
make[1]: *** [install] Error 1
make: *** [install] Error 2
[root@localhost linux-2.6.4]#
这样就完了 》?
我不会找错的
|
先选要编译的 make xconfig make menuconfig什么的 好多选项 很烦
然后make
make modules_install
make install
不过很难一次成功
然后make
make modules_install
make install
不过很难一次成功
|
好好看看readme先,你前面的步骤都没有做怎么可能make install?
|
在执行make install之前先执行make modules_install