Jump to content

Command Crate ¿about?

Clear the partition table of a disk (dd)

dd if=/dev/zero of=/dev/sdX bs=512 count=1 status=progress

Writes zeros to the first 512-byte block of the specified disk (/dev/sdX), which can erase the partition table and boot sector. Warning: This command will destroy the partition table and potentially make the disk unbootable. Use with extreme caution and double-check the target disk (/dev/sdX).

disk management [kb:43]