advanced usage of dd command

berky

2[H]4U
Joined
Aug 28, 2001
Messages
2,233
all of the following needs to be performed on a Sun V120 (ie. solaris 8 on sparc)

i need help using dd to copy a 36 gb hdd to a 72 gb hdd.

i tried to rtfm, but couldn't find anything that seemed to let me do this so it would fill up the drive and not screw anything up.

common sense tells me that if i just dd from the 36 to the 72, it will work, but i will have smaller partitions than i want. can i then somehow resize the partitions? i know you can w/partition magic, but that will not be available to me for obvious reasons.

also, it is not feasible for me to rebuild the entire box.

thanks.
 
Partition the 73Gb, and copy the contents some other way?
(Will cp -R recreate everything? I don't know.)
 
Yeah...I wouldn't use dd for that, honestly...I'd partition the drive by hand and use ufsdump/ufsrestore.
 
i will look into this ufsdump/ufsrestore. thank you for your input.
 
Back
Top