Wednesday, June 3, 2009

Remove MBR using dd command

Remove all:
dd if=/dev/zero of=/dev/HDD count=1 bs=512

Without partition table:
dd if=/dev/zero of=/dev/HDD bs=446 count=1

HDD is your hard drive letter

No comments:

Post a Comment

list open ports and unix sockets

To do this I use netstat command to list all open ports: $ sudo netstat -tuplen to list open ports and unix sockets: $ sudo netstat -...