Mounting ISO Image Files On Solaris

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

Problems with Ghost and Broadcom NetXtreme DOS drivers

I’ve been struggling to gather an image from our brand-spanking new Dell GX280’s using the Ghost Console, but I kept getting an error saying that “The DOS Network Adaptor Configuration Template is Corrupt…” after the machine initiated the reboot process and unjoined the domain. It turns out that the Broadcom NetXtreme card had some bugs, and are not compatible with the DOS driver versions included with Ghost. I found the following mention of the problem on the Symantec website:

The other NICs causing problems at the moment are the Broadcom NetXtreme (b57). Ghost 7.5 did not include any drivers for the Broadcom NICs, but Ghost 8.0/8.2 does. However, some new Broadcom NetXtreme NICs are not compatible with the DOS driver versions included with Ghost (v6.34 and v6.46). A new version has been released (v7.65), and is available here. Overwrite the b57.dos file in the Boot Wizard, or C:\Documents and Settings\All Users\Application Data\Symantec\Ghost\Templates – b57.dos. You can also check with Broadcom for the lastest NIC DOS drivers. 

Open the Ghost Boot Wizard, select the Network Boot Disk, find your NIC in the list, select Modify, and Browse to the new .DOS file. That’s generally all there is to it. You can also copy the .DOS file directly to the Templates folder listed above.

This is all well and good, but what you really need to do is the following:

  • Download the new Broadcom NetXtreme DOS drivers from here.
  • Launch the “Symantec Ghost Boot Wizard and select “Network Boot Disk”
  • Scroll down to Broadcom NetXtreme Family vX.X
  • Click “Modify” on the side
  • Next to “Filename” click “Browse” and navigate to the new b57.dos file and click “Open”
  • Exit out, and launch the “Ghost Console”

Now we have to update the “Driver Configuration Template” for the target machine.

  • Find the machine you wish to gather and double click on it
  • Click on the “Client” tab
  • Check “Use Manually Selected Template:”
  • Click “Browse” and select the newly updated driver template

The machine should now work normally when you go to gather the image using the Ghost Console.