here you make image of a slice, not disk. for entire disk use /dev/dsk/c0t0d0s2

On Wed, Jun 9, 2010 at 11:50 AM, hadi motamedi <motamed...@gmail.com> wrote:
> Dear All
> I have a working Solaris8 server that I want to make an image from its hard
> drive suitable for my qemu-system-sparc on MS Windows . Because of lack of
> sufficient free space, I tried to do it as the following :
> #dd if=/dev/dsk/c0t0d0s0 bs=512 count=1572864 |gzip
> -c>/tmp/solaris8.disk-pt1.gz
> #dd if=/dev/dsk/c0t0d0s0 bs=512 count=1572864 skip=3145728|gzip
> -c>/tmp/solaris8.disk-pt2.gz
> And so on.
> I continued this iteration up to twelve times and then the 'dd' wouldn't
> work afterwards . So I decompressed all of them and concatenated to have a
> big file . But my qemu cannot boot from it and it seems that the solaris
> didn't give me raw access to the disk (as suspected) . To accomplish this,
> can you please show me suitable raw disk access for cloning?
> Thank you
> _______________________________________________
> Solaris-Users mailing list
> Solaris-Users@filibeto.org
> http://www.filibeto.org/mailman/listinfo/solaris-users
>



-- 
Regards: Romeo Ninov
_______________________________________________
Solaris-Users mailing list
Solaris-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/solaris-users

Reply via email to