NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Removing bootstrap data on i386



On 17/12/2009, at 10:07 AM, Dave B wrote:

> On Wed, Dec 16, 2009 at 11:55:52PM +0000, George Michaelson wrote:
>> Its simpler than this
>> 
>> dd if=/dev/zero of=/dev/rwd0d bs=512 count=1
> 
>  Does that preserve partition info?


nope. if you need to preserve the partition info, you have to blank less than 
512.

its the first 446 bytes

so dd if=/dev/zero of=/dev/rwd0d bs=446 count=1

http://en.wikipedia.org/wiki/Master_boot_record


Home | Main Index | Thread Index | Old Index