Ubuntu 18.04 LTS 更新后驱动程序丢失

Ubuntu 18.04 LTS 更新后驱动程序丢失

前几天我更新了我的 Ubuntu(只是一个小更新,没什么大不了的)。一切都很顺利,我正在 Kodi 上做一些事情,所以与操作系统无关。所以我通常会关闭 PC,第二天我再次启动它,我注意到的第一件事是,在启动时我得到了那个终端屏幕,它说它只是在检查一些文件,我必须在 /dev/sda1(+- 300mb 分区)上手动运行“fsck”,我照做了。重启后,它正常启动了。

接下来我注意到它比平时慢了很多。之后我意识到我无法连接到我的网络(我尝试了不同的连接方式,也尝试了网络、路由器等,但仍然无法连接),而且我的声音无法正常工作,任何地方(在 HDMI 或 3.5 毫米输出上)。而且 gpu 驱动程序无法正常工作,注意到这一点是因为一切都很滞后,动画不起作用,而 Kodi 的动画更滞后。USB 端口工作正常。

我真的没有主意了,我尝试使用终端执行 fsck,但从未成功。

华硕 P5K-SE Core2Quad Q8200 6GB DDR2 RAM 低规格 HD6000 AMD GPU

我目前正在考虑重新安装整个系统,但这不是个好主意,因为我在当前的 Ubuntu 上做了很多事情,重做起来很麻烦。我还尝试使用另一台 PC,但我使用 Ubuntu 的 PC 上的硬盘驱动器也出现了同样的问题,声音、以太网和 GPU 驱动程序没有响应。

提前致谢!

编辑:这是输出free -h 这里

编辑 2:这是终端的输出 这里

答案1

要使用 fsck 手动检查文件系统...

  • 启动至 Ubuntu Live DVD/USB
  • 打开terminal窗户
  • 类型sudo fdisk -l
  • 识别“Linux 文件系统”的 /dev/XXXX 设备名称
  • 输入sudo fsck -f /dev/XXXX# 用你之前找到的数字替换 XXXX
  • 如果有错误,请重复 fsck 命令
  • 类型reboot

更新#1:

Note: do NOT abort a bad block scan!

Note: do NOT bad block a SSD

Note: backup your important files FIRST!

sudo e2fsck -fcky /dev/sdb1# 只读测试

或者

sudo e2fsck -fccky /dev/sdb1# 非破坏性读写测试(受到推崇的)

-k 很重要,因为它会保存之前的坏块表,并将任何新的坏块添加到该表中。如果没有 -k,您将丢失所有之前的坏块信息。

-fccky 参数...

   -f     Force checking even if the file system seems clean.

   -c     This option causes e2fsck to use badblocks(8) program  to  do  a
          read-only  scan  of  the device in order to find any bad blocks.
          If any bad blocks are found, they are added  to  the  bad  block
          inode  to  prevent them from being allocated to a file or direc‐
          tory.  If this option is specified twice,  then  the  bad  block
          scan will be done using a non-destructive read-write test.

   -k     When combined with the -c option, any existing bad blocks in the
          bad blocks list are preserved, and any new bad blocks  found  by
          running  badblocks(8)  will  be added to the existing bad blocks
          list.

   -y     Assume  an answer of `yes' to all questions; allows e2fsck to be
          used non-interactively.  This option may not be specified at the
          same time as the -n or -p options.

相关内容