CentOS升级内核后提示无法启动,提示FATAL: Module scsi_wait_scan not found

升级内核脚本:https://teddysun.com/489.html
解决方法来自:http://bbs.itzmx.com/forum.php?mod=viewthread&tid=13852

  1. 创建force-vitio_blk-to-ensure-boot.conf
    echo 'add_drivers+="virtio_blk"' >/etc/dracut.conf.d/force-vitio_blk-to-ensure-boot.conf

2.
cd /boot

3:重新编译生成initramfs,把2个4.10.4-1.el6.elrepo.i686替换成升级后新内核的版本号
dracut -f /boot/initramfs-4.10.4-1.el6.elrepo.i686.img 4.10.4-1.el6.elrepo.i686

4:重启完工
reboot

添加新评论