Knowledgebase
Hamelic Engineering > Hamelic Engineering Helpdesk > Knowledgebase

Search help:


Erasing disks with the dd command

Solution

Use fidsk -l to find the right drive.

Use blockdev to find the right block size

dd if=/dev/zero of=/dev/(sdx from fdisk) bs=(from blackdev)

To get progress

kill -USR1 $(pgrep ^dd)

Alternate:

dd if=/dev/zero of=/dev/sdb bs=4096 status=progress

 
Was this article helpful? yes / no
Article details
Article ID: 1
Category: Disks
Rating (Votes): Article not rated yet (0)

 
« Go back

 
Powered by Help Desk Software HESK, brought to you by SysAid