Solaris 10 Appliance

huthjonm

Bit poster
I donwloaded the Solaris 10 Parallels appliance at

https://sdlc5c.sun.com:443/ECom/ECo...9;jsessionid=8905673893A0E73828B52DA135F0C409.

It downloads the virtual machine in parts, so it includes a script (join.sh) to join the parts and export the product to the Parallels folder. So this is what I enter into my terminal:

sudo sh /Users/michael/Documents/Downloads/join.sh

After entering my password, this is what I get:

Joining files and put it under /Users/michael/Library/Parallels/sxde ...
cat: mac-sxde.tgz.aa: No such file or directory
cat: mac-sxde.tgz.ab: No such file or directory
cat: mac-sxde.tgz.ac: No such file or directory
cat: mac-sxde.tgz.ad: No such file or directory
cat: mac-sxde.tgz.ae: No such file or directory
Extracting mac-sxde.tgz under /Users/michael/Library/Parallels/sxde ...

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors
Finished, please run the follwoing commands to verify the md5sum:
cd /Users/michael/Library/Parallels/sxde
md5 sxde.hdd
md5 sxde.mem
md5 sxde.sav
md5 zfs.hdd

All I get in the Parallels folder is mac-sxde.tgz, which is zero kbytes and can't be unpacked.

Am I running the script wrong? Any ideas? Thanks
 
The Sun appliance is delivered in small chunks that have to be joined, hence the join.sh script. The script depends on your having gotten copies of all the chunks and that they are in the directory the join.sh script expects to find them in. So far so good.

So did you verify the files downloaded (not zero bytes) and that they are located where join.sh expects to find them? If so, do they have the names join.sh expects to see? It appears the chunks with extensions .aa, .ab, etc. are not there or are not where join.sh expects to find them, or are not readable by the user running join.sh.

None of this has anything to do with Parallels - it is all Sun up to this point.
 
Everything's there, as far as I can tell. The names match up to what it looks for in the script. Then again, I could be stupid.
 
I dl'd the files and examined the join.sh script and I think your problem is this:

sudo sh /Users/michael/Documents/Downloads/join.sh

One problem is just conjecture: I suspect you were not in the Downloads directory when you ran this script.

Problem two is you should not have run it with sudo as that will cause ownership of the created directory and the concatenated files to be owned by root, and the files created by tar will also be owned by root.

So...

1. run ls -ld /Users/michael/Library/Parallels/sxde. If the directory exists see if the ownership is root or you. If it's root then use sudo rm -r /Users/michael/Library/Parallels/sxde to be rid of it. Make very sure there are not space characters in that command in the path.

2. cd into /Users/michael/Documents/Downloads. Run ls -l and verify the five components of the VM and the join.sh file are there. If so, run sh ./join.sh. This should get the job done.

The "sh ./join.sh" gets you around problems of path and permissions of the join.sh file - it will execute regardless of those attributes.

Edit: I installed this appliance and it runs fine. The default UI is the Java desktop (Sun's version of Gnome) that I'm really not fond of, but it works. Only thing missing is audio, but audio in Solaris is extremely unimportant.
 
Last edited:
Thanks a lot. I got it installed and working. I did notice I can't connect to the internet, but I believe that is a very widespread problem when using parallels.

I pretty much just wanted to see what Solaris 10 is like, so this is a success. Thanks.
 
Back
Top