zoukankan      html  css  js  c++  java
  • [Ubuntu] Error: The disk drive for /media/sda2 is not ready yet or not present

    After updated Ubuntu, and reboot, I got these error

    The disk drive for /media/sda2 is not ready yet or not present.
    Continue to wait, press S to skip or M for manual recovery.

    Though I can press s to continue the starting, but that is not so good to do that.

    Then i google these.

    From here: http://ubuntuforums.org/showthread.php?t=1466555 

    I found the solution.

    First, I use blkid to check the device list

    sudo blkid

    I got these message

    /dev/sda1: LABEL="M-gM-3M-;M-gM-;M-^_M-dM-?M-^]M-gM-^UM-^Y" UUID="AC6849A96849735E" TYPE="ntfs" 
    /dev/sda2: UUID="1E14506314503FC7" TYPE="ntfs" 
    /dev/sda5: LABEL="My Documents" UUID="BA768C1F768BDA91" TYPE="ntfs" 
    /dev/sda6: UUID="95f5cc90-1136-4380-9aa7-cf3081ed5fd1" TYPE="swap" 
    /dev/sda7: UUID="4f351c19-b8cb-4045-b912-1b2a0bb0101a" TYPE="ext4"

    Then open the fstab

    sudo vim /etc/fstab

    Here is the content

    # /etc/fstab: static file system information.
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    
    #Entry for /dev/sda7 :
    UUID=4f351c19-b8cb-4045-b912-1b2a0bb0101a    /    ext4    errors=remount-ro    0    1
    #Entry for /dev/sda1 :
    UUID=AC6849A96849735E    /media/M_gM_3M__M_gM__M___M_dM_?M__]M_gM__UM__Y    ntfs-3g    defaults,locale=en_US.UTF-8    0    0
    #Entry for /dev/sda5 :
    UUID=BA768C1F768BDA91    /media/My_Documents    ntfs-3g    defaults,locale=en_US.UTF-8    0    0
    #Entry for /dev/sda2 :
    UUID=1E14506314503FC7    /media/sda2    ntfs-3g    defaults,locale=en_US.UTF-8    0    0
    UUID=565076185075FED5    /media/SYSTEM_DRV    ntfs-3g    defaults,locale=en_US.UTF-8    0    0
    UUID=02D4A30DD4A301D1    /media/sda2    ntfs-3g    defaults,locale=en_US.UTF-8    0    0
    #Entry for /dev/sda6 :
    UUID=95f5cc90-1136-4380-9aa7-cf3081ed5fd1    none    swap    sw    0    0

    You can the that the RED code, compare to the list of blkid, i DO NOT have these UUID devices

    So, I remove these two lines, save, then reboot the system.

    Fixed!

    Have fun with Ubuntu!

  • 相关阅读:
    netcore一键部署到linux服务器以服务方式后台运行
    查找100-999之间的水仙花数
    shell创建数据库的脚本
    python打印九九乘法表的菱形实现
    c++一些重要的细节
    MySQL数据库基础学习笔记(二)
    MySQL数据库基础学习笔记(一)
    react-redux 的基本使用
    react-router-dom基本使用+3种传参方式
    从create-react-app 项目搭建开始
  • 原文地址:https://www.cnblogs.com/davidhhuan/p/3347710.html
Copyright © 2011-2022 走看看