磁盘实用程序在安全擦除期间崩溃,无法再访问驱动器

磁盘实用程序在安全擦除期间崩溃,无法再访问驱动器

我使用磁盘实用程序在 Ubuntu 中启动了安全擦除操作(见下文示例),机器锁定了,我重新启动了它,现在无法再访问磁盘。启动时,BIOS 要求输入磁盘密码,我不知道密码是什么。我试过清空和输入我的 Linux 用户密码,但都不起作用。我想我的希望是磁盘实用程序在擦除过程中使用一些默认密码,并且这里有人知道那是什么。最后要说的是,我发现这个问题它似乎有我需要的答案,但不幸的是,我使用了 Live CD 中的磁盘实用程序,因此没有日志。

在此处输入图片描述 在此处输入图片描述 磁盘工具

我也尝试使用hdparm上述密码来解锁驱动器。

  • sudo hdparm -I /dev/sdb
    产量:
...
Security: 
    Master password revision code = 65534
        supported
        enabled
        locked
    not frozen
    not expired: security count
        supported: enhanced erase
    Security level high
    564min for SECURITY ERASE UNIT. 564min for ENHANCED SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: 5000c500c2e9cd0d
    NAA     : 5
    IEEE OUI    : 000c50
    Unique ID   : 0c2e9cd0d
Checksum: correct

  • sudo hdparm --user-master u --security-disable NULL /dev/sdb
    产量:
/dev/sdb:
 Issuing SECURITY_DISABLE command, password="", user=user
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 04 51 40 00 21 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 04 53 40 01 21 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  • sudo hdparm --user-master u --security-disable mypassword /dev/sdb
    产量:
/dev/sdb:
 Issuing SECURITY_DISABLE command, password="mypassword", user=user
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 04 51 40 00 21 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 04 53 40 01 21 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  • sudo hdparm --user-master m --security-disable mypassword /dev/sdb
    产量:
/dev/sdb:
 Issuing SECURITY_DISABLE command, password="mypassword", user=master
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 04 51 40 01 21 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 04 53 40 01 21 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  • sudo hdparm --user-master m --security-disable NULL /dev/sdb
    产量:
/dev/sdb:
 Issuing SECURITY_DISABLE command, password="", user=master
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 04 51 40 01 21 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 04 53 40 01 21 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

答案1

我误解了另一个答案的意思,我不必查看日志,xxxx这是字面上的密码。因此只需输入:

sudo hdparm --user-master u --security-disable xxxx /dev/sdb

我刚刚尝试过并且它有效。

希望如果其他人遇到这种情况,它可以提供帮助。

相关内容