The drive you are dd'ing to has to be equal size or larger. If the second drive is larger you lose the space it is larger by. So if oyu have a 40 gig drive and dd it to a 45 gig drive you lose 5 gig.
--- Joćo Lourenēo <[EMAIL PROTECTED]> wrote: > Be careful! "dd" only works if the two drives are > of the same model > (or, at least, the same size). > > I would say "tar" is a better option. But remember > to exclude the > virtual file systems "/proc" and "/sys". > > Alternatively, when I do such things, I assemble the > new hard drive in > a remote machine, accessible by the network, > partition and format it, > and then use "rsync" to copy all the files from > source machine to the > remote new disk. > > Something close to (please check the rsync man page, > I'm reproducing the > command from memory): > > # cd / > # rsync -aPS -e 'ssh' --exclude 'proc/*' --exclude > 'sys/*' \ > . remote_ip:/mount_pint_of_new_disk/" > > > Remember to **check the rsync man page** and make a > few experiments > before trying the whole thing! > > Joćo > > > On Mon, 2005-02-28 at 15:22 -0800, Sean Perry wrote: > > As for the imaging itself, dd is really simple. Or > you could just tar > > the whole thing up and save it. > > > -- > Joao Lourenco Tels: (+351) 212 948 > 536 > Dep. Informatica (+351) 212 948 > 300 > FCT / Univ. Nova de Lisboa Ext: 10740 > Quinta da Torre Fax: (+351) 212 948 > 541 > P-2829-516 CAPARICA > http://www-asc.di.fct.unl.pt/~jml > > > -- > To UNSUBSCRIBE, email to > [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > > __________________________________ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]