[ale] duplicating the partition layout?
Robert L. Harris
Robert.L.Harris at rdlg.net
Mon Oct 22 12:33:19 EDT 2001
Odd...
Just did this and I get something odd. My source disk has 8
slices (not my choice).
1-3 linux primary
4 extended
5-8 linux logical
After the dd command my target drive has this:
1-3 linux primary
4 extended
5 unknown (some very strange cylinder numbs also).
?
Thus spake Joseph A Knapka (jknapka at earthlink.net):
> "Robert L. Harris" wrote:
> >
> > I have to duplicate a bunch of disks. They need identicle partition
> > layouts.
> >
> > I don't want to dd if=/dev/sda of=/dev/sdb since we're only actually
> > using 2 of the 18 gigs right now.
>
> dd if=/dev/sda of=/dev/sdb bs=512 count=1
>
> ought to do it. You just need to copy the first 512 bytes.
>
> Cheers,
>
> -- Joe
> # "You know how many remote castles there are along the
> # gorges? You can't MOVE for remote castles!" - Lu Tze re. Uberwald
> # Linux MM docs:
> http://home.earthlink.net/~jknapka/linux-mm/vmoutline.html
:wq!
---------------------------------------------------------------------------
Robert L. Harris | Micros~1 :
Senior System Engineer | For when quality, reliability
at RnD Consulting | and security just aren't
\_ that important!
DISCLAIMER:
These are MY OPINIONS ALONE. I speak for no-one else.
FYI:
perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
More information about the Ale
mailing list