Linux内核编译问题

2025-03-10 10:15:24
推荐回答(3个)
回答1:

打开这个文件 /sbin/mkinitrd

找到下面的代码
for n in $scsimodules; do

# for now allow scsi modules to come from anywhere. There are some
# RAID controllers with drivers in block/
findmodule $n
done

把这三行注释掉 再试试看。

#for n in $scsimodules; do
#findmodule $n
# done

回答2:

2.4的内核升级到2.6有很多麻烦的,Redhat9的2.4.20要想成功编译2.6.8.1版内核需 要升级两个工具:modutils和mkinitrd,至于2.6.18,我就不知道了。我以前试过一次,转了一篇网上的文章,你也看看吧。多baidu,多google,希望你能成功了。

http://hi.baidu.com/liuxht/blog/item/d1b00ed853d4d13332fa1ccf.html

回答3:

缺少了true这个文件,先去别处靠一个过来试试看,不行的话自己编译一个utils吧,我也搞不清了,如果我遇到你的情况,我会重新编译的!