-   Linux - Newbie (
-   -   Removing partition table (

thirstonlinux 03-01-2013 04:10 AM

Removing partition table
Hi All,

To remove a partition table we have to use the below command,

# dd if= /dev/zero of= PhysicalVolume bs= 512 count= 1

Could someone explain me this command in detail. and how we can make use of this command in other ways.

pan64 03-01-2013 04:15 AM

see man dd
if means input file, /dev/zero means no input file, the input is just zeroes. of is the output file, the target device. bs is block size. the command will write 512 bytes (all are zero) onto the target. The partition table usually located within this first 512 bytes, therefore it will be overwritten (together with MBR).

All times are GMT -5. The time now is 06:51 AM.