HP: Mounting HP CDs on foreign OSs


Standard disclaimer: Use the information that follows at your own risk. If you screw up a system, don't blame it on me...
mailto: dkoleary@olearycomputers.com

Here's the situation: I work in Chicago and support 50+ systems that are scattered across the country. I don't have a local HP system and I have all the application, patch, installation, what-have-you CDs here locally. I also have my handy-dandy, trusty Linux laptop with 2 (count 'em, 2) CD drives. How do I mount the HP CDs such that I can do swlist/install/etc off the remotely mounted CDs?

Normal mounts don't work - I kept getting the no sw depots on the source messages. Annoying. I finally posted a question to comp.sys.hp.hpux and got the answer

  1. Mount the cd on the local drive
    mount -o ro,norock,map=off /dev/cdrom /cdrom

    The secret is the norock,map=off. That turns off rock ridge formats and filename remapping. Those two are what apparently kill the swdepots

  2. Export the cd to the system of choice:
    exportfs -i ${system}:/cdrom
  3. Mount the cd on the remote system:
    mount -o ro ${linux}:/cdrom /cdrom
  4. swinstall/list to your heart's content
    swlist -s /cdrom

Document:
URL:
Last updated: