My Solaris 10 machine isn't booted at the moment but I believe my recollection is accurate (I'm on an S9 machine). If I am incorrect in any way I trust others will follow up.

Read the prtvtoc man page (man prtvtoc). Notice that the partition with tag 5 is the entire disk. Use the corresponding device special file with the dd command. In my case at the moment it would be /dev/[r]dsk/c2t6d0s2 - unless you have deliberately done something nonstandard it will always end 's2' I believe. Also, if you are using an x86 or x86-64 machine the Solaris fdisk partition may not include the entire physical drive. Hmmmm, You may be able to and need to use the partition device special file[s] in that case, I've not studied that issue.

Please be aware that all partitions on the physical disk must be unmounted in order to safely use 'dd' this way. That is, you can only safely 'dd' a partition which is not mounted, and for tag 5, all other partitions are included.

Please be aware that attempting to put this back onto a different type or size disk could result in disaster.

lukas wrote:
somebody knows how to create disk image contains 3 partition in
solaris 10?? I tried ufsdump but this tools only copy files and also I
tried g4u but not working because I have usb keyboard. you have any
ideas??
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org



--
Jerry Sutton    [EMAIL PROTECTED]
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to