-
I'm new to disk 'shredding' so perhaps this might be a naive question, but is My use case is basically for potential resale of some HDDs - I'm not on the run from the NSA, but I am interested in shredding any HPA. From the above link:
With shredos, I followed the Ventoy ISO route but I've had some trouble with
Also tried |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 5 replies
-
Yes it does look like it's the same however I've not tested or used
The chipset being used in the USB enclosure could be the issue. It may not fully support ata pass through https://hardwarerecs.stackexchange.com/questions/6970/what-usb-to-ide-adapter-that-can-send-the-ata-secure-erase-command As a first step I would remove the drive from the USB enclosure and plug it into a PC motherboard with an IDE connector. There is a good chance the |
Beta Was this translation helpful? Give feedback.
-
Some more info here about ATA pass through and USB enclosures and interfaces in particular a list of USB chipsets that support ATA pass through. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your quick replies @PartialVolume. And thanks for the tips about the USB enclosures and support for ATA passthrough - I think this is likely. Not sure if/when I'll get to test with a PC motherboard. I'm rolling with |
Beta Was this translation helpful? Give feedback.
-
Edit: TL;DR - no, not equivalent. -- Thanks again for your tips. So I shrugged off my laziness and dug out an old PC. Initially I wondered why the boot loader was crashing at 100%, then I realised that the 64bit ISO I used on my laptop aint gonna work on this 32bit heap of junk! 🤣 I connected the Samsung SP1604N UATA 160GB which has earlier had the However, it appears that Unfortunately, on these other drives I'm unable to change the max sectors, for example
I also tried a Any suggestions on how to get past this? Perhaps something to configure in the BIOS? - the HDDs are just being auto detected at the moment. Access Mode is auto, but other options are CHS, LBA, Large. And then if Manual I can set Cylinder, Head, Precomp, Landing Zone, Sector. In another screen PIO is set to Auto, with options for modes 0 to 4. In fact, here's the manual https://www.manualslib.com/manual/628283/Shuttle-Fn41v3.html?page=64#manual Or, am I over-paranoid about HPA? The extra space is not a concern. Suggestion is that user data is never normally added to HPA https://superuser.com/questions/1613602/can-the-hpa-and-dca-contain-user-data-from-the-filesystem Maybe helpful info: IDE connected HDDs, three at a time, IDE0 master and slave, IDE1 master I have another older PC in bits (circa 2000) - is it worth trying that? By the way, I can say that shredos is way more informative during the wipe/verify process. |
Beta Was this translation helpful? Give feedback.
-
HPA wasn't introduced until the ATA/ATAPI-4 (aka ATA-4, Ultra ATA/33) standard in 2001. So if the drive or the controller in the PC predate 2001 or are from about that time then possibly HPA won't be accessible. see the table in this wiki page Features introduced with each ATA revision So assuming that the IDE controller in the PC is at least ATA/ATAPI-4 or later and likewise the disk then in theory it should work. Also some bios firmware from that time has limitations in regards to size of disk. So could be a bios issue although I've got my doubts, but you never know. See History of BIOS and IDE limits In particular the 33.8GB (1999) and 137GB (2001) limitations. I have a 80GB maxtor on a Pentium 4 32 bit from that period that behaves the same way in reporting a unlikely disk size and blaming it on a buggy driver. Despite that shredos wipes the 80GB disk without any issues. BTW, thanks for investigating this, when I come to write the HPA code into nwipe I'm starting to realize just how many edge cases I may have to take care off. So any feedback from others that are using or even trying to use hdparm -N to identify and set a HPA is all useful info to make the nwipe implementation of it more reliable. |
Beta Was this translation helpful? Give feedback.
-
@cylkee So investigating a bit further. Above I mentioned that I had a Pentium 4 with a 80GB Maxtor drive and hdparm -N /dev/sda was reporting a suspect HPA value which sort of implied HPA was enabled and complained about maybe a buggy driver? Well this fixed it for me.
Replace xxxxxxxx with the total number of sectors expected for your disc. The second number reported by Now rerunning |
Beta Was this translation helpful? Give feedback.
-
So ShredOS does respect the HPA that is set. However using the You can then use So long story short, there are certainly a few things to think about when using hdparm to check and reset the HPA if necessary. One other thing, When changing the HPA value you obviously need to restart nwipe preferably I would reboot shredos before wiping the disc and recheck the HPA value after the reboot. |
Beta Was this translation helpful? Give feedback.
Edit: TL;DR - no, not equivalent.
--
Thanks again for your tips.
So I shrugged off my laziness and dug out an old PC. Initially I wondered why the boot loader was crashing at 100%, then I realised that the 64bit ISO I used on my laptop aint gonna work on this 32bit heap of junk! 🤣
I connected the Samsung SP1604N UATA 160GB which has earlier had the
diskpart clean all
treatment. Happy to say thathdparm -N
reported max/max sectors and HPA disabled. And a quick glance at hexedit followed by a shredos Verify Zeros was also successful. Great, I thought...However, it appears that
diskpart clean all
does not, in fact, disable or overwrite HPA. I know this because all my other (older) drives, e…