• More and more, software is distributed in the form of a downloadable ISO image. This is handy because you can then burn it to a CD or DVD, but many times you just want to install it without having to make a disk first. Linux makes this fairly easy, but it’s a little trickier with Solaris. You have to use the “lofiadm” command to first create a block device for the image before you can use “mount” to mount it as a filesystem. Here is the commands.

    Make the block device with “loviadm”:
    lofiadm -a /path/to/your/image.iso /dev/lofi/1

    Mount the image as a read-only filesystem:
    mount -F hsfs -o ro /dev/lofi/1 /mountpoint

    This entry was posted on Friday, May 4th, 2007 at 5:02 pm and is filed under Data and Technology. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
  • 3 Comments

    Take a look at some of the responses we have had to this article.

    1. Creating a Jumpstart server from Solaris 9 ISO’s…

      Did you know you can just download iso images from SUN and mount them over a loopback device? I usually don’t need to do this because someone has the CD images. But today I needed the new Solaris 9 09/05 HW release for the V445 I am working on….

    2. [...] Source:http://spiralbound.net/2007/05/04/mounting-iso-image-files-on-solaris [...]

    3. cherif
      Aug 23rd
      Reply

      ok, I have mounted the .iso image of the solaris 10 bootable cd, now how can boot from it ti install the soalris 10 os

  • Leave a Reply

    Let us know what you thought.

  • Name(required):

    Email(required):

    Website:

    Message: