Make .iso mountable in LDOM


 
Thread Tools Search this Thread
Operating Systems Solaris Make .iso mountable in LDOM
# 1  
Old 08-31-2016
Make .iso mountable in LDOM

used
Code:
mkisofs -lJR -o output_image.iso directory_name

to create an iso on the primary domain of a server.

mounted it locally in the primary using
Code:
lofiadm -a /path/to/cd.iso

mount -o ro -F hsfs /dev/lofi/1 /mnt

verified that I could read the disk correctly.

then created a vdsdev using :

Code:
ldm add-vdsdev -options=ro /home/userid/10_Recommended.iso 10_Recommended@primary-vds0

then attached it to the LDOM:
Code:
 ldm add-vdisk 10_Recommended 10_Recommended@primary-vds0 ldm

but when I booted the LDOM it didn't see the disk. it doesn't show up in format it doesn't show up in /dev/dsk or /dev/rdsk but it does show in devalias from the OBP.

what am I doing incorrectly?

NOTE: I am not trying to boot from this disk. I want to provide it to the LDOM as a mountable asset to patch from.

thanks in advance
# 2  
Old 09-19-2016
can you see the "iso" in OBP with "show-disks"?

I would try to "unbind" and "bind" the LDOM again... may be you will get an error to investigate on bind... (in use or something like that)

regards
P
# 3  
Old 09-19-2016
<SOLVED>

The problem is that when you use mkisofs it doesn't write a whole partition label so you have to mount it in the vdsdev as a slice:

The solution is to export the ISO with the "slice" option (add-vds options=slice), then you should be able to mount slice s0:
Code:
primary # ldm add-vdsdev options=slice /export/image.iso image-iso@primary-vds0


Code:
primary # ldm add-vdisk image-iso image-iso@primary-vds0 ldg1
ldg1 # mount -F hsfs /dev/dsk/c2d1s0 /mnt

This User Gave Thanks to os2mac For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. SuSE

How To make bootable USB with multiple ISO Files?

Hi All, I would need your assistance to make a bootable USB with SUSE LINUX Enterprise Server I have already downloaded relevant OS (Trail Version) packages @ 1) SLES-11-SP4-DVD-i586-GM-DVD1 2) SLES-11-SP4-DVD-i586-GM-DVD2 when I tried to open these packages with PowerISO one of the... (7 Replies)
Discussion started by: Leaner_963
7 Replies

2. Solaris

How can I install Solaris 10 on an LDom using an iso?

Hello, I am trying to install Solaris 10 on a newly created LDom. Here are the commands I ran to create the LDom: ldm add-domain ldg2 ldm add-vcpu 8 ldg2 ldm add-memory 2g ldg2 ldm add-vnet vnet2 primary-vsw0 ldg2 ldm add-vdsdev /dev/dsk/c0t5000CCA01535E20Cd0s0 vol2@primary-vds0 ldm... (8 Replies)
Discussion started by: bstring
8 Replies

3. Red Hat

How to make boot.iso image from rhel6 installation dvd iso ?

Hello Everyone, Can anyone let me know how to make minimal boot.iso from rhl6 installation dvd iso image. I have a dvd image with me but i want to make just a minimal boot media. Somehow it is not shipped with dvd iso. I know we can download boot.iso from redhat site but is there any anyway we... (5 Replies)
Discussion started by: Rohit Bhanot
5 Replies

4. Fedora

make bootable usb from iso

I need to boot the ultimate boot cd from an usb stick. Do I just copy the iso image to the usb key? How do I make the usb stick bootable? (4 Replies)
Discussion started by: locoroco
4 Replies

5. Solaris

iso files to make bootable dvd image

Hey all, I'm a newbie to iso files and I just downloaded the 2 iso files for *cough* ms2003 R2 *cough* trial software. After I downloaded the iso files I just dragged them to my burn software gui and sure enough it burned to dvd 2 iso files. When I attempted to boot the image using VMware... (0 Replies)
Discussion started by: bdsffl
0 Replies

6. Programming

Why ""No mountable file system"

I tried to install OpenMotif under Mac OS in the computing lab today, but I got "No mountable file system". Is it because I don't have the administrator's privilege? (0 Replies)
Discussion started by: endeavour1985
0 Replies
Login or Register to Ask a Question