QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1014|回复: 3

sudo make install的时候出现的问题,请帮忙

[复制链接]
发表于 2003-12-3 15:30:39 | 显示全部楼层 |阅读模式
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 /root/linux-2.6.0-test9/arch/i386/boot/install.sh 2.6.0-test9 arch/i386/boot/bzImage System.map ""
> /lib/modules/2.6.0-test9 is not a directory.
> mkinitrd failed
> make[1]: *** [install] Error 1
> make: *** [install] Error 2
>
发表于 2003-12-3 23:43:53 | 显示全部楼层
sudo mkdir /lib/modules/2.6.0-test9
sudo make install
回复

使用道具 举报

发表于 2003-12-13 02:21:47 | 显示全部楼层
Why not try 'make modules' before 'make install'?
b.t.w, what does sudo mean?
回复

使用道具 举报

发表于 2003-12-13 08:34:22 | 显示全部楼层
2.6不用make modules了
make mrproper
make menuconfig
...修改makefile,改版本号,否则可能覆盖原来的/lib/modules/2.6.0-xxx
make
make modules_install
cp .config /boot/config-your_own-version
cp System.map /boot/System.map-your_own_version
cp arch/i386/boot/bzImage /boot/vmlinuz-your_own_version
修改lilo/grub启动选项,增加新内核项
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-8-29 01:33 , Processed in 0.041974 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表