Question:
how to erase MBR in Linux ?
Answer :
# dd if=/dev/zero of=/dev/hda1 bs=512 count=1
sudo dd if=/dev/zero of=/dev/sdb bs=512 count=1
1+0 records in
1+0 records out
512 bytes (512 B) copied, 0.00248635 s, 206 kB/s
bs = the first 512 bytes of the harddrive to remove the bootloader
count = 1 just clean 512 bytes (512 B)
count = 2 clean 1024 bytes (1024 B)
Reference :
0 意見:
張貼留言