...
- Download RESCUE64.img.gz image from the sedutil page
- Decompress the Rescue system
- Linux: gunzip RESCUE64.img.gz
- Windows: Use 7-Zip
- Transfer the Rescue image to the USB stick
- Linux: dd if=RESCUE64.img of=/dev/sdX
- Windows: Use Win32DiskImager to write the image to the USB stick
- Boot the USB stick.
- You will see the login prompt, enter "root" there is no password and you will get a root shell prompt
Check for TCG Enterprise compliant drives using
Code Block sedutil-cli --scan
Output will look like this
Code Block Scanning for Opal compliant disks /dev/sda E SAS ST600MP0015 NT03
Check Locking status of the drive using
Code Block sedutil-cli --query
Output will look like this
Code Block /dev/sda SAS ST600MP0015 NT03 SEAGATE TPer function (0x0001) ACKNAK = N, ASYNC = N. BufferManagement = N, comIDManagement = N, Streaming = Y, SYNC = Y Locking function (0x0002) Locked = Y, LockingEnabled = Y, LockingSupported = Y, MBRDone = N, MBREnabled = N, MediaEncrypt = Y Geometry function (0x0003) Align = N, Alignment Granularity = 1 (528), Logical Block size = 528, Lowest Aligned LBA = 0 Enterprise function (0x0100) Range crossing = Y, Base comID = 0x07fe, comIDs = 2
If output shows "Locked = Y" then this drive shall be unlocked
N
ote- Note PSID on the drive label
Note that every drive has its own unique PSID!
- With the matching PSID the drive can be unlocked with following command, replace "sda" with the matching "sdX" number of the drive you want to unlock
- For HGST and Western Digital drives
For TCG Enterprise drives
Code Block sedutil-cli --PSIDrevertAdminSP PSIDpasswordPrintedOnLabel /dev/sda
For TCG Opal/Pyrite/Ruby drives
Code Block sedutil-cli –-yesIreallywanttoERASEALLmydatausingthePSID PSIDpasswordPrintedOnLabel /dev/sda
For Seagate drives
Code Block sedutil-cli –-yesIreallywanttoERASEALLmydatausingthePSID PSIDpasswordPrintedOnLabel /dev/sdX
- For HGST and Western Digital drives
If multiple drives are used and to find the matching "sdX" and disk serial use following command
Code Block find -L /sys/class/block -maxdepth 4 -name vpd_pg80 -exec cat {} \; -exec echo {} \;
This will show a list of all connected drives, including the "sdX" and disk serial
W461R3VJ /sys/class/block/sde/device/vpd_pg80
- Repeat these steps with all drives which need to be unlocked.
...