Format hard drive overwriting it with zeros or writing zeros to the hard disk

Thanks.

Are the commands the same in every Linux distro?

my asrock bios has some secure ssd erase

nekem van hdd. most az biztos.

chikenf00t: Does it mean I have 2 hard drives built-in when 2 ata-WDC_WD… codes show up?
ls /dev/disk/by-id
ata-MATSHITA_DVD+_-RW_UJ8C1_SHB4100345 wwn-0x50014ee6ac1f07f7
ata-WDC_WD7500BPKT-75PK4T0_WD-WX51A71Y6825 wwn-0x50014ee6ac1f07f7-part1
ata-WDC_WD7500BPKT-75PK4T0_WD-WX51A71Y6825-part1

I had no idea certain parts of storage were managed by firmware. I’ve definitely ran full shred and some other data destructive commands on an nvme before. I bought one from a questionable Chinese manufacturer that was know to come with some windows malware preloaded…it was really cheap though

You are looking for tools like shred or wipe:

https://wiki.archlinux.org/title/Securely_wipe_disk

In the past I used shred to cleanup old hdd before I throwed them away.

No. One of those is the partition on the disk.

1 Like

Thanks to all for contributing. I accept keybreak’s solution in the provided link https://wiki.archlinux.org/title/Securely_wipe_disk. dd if=/dev/zero of=/dev/sdX bs=4096 status=progress works.

Unfortunately, my original problem (getting rid of a hard drive error report from a Pre-boot System Assessment at each startup) has not been solved by wiping the disk. Is it appropriate to ask questions on that in this discussion as the computer manufacturer or hard disk manufacturer are primarily in charge but turning to them was not successful, yet?

Well, there is no harm in asking, though I doubt you’ll get a concrete and helpful answer… This is just a very specific and hardware related issue.

1 Like

Please find my topics in

DELL Community: https://www.dell.com/community/XPS/XPS-L502X-Pre-boot-System-Assessment-Build-4129-displays-hard/m-p/8328342#M105979
Western Digital Community: https://community.wd.com/t/wdc-wd7500bpkt-75pk4t0-s0-750gb-in-dell-xps-l502x-laptop-causes-error-reports/282392

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.