坏扇区会导致 ubuntu 安装程序冻结吗?

坏扇区会导致 ubuntu 安装程序冻结吗?

选择安装类型后不久(满的/最小)并点击继续安装程序冻结,无法继续下一步。硬盘有 9​​1 个坏扇区,这可能是原因吗?
我还尝试使用相同的 iso 映像安装到不同的硬盘上,安装程序运行正常

答案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/sdXX# 只读测试

或者

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

-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.

答案2

我会说:不会。坏块不会被使用,文件系统会处理这个问题。

随机崩溃更可能是由内存模块引起的。反复出现的崩溃可能是软件错误与硬件错误相结合的结果。例如系统要求的功能不受支持或无法正确识别硬件。

您需要提供实际错误才能获得更详细的答案。

相关内容