[Lvlug] FC4 partitioning?
caleb at webninja.com
Mon Oct 17 21:56:36 EDT 2005
Darryl Gibson wrote:
> Ok, I'll give it a try soon. Would you mind going into some detail as
> to what that does? I could probably decipher it after spending an hour
> or two RTFMing, but I suspect you could explain it in 30 seconds?
dd takes data from 'if' (in-file) and writes it to 'of' (out-file) in bs
(block-size) chunks, repeating forever or until 'count' is reached or
'of' fills up
dd if=/dev/zero bs=512 count=4 of=/dev/hda
would read 512 byte blocks from /dev/zero (which just spits out nulls)
and write them into /dev/hda (the first ide drive) 4 times, for a total
of 2048 bytes, effectively zeroing out your partition table, mbr, and a
little bit afterwards just to be sure :)
This guarantees that your partition table and mbr are entirely clean
with no remnants of previous operating systems/boot loaders hanging around.
Making sure your blunders are popular ones. Rationally, this term should mean "methods that meet professional standards of competence and due care", but tends instead to be a managerial code phrase meaning "If anything goes wrong, I want to escape being a specific target of blame by pointing out that our hapless cock-up was the same one countless others made, too."
More information about the Lvlug