Hello Steve,
After listening to you say in SN956 that SpinRite 6.1 doesn't run on virtual machines, I decided to try it myself because my use case differs from the one you reported. I found that it's possible to run on Virtualbox 7.0 with some limitations. I am writing about all the processes I went through, hoping it might be helpful to someone else.
I use Linux as my main OS, but occasionally, I have to use Windows, and for that, I use Virtualbox 7.0. So, I've downloaded SpinRite 6.1 PR 5.06 into my Windows VM. First problem: Windows Defender flagged SpinRite as malware:
Because each customer has their own signed SpinRite version, everyone has a different file, so I decided to check it also on Virustotal. Good news, I got zero/65, as you mentioned in SN
However, this doesn't solve the problem of my Windows flagging SpinRite as malware and deleting it immediately. So I had to add one folder as a "security exception" (
https://answers.microsoft.com/en-us...defender/8a096ae3-5ee5-4eac-9dc7-ab4d8628b035) and redownload SpinRite PR. Now, I could finally run SpinRite and create the ISO file.
The next steps are done on my Linux system (Ubuntu 22.04). I connected my SSD to a USB port and created a virtual disk (VMDK) that pointed to my physical device with this command:
sudo vboxmanage createmedium disk --filename ~/ssd.vmdk --format=VMDK --variant RawDisk --property RawDrive=/dev/sda
Note: This command is specific to Virtualbox version 7. For previous versions, the command syntax is different.
Next, on my Linux:
- I opened Virtualbox with sudo (without sudo, it doesn't work)
- created a new DOS VM, and added the SpinRite ISO file as a CD with boot device and the SSD.vmdk as a disk
- I booted the DOS VM, and SpinRite worked without a problem (see images below). Note: the SSD I used for this test has no known issues.
Limitations of this solution:
- Because the ISO file is read-only, SpinRite cannot create log files. We can solve this by adding another virtual disk to the Windows VM, but this time as a USB device. Then, use Rufus to create a USB bootable device from the SpinRite ISO file. Use this USB virtual disk in the DOS VM instead of the SpinRite ISO file as your boot disk.
- The other limitation is that there's no Smart data. I'm unsure if this is a USB or VM limitation. I also don't know if this affects SpinRite's ability to recover storage devices with problems. Maybe you can enlighten us about this.