CentOS开机报错:sd 0:0:0:0: [sda] Assuming drive cache: write through

Posted jeson-lbb

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CentOS开机报错:sd 0:0:0:0: [sda] Assuming drive cache: write through相关的知识,希望对你有一定的参考价值。

解决方法:

  1. vim /etc/default/grub 文件里去掉 rhgb 参数。
    [[email protected]01 ~/]#vim /etc/default/grub
    GRUB_TIMEOUT=5
    GRUB_DISTRIBUTOR="$(sed ‘s, release .*$,,g‘ /etc/system-release)"
    GRUB_DEFAULT=saved
    GRUB_DISABLE_SUBMENU=true
    GRUB_TERMINAL_OUTPUT="console"
    GRUB_CMDLINE_LINUX="crashkernel=auto biosdevname=0 net.ifnames=0 rhgb quiet"   # 删掉 rhgb,其中"rhgb"表示"redhat graphics boot",就是图形进度条模式
    GRUB_DISABLE_RECOVERY="true"
  2. 然后执行 grub2-mkconfig -o /boot/grub2/grub.cfg
    [[email protected]01 ~/]#grub2-mkconfig -o /boot/grub2/grub.cfg
    Generating grub configuration file ...
    Found linux image: /boot/vmlinuz-3.10.0-862.el7.x86_64
    Found initrd image: /boot/initramfs-3.10.0-862.el7.x86_64.img
    Found linux image: /boot/vmlinuz-0-rescue-4a7be05ea9e048fca01b8d5253845240
    Found initrd image: /boot/initramfs-0-rescue-4a7be05ea9e048fca01b8d5253845240.img
    done
  3. 最后  reboot


以上是关于CentOS开机报错:sd 0:0:0:0: [sda] Assuming drive cache: write through的主要内容,如果未能解决你的问题,请参考以下文章

nginx启动提示nginx: [emerg] bind() to 0.0.0.0:8080 failed (98: Address already in use)

启动服务报错:nginx: [emerg] bind() to 0.0.0.0:80 failed

easy-mock本地部署成功,访问报错:EADDRNOTAVAIL 0.0.0.0:7300 解决方案

spring cloud gateway(报错2)

Centos7开机无法正常启动?

修改nignx报错Nginx [emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)