我使用磁碟實用程式(下面的範例)在 Ubuntu 中啟動了安全擦除操作,機器被鎖定,我重新啟動了它,現在無法再存取磁碟。啟動時,BIOS 要求輸入磁碟密碼,我不知道它是什麼。我嘗試過empty和我的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
我剛剛嘗試過並且有效。
希望如果其他人遇到這個問題,它會有所幫助。