代码: 全选
FATAL: modprobe: Could not load /lib/modules/2.6.28.7-goo/modules.dep
虽然启动后运行正常,但不明白为什么有这个错误
我安照网上的说法
sudo update-initramfs -u
也不行
为什么啊,高手支招
代码: 全选
FATAL: modprobe: Could not load /lib/modules/2.6.28.7-goo/modules.dep
希望有帮助!Some people have reported that packing and unpacking the module does the trick, so after a short stint at the prompt I was hoping this would be fixed:
cd /boot
cp initrd.img-2.6.29.4 initrd-2.6.29.4.old (Just making a backup)
depmod -a
update-initramfs -k 2.6.29.4 -c
cd /tmp
gzip -dc /boot/initrd.img-2.6.29.4| cpio -id
touch lib/modules/2.6.29.4/modules.dep
find ./ | cpio -H newc -o > /boot/initrd.img-2.6.29.4.new
gzip /boot/initrd.img-2.6.29.4.new
cd /boot
mv initrd.img-2.6.29.4.new.gz initrd.img-2.6.29.4
Didn’t fix the problem unfortunately, but the I stumbled across a forum post over at Remote-Exploit and the following rather simple cammand fixed the whole shebang:
update-grub