System Administration
Showing results for 
Search instead for 
Do you mean 

SUMMARY: Three simple methods to mount ISO files on HP-UX 11.31

Highlighted
Honored Contributor [Founder]

SUMMARY: Three simple methods to mount ISO files on HP-UX 11.31

Hello,

Several people asked me how to do it on HP-UX 11.31.

It is worthwhile to summarize.

a) LVM method (to copy ISO into a logical volume) is the same as for older HP-UX releases:

1. Find out the size of the ISO image:

# du -k /mydir/myfile.iso

2. Create a logical volume for the ISO
image:

# lvcreate -L -n lviso /dev/vgXX

3. Copy the ISO file to the raw logical
volume:

# dd if=/mydir/myf.iso of=/dev/vgXX/rlviso \
bs=256k

4. Create a temporary directory and mount
/dev/vgXX/lviso:

# mkdir /isodir
# mount /dev/vgXX/myiso /isodir

b) iLO2 Advanced method. If not available,
get a 30-day trial license.

1. Login to iLO2 Advanced via Internet
Explorer (no Firefox support)

2. Virtual Devices -> Virtual Media
Click on "Launch" button
(Java plug-in required)

3. In the pop-up window, select
"Local Image File:" -> Browse for image
-> Press "Connect"

The, run the following on HP-UX 11.31:

4. Find the new device (MassStorage):

# ioscan -kfnC disk

5. Use the mount(1M) command to mount the
image to the desired destination folder.
For example:

# mount /dev/deviceFileSystem/Usb/MassStorage/dsk/disk\@UnknownDevice-14398+5403\=0027b2cab4bd /mnt/myiso

c) Available in HP-UX 11.31 0909: ISOIMAGE-ENH.
Provides a new DLKM module fspd. Required to
mount, read and umount the ISO image file.

The commands mount(1M), mount_cdfs(1M), umount(1M), and the mount_cdfs(1M) can be used.

After the installation of the ISOIMAGE-ENH
bundle, the module fspd needs to be loaded
(DLKM module) to enable the NCF.

To load the module:

# kcmodule fspd=loaded

To unload the module:

# kcmodule fspd=unused

And here is how it works very simply:

# mkdir /iso
# mount RHEL-5.1-IA64-CD1.iso /iso
mount: absolute path name is required for
RHEL-5.1-IA64-CD1.iso

# mount /var/adm/crash/RHEL-5.1-IA64-CD1.iso /iso

Works nicely :)

Cheers,

VK2COT
VK2COT - Dusan Baljevic
11 REPLIES
Acclaimed Contributor [Founder]

Re: SUMMARY: Three simple methods to mount ISO files on HP-UX 11.31

Method c) is nice, thanks for the update!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Honored Contributor [Founder]

Re: SUMMARY: Three simple methods to mount ISO files on HP-UX 11.31

I am happy to share knowledge.

I know many people were unhappy about
the lack of simple ISO support on HP-UX.
So, we have it now :)

Cheers,

VK2COT
VK2COT - Dusan Baljevic
Acclaimed Contributor [Founder]

Re: SUMMARY: Three simple methods to mount ISO files on HP-UX 11.31

Hi VK2COT:

Thanks again for your valuable tips!

> Login to iLO2 Advanced via Internet Explorer (no Firefox support)

What a shame.

Regards!

...JRF...
Respected Contributor

Re: SUMMARY: Three simple methods to mount ISO files on HP-UX 11.31

>> Login to iLO2 Advanced via Internet Explorer (no Firefox support)
>
>What a shame.

iLO Virtual Media support uses a Java
applet so it is browser neutral and
works just fine in Firefox (although
the applet does seem to suffer
from the occasional Java JRE applet
versionitis...). What specific
problem are you seeing with Firefox?

iLO also supports the Integrated Remote Console (IRC) feature and that is implemented
as an ActiveX control (IE only) or a
Java applet depending on the iLO and hardware
platform.

Trusted Contributor [Founder]

Re: SUMMARY: Three simple methods to mount ISO files on HP-UX 11.31

Hi VK2COT,

Really good one...Thanks for sharing the knowledge.



thnx...farhan

Honored Contributor [Founder]

Re: SUMMARY: Three simple methods to mount ISO files on HP-UX 11.31

Hi VK2COT,

thanks for you information, it was helpfull for me. The c method is very intresting.

mikap
Frequent Advisor [Founder]

Re: SUMMARY: Three simple methods to mount ISO files on HP-UX 11.31

Hi ,

Thank you for the method. Before ISOIMAGE-ENH i used the method b) which consist to create a logical volume .

Nevetheles with the two methods i have a problem to read the mounted iso .

[root@testg4r0 - /tmp/accueil ] # find . -type f -exec openssl md5 {} \;
MD5(./accueil/FTaccueil)= 2902585b5db3032ca8b6920470288ada
MD5(./ft-ignite/file_config.tar)= de35a26582814071450257dd904980c2
Read Error in ./ft-ignite/maj_G04R01_ignite.tar
17224:error:0200B00E:system library:fread:Bad address:bss_file.c:198:
17224:error:20082002:BIO routines:FILE_READ:system lib:bss_file.c:199:
MD5(./ft-openssh/v4.6p1/depot/FTopenssh)= 6cf31ac0431a3cd55ab83f649865cad5


[root@testg4r0 - /tmp/accueil ] # cp -r * /tmp/toto/
cp: bad copy to /tmp/toto/hp-Judy/vB.11.23.04.17/depot/Judy: read: Bad address
cp: bad copy to /tmp/toto/hp-SD/vB.11.23.0706.063/depot/SD: read: Bad address
cp: bad copy to /tmp/toto/hp-drd/vA.1.1.0.344/depot/DynRootDisk: read: Bad address

The iso mounted is an iso that i have made whitk mkisofs. This iso can be mounted on a linux or AIX system whithout any issue .

Do you have any idea ?
Thank you for your help
Regular Advisor

Re: SUMMARY: Three simple methods to mount ISO files on HP-UX 11.31

Hi VK2COT,

Thansk a lot for sharing.
Exalted Contributor [Founder]

Re: SUMMARY: Three simple methods to mount ISO files on HP-UX 11.31

Shalom,

Excellent procedure.

I like c a lot.

There is no depot or software load required? No minimum version of HP-UX 11.31?

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Acclaimed Contributor [Founder]

Re: SUMMARY: Three simple methods to mount ISO files on HP-UX 11.31

@SEP:

https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=ISOIMAGE-ENH

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Honored Contributor [Founder]

Re: SUMMARY: Three simple methods to mount ISO files on HP-UX 11.31

Hello,

Torsten provided the final answer.

It is available starting HP-UX 11.31 0909:

ISOIMAGE-ENH

I am glad that this helps someone.

I think it is time to close the thread :)
I forgot to do it earlier.

Cheers,

VK2COT
VK2COT - Dusan Baljevic