Mounting Solaris CDROMs

So you've shelled out $20 for downloading the solaris ISO images...
and you suddenly realize you dont have a CDROM burner. You now have
a slight problem, because using the normal "mount a file as a filesystem"
trick, only works for the first filesystem in that file.

Happily, there is a workaround that you can try.

To turn a solaris 9 "cd 1 of 1" into two mountable filesystems, do the
following:

Note that because the filesystem type is ufs made on sparc,
you can only mount it directly on a sparc.
You can now run /mnt/s0/Solaris_9/Tools/setup_install_server.
This has been shown to work with sol9 FCS, but not neccessarily later
releases.

An alternate method, that only works on the SAME ARCHITECTURE OF THE CDROM
IMAGE (sparc for sparc, x86 for x86), will be:

Use the FIRST location reported. Following locations will be phantoms
because of backup copies of the filesystem "superblock".

Note on mounting the DVD: you may want to haveset hsfs:nhsnode=7256
in /etc/system to work around a filesystem driver bug.

Update for Solaris 10 !!

I have been informed that the latest Solaris 10 DVDs.. are at last
(once again?!) a single hsfs filesystem. So there is no longer a need
for the above tricks for current versions of Solaris. Hopefully, Sun will
stick to the nice simple formula again from here on in :-)
However... "cdrom" images for Solaris 10,update2, still need this trick.
The sparc offset would appear to be block 528640