- 按照正常顺序 make menuconfig--->make--->make modules--->make modules_install
- Centos6版本以后可能会遇见:
FATAL: Could not load /lib/modules/2.6.18-274.7.1.el5.028stab095.1/modules.dep: No such file or directory
解决办法:
- 删除/boot/initramfs-2.6.18-274.img
- 执行:dracut -f -v --hostonly -k '/lib/modules/2.6.18-274' ../initramfs-2.6.18-274.img 2.6.18-274
- 修改grub.cfg启动顺序
- reboot系统