|
|
| Unix Administration Firewall Intrusion Detection Network Security Hacking MORE HOME |
prtvtoc /dev/rdsk/c0t3d0s0to see the partition table of disk one and
prvtvtoc /dev/rdsk/c0t1d0s0for disk two.
Remember that partition 2 (s2) is the backup partition spanning the entire harddrive.dd if=/dev/rdsk/c0t3d0s2 of=/dev/rdsk/c0t1d0s2 bs=10000k obs=10000k ibs=10000k
format
0 (for c0t1d0)
part
{0,1,3,4,5,6,7} change sizes (it's all in cylinders!!)
print (show table)
label (write to disk)
q
q
Or you can go via ufsdump 0f - /dev/rdsk/c0 ... | (cd /root2; ufsrestore xf -) and creating mountpoints, ... See here for instructions on this.dd if=/dev/rdsk/c0t3d0s0 of=/dev/rdsk/c0t1d0s0 bs=1000k obs=1000k ibs=1000k
| CopyLeft (l) 2003 by Raffael Marty |