this post was submitted on 18 Jul 2023
8 points (83.3% liked)

Selfhosted

40329 readers
407 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Is there a software emulates a SATA interface on a USB storage device, tricking Windows into recognizing the USB SSD as a SATA SSD.

Sandisk Extreme Portable is locked under bios password - dont know the password or even the computer I did this on. I tried many methods. Found that secure erase will work on AOEMI Partition Assistant if I can make windows see the usb as a sata device.

I do not care about the data. Hate that this thing is locked. Been on the backburner of stuff do fix and was hoping to correct this issue.

top 7 comments
sorted by: hot top controversial new old
[–] Generator@lemmy.pt 4 points 1 year ago (1 children)

Not related to selfhosted but OK.

Don't know about such software for Windows, but if you run Windows on a virtual machine on Linux, like virt-manager/libvirt you can add the USB as a local SSD.
Virt-manager isn't the most user friendly, but have a lot of features

[–] path0l0gy@lemmy.dbzer0.com 1 points 1 year ago

I just don’t know where to ask questions sometimes. This group is typically the most well rounded for any problem that I know.

[–] Violet_McQuasional@feddit.uk 3 points 1 year ago (2 children)

You could (carefully) run a dd command to blast the partition data off the drive, in Linux or any Unix based system.

Let's say your drive was recognised as /dev/sdc when you plugged it in.

First, make sure it's unmounted:

  1. sudo umount /dev/sdc

Then blast a gigabyte of zeros over the partition information: 2. sudo dd if=/dev/zero of=/dev/sdc bs=1G count=1

The partition information is usually stored on the very first couple of megabytes on the drive, so blasting a gig's worth of zeros linearly onto it should make it show up as an empty device next time you unplug and plug it in.

[–] tal@kbin.social 2 points 1 year ago* (last edited 1 year ago)

I'm not familiar with whatever this Sandisk portable thing is, but SanDisk is a drive manufacturer, in which case it may be drive-level.

googles

Sounds like when it's locked, the drive presents itself as a CD drive containing a Windows executable that unlocks it.

https://www.techrepublic.com/forums/discussions/how-do-i-fully-remove-sandisk-unlocker/

I wouldn't expect Linux to be able to write to it if that's it. It won't even see the actual drive, just the non-writeable CD drive.

Honestly, I'd probably just write off the drive if the data isn't important. The amount of time that's required to basically get a used hard drive is probably not going to be worth it.

[–] path0l0gy@lemmy.dbzer0.com 1 points 1 year ago

I’ll give it a try! So frustrating

load more comments
view more: next ›