If both hd's have the same geometry just use their device names as arguments to the 'if' and 'of' arguments, for example
$ dd if=/dev/hdx of=/dev/hdy If not, you can partition the second disk *exactly* the same way the old one is partitioned to copy the partitions one after another, for example $ dd if=/dev/hdx1 of=/dev/hdy1 and so on for every partition number. Gruss Steffan On Mon, Dec 10, 2001, [EMAIL PROTECTED] wrote: > >Hello all > >Can someone give me someadvice on how I >would use dd to copy the contents of one >harddisk to another hardisk on the same >machine. > >I want really to copy my linux stuff to a >new harddisk and get rid of the old hd. > >T:Irvine > > >-- >To UNSUBSCRIBE, email to [EMAIL PROTECTED] >with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] >