How to delete all partitions for a complete reinstall

Alexander Skwar listen at alexander.skwar.name
Wed Aug 16 16:47:42 UTC 2006


· ZHAO Keliang Kevin <cs_zkx at stu.ust.hk>:

> But does filling MBR with 0 mean 

Filling with random numbers (ie. using /dev/random instead of
/dev/zero) would also work - but there's of course the slim
chance, that the random numbers make a real partition table.

It's slim, but it exists (but I don't know if it isn't much
more likely to win 10times in a row the grand prize in a 
lottery *G*).

> that my harddisk becomes 
> partition-less and other programs will be cheated and believed that
> there is nothing on the disk?

Yes, it will, as the partition table is in the first 512bytes 
of the HD. At least the "primary" partition table is to be
found there - if you use an extended partition with logical
partitions, those logical partitions will have "links" to the
next logical partition.

But as the partition table doesn't exist anymore, the logical
partitions cannot be found (easily).

Alexander Skwar
-- 
Trost gibt der Himmel, von den Menschen erwartet man Beistand.
                -- Ludwig Börne






More information about the ubuntu-users mailing list