From: hume.spamfilter on
hadi motamedi <motamedi24(a)gmail.com> wrote:
> Excuse me, I cannot transfer the 'opt8.disk' to my qemu as a file .
> What I have here is to import it as its third virtual slice with the '-
> hdc opt8.disk' option . Then the format output shows slice three on /

It isn't possible to import a file as a slice on a virtual hard disk.
It is either the disk or it isn't. Which means it is either the WHOLE
disk or it's not. It isn't possible to import it as the "third virtual
slice". I don't know how you're concluding this, but you're wrong.

s2 is normally the whole disk, assuming you haven't edited the slices on
the virtual disk... which will damage the underlying dump file.

I'm reviewing the qemu documentation... when you say "third virtual slice",
do you really mean "third virtual disk", which is what -hdc means? Slices
are NOT disks.

--
Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/
From: hadi motamedi on
On Jul 19, 5:27 am, hume.spamfil...(a)bofh.ca wrote:
> hadi motamedi <motamed...(a)gmail.com> wrote:
> > Excuse me, I cannot transfer the 'opt8.disk' to my qemu as a file .
> > What I have here is to import it as its third virtual slice with the '-
> > hdc opt8.disk' option . Then the format output shows slice three on /
>
> It isn't possible to import a file as a slice on a virtual hard disk.
> It is either the disk or it isn't.  Which means it is either the WHOLE
> disk or it's not.  It isn't possible to import it as the "third virtual
> slice".  I don't know how you're concluding this, but you're wrong.
>
> s2 is normally the whole disk, assuming you haven't edited the slices on
> the virtual disk... which will damage the underlying dump file.
>
> I'm reviewing the qemu documentation... when you say "third virtual slice",
> do you really mean "third virtual disk", which is what -hdc means?  Slices
> are NOT disks.
>
> --
> Brandon Hume    - hume -> BOFH.Ca,http://WWW.BOFH.Ca/

Thank you very much for your reply. But the /c0t2d0s2 cannot be
mounted as well .
From: hume.spamfilter on
hadi motamedi <motamedi24(a)gmail.com> wrote:
> Thank you very much for your reply. But the /c0t2d0s2 cannot be
> mounted as well .

Of course it can't... you said the underlying file was a DUMP file, not
a disk image. chuckers asked you earlier... why are you trying to treat
a dump file as a disk? It isn't a disk. It's a dump file. It does NOT
contain a filesystem you can mount... it contains a dump file meant to
be written to tape. It can't be mounted, ever, no matter what you do.

What does "ufsrestore -tf /dev/rdsk/c0t2d0s2" say?

And let me say this again: Everything you've done has been the absolute
worst way to accomplish anything. Someone with your skill level should have
purchased (or gotten your employer to purchase) a small, cheap SPARC unit.

--
Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/
From: hadi motamedi on
On Jul 19, 5:53 am, hume.spamfil...(a)bofh.ca wrote:
> hadi motamedi <motamed...(a)gmail.com> wrote:
> > Thank you very much for your reply. But the /c0t2d0s2 cannot be
> > mounted as well .
>
> Of course it can't... you said the underlying file was a DUMP file, not
> a disk image.  chuckers asked you earlier... why are you trying to treat
> a dump file as a disk?  It isn't a disk.  It's a dump file.  It does NOT
> contain a filesystem you can mount... it contains a dump file meant to
> be written to tape.  It can't be mounted, ever, no matter what you do.
>
> What does "ufsrestore -tf /dev/rdsk/c0t2d0s2" say?
>
> And let me say this again: Everything you've done has been the absolute
> worst way to accomplish anything.  Someone with your skill level should have
> purchased (or gotten your employer to purchase) a small, cheap SPARC unit..
>
> --
> Brandon Hume    - hume -> BOFH.Ca,http://WWW.BOFH.Ca/

Thank you very much for your help. As I have understood from your
message , my procedure is wrong . Can you please let me know if you
have experienced importing one of your folders from your solaris
machine to qemu-system-sparc ?
From: hume.spamfilter on
hadi motamedi <motamedi24(a)gmail.com> wrote:
> message , my procedure is wrong . Can you please let me know if you
> have experienced importing one of your folders from your solaris
> machine to qemu-system-sparc ?

I have never used qemu for anything. I've always used a *real* SPARC
machine.

You need to talk to the people on the qemu forums.

--
Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/