r/linuxadmin • • Oct 24 '25

dd command not working

Hi, I’m a beginner sysadmin and I had to wipe a company computer. I booted a live Debian and ran lsblk, which showed that I had sda as the system disk and sdb as the live USB. So I ran sudo dd if=/dev/zero of=/dev/sda status=progress bs=4M. After the task finished successfully, I tried restarting the computer, and it booted into Windows as if nothing had happened.

Does anyone know why it didn’t wipe the drive, or any other reliable method that’s guaranteed to work?

0 Upvotes

39 comments sorted by

View all comments

Show parent comment

1

u/AlySalama Oct 24 '25

I was not aware of thank. Thank you for this knowledge!

1

u/megared17 Oct 24 '25

also, unmounting a filesystem automatically does a sync.