SpinRite is used to work on failed/failing hard disks, SSDs. The problem with SpinRite is that the current version (6.0) was released more than a decade ago in 2004. As such, not all computers may be boot into SpinRite and detect hard disks. It doesn’t support UEFI hence, one solution is to see if we can run SpinRite in a VM and then access raw disks to scan. Here’s how we do it:
Warning: This is a semi-advanced topic, since we deal with raw disk (not managed by the OS); any mistakes might render the disk unreadable. Proceed at your own risk.
Pepare the SpinRite VM
You need a Virtual Machine on which to run SpinRite. First order of business is to install Oracle VirtualBox. Pretty simple, it’s just clicking Next > Next > Next.
Generate the SpinRite ISO (per SpinRite’s instructions). Now create a VM in Oracle VirtualBox:
Even 64MB for the VM is enough
Point to the SpinRite ISO.
Identify and Detach disk
Attach the disk (you with to scan) to your machine and open Disk Management. Identify your Disk #.
In the example above, it’s 2. Note this. Now, we need to detach the disk from Windows. Run an elevated command prompt (as Administrator), then run diskpart
. You’ll enter the diskpart shell and then issue these commands.
list disk
select disk #
offline disk
attribute disk clear readonly
rescan
The disk is now offline
Create the Disk Image
Create a Disk Image from whole drive. Goto the install directory of VirtualBox. For me it’s D:\Program Files\Oracle\VirtualBox
. Open this path in a command prompt (as an Administrator). Replace the number (in the command below) with the Disk Number as appears in the DISKPART command or as seen in Computer Management (msc) > Disk Management
VBoxManage internalcommands createrawvmdk -filename "T:\Disk2.vmdk" -rawdisk "\\.\PhysicalDrive2"
i.e. if your Disk number is 3, PhysicalDrive2
should be PhysicalDrive3
. The -filename
can be any name you choose.
Now launch VirtualBox (as Administrator again, else you won’t be able to attach the Virtual Disk) and create a SpinRite VM
Tip: You can create multiple VMs if you wish to scan multiple disks at one time
Attach the disk we created before
This disk will appear attached to the VM
Now just start the VM and you will be able to boot into SpinRite. You can see the 500GB disk has been recognized via the VM.
With helpful notes from Dan Fox
Scan away!