[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: restore boot block



On Wed, 18 Jun 2003, Joseph V Moss wrote:

> 
> That's still wrong.  skip= specifies the number of *blocks* to skip.
> 
> So:
> 
>    dd if=/dev/hda of=mypartitions skip=446 bs=1 count=64
>    dd if=/dev/zero of=/dev/hda bs=512 count=1
>    dd if=mypartitions of=/dev/hda skip=446 bs=1

and since the blocksize above is 1, it works just fine.  come on,
folks, this ain't rocket surgery.  it's just "dd".

rday

p.s.  top posting.  bad.  very bad.


--

Robert P. J. Day
Eno River Technologies
Unix, Linux and Open Source training
Waterloo, Ontario

www.enoriver.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]