Saturday, September 11, 2021

Wednesday, September 1, 2021

USB data revovery

So, every recovery software for windows 10 is either trialware or buried too far down the google search. Lets try linux, there is always free or opensource applications. Let's fire up an Ubuntu virtual machine guest on my win10 host. Problem: my guest can't access my USB device! After a few days of research, I have found somebody else's solution:

  1. Safely unplug your USB devices from the host if any are plugged in.
  2. Open VBox then close it again to release any USB devices that may still be captured in the VM.
  3. Delete the UpperFilters entry, if it exists, in the host registry -

    • Open the Windows registry: Start (right-click in Win 10) > Run and type regedit.
    • Navigate to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Class\{36FC9E60-C465-11CF-8056-444553540000}.
    • Delete the UpperFilters entry if it exists.
    • Note: This entry did not exist on my system.
  4. Manually re-install VBox USB drivers on the Windows host -

    • Open folder C:\Program Files\Oracle\VirtualBox\drivers\USB.
    • Open subfolder device, right-click driver file VBoxUSB.inf, and click Install.
    • Open subfolder filter, right-click driver file VBoxUSBMon.inf, and click Install.
    • Reboot the Windows host system just to make sure the drivers are loaded.
  5. Plug in your USB devices.
  6. Open VBox and run the VM.
  7. Click any devices in the VM's Devices > USB menu list, and they should mount OK. (Hovering the mouse over the USB icon on the VM's status bar in the lower right corner of the VM will show the USB devices attached.)

Genius. Here it is, as a reminder. Back onto the recovery. While selecting the drive to recover, I realize that I created a 25GB virtual disk, not nearly enough to hold the recovered files from a 128GB SD card. Going to have to share my TB storage drive with my virtual machine. sudo adduser $USER vboxsf. Log out/in. Trying PhotoRec... going to bed...