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


 
Thread Tools Search this Thread
Operating Systems Solaris How can I install Solaris 10 on an LDom using an iso?
# 1  
Old 06-03-2013
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:
Code:
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 add-vdisk vdisk2 vol2@primary-vds0 ldg2
ldm set-var auto-boot\?=true ldg2
ldm set-var boot-device=vdisk2 ldg2
ldm add-vdisk vdisk_iso iso_vol@primary-vds0 ldg2

Here is my binding info:
Code:
VDS
    NAME             VOLUME         OPTIONS          MPGROUP        DEVICE
    primary-vds0     iso_vol                                        /data/iso/sol-10-u11-ga-sparc-dvd.iso
                     vol2                                           /dev/dsk/c0t5000CCA01535E20Cd0s0

DISK
    NAME             VOLUME                      TOUT ID   DEVICE  SERVER         MPGROUP
    vdisk2           vol2@primary-vds0                0    disk@0  primary      
    vdisk_iso        iso_vol@primary-vds0             1    disk@1  primary

When I start the LDom and run devalias, this is the output:
Code:
{0} ok devalias
vdisk_iso                /virtual-devices@100/channel-devices@200/disk@1
vdisk2                   /virtual-devices@100/channel-devices@200/disk@0
vnet2                    /virtual-devices@100/channel-devices@200/network@0
net                      /virtual-devices@100/channel-devices@200/network@0
disk                     /virtual-devices@100/channel-devices@200/disk@0
virtual-console          /virtual-devices/console@1
name                     aliases

I ran the command boot vdisk_iso:f to launch the installation process, and I am running into a problem when it asks me to "Choose Media." I am not sure if I am supposed to choose CD/DVD or Network File System, because both of them seem incorrect. If I choose CD/DVD, I get this error:
Code:
ERROR: The disc you inserted is not a Solaris OS CD/DVD.

And when I select Network File System, it asks me to supply a path to the ISO. I tried entering localhost:/virtual-devices@100/channel-devices@200/disk@1 and localhost:/vdisk_iso but I get
Code:
 ERROR: Unable to mount image

I used this same ISO file a while back to create an LDom on this same system, so I believe the ISO file is not the problem. I don't remember having to enter any media information the last time I installed Solaris on an LDom but I am not positive.

Any help would be appreciated.
# 2  
Old 06-04-2013
Hello,

You can try to mount your iso image using lofiadm, this command create a special file that you can use to simulate cd-rom/dvd.

Then use ldom command to add virtual device as cdrom/dvd.

then from boot prompt boot from cdrom.

NB: make verification on your obp regarding the aliases and devices
- # lofiadm -a /path/to/cd.iso
OUTPUT: /dev/lofi/1
- # ldm add-vdsdev /dev/lofi/1 cdrom@primary-vds0
- ok boot cdrom


PLEASE GIVE FEEDBACK Smilie
These 2 Users Gave Thanks to mat_solaris For This Post:
# 3  
Old 06-04-2013
as Mat_solaris suggested

or your .iso might be corrupt. Did you md5sum it and verify it?
# 4  
Old 06-04-2013
Quote:
Originally Posted by mat_solaris
You can try to mount your iso image using lofiadm, this command create a special file that you can use to simulate cd-rom/dvd.
This worked, thank you! Any idea why mounting my method wasn't working? I remember it working the last time I tried.
Quote:
Originally Posted by os2mac
or your .iso might be corrupt. Did you md5sum it and verify it?
Thank you for the suggestion. How would I do this? I tried running the digest command but I got an error:
Code:
root@sol10:/iso# digest -a md5 sol-10-u11-ga-sparc-dvd.iso
digest: crypto operation failed for file sol-10-u11-ga-sparc-dvd.iso: CKR_ARGUMENTS_BAD

# 5  
Old 06-04-2013
I am working in Solaris 11
Code:
digest -a md5

works for me
as does
Code:
md5sum

however I don't believe md5sum is available in solaris 10 unless you add it.

I just copied the file to one of my solaris 10 vm's to test Digest (ironically on the same file) and it functioned correctly. This would lead me to believe your file is corrupt.

Last edited by os2mac; 06-04-2013 at 10:18 PM.. Reason: Additional Info.
This User Gave Thanks to os2mac For This Post:
# 6  
Old 06-05-2013
Quote:
Originally Posted by bstring
This worked, thank you! Any idea why mounting my method wasn't working? I remember it working the last time I tried.

Thank you for the suggestion. How would I do this? I tried running the digest command but I got an error:
Code:
root@sol10:/iso# digest -a md5 sol-10-u11-ga-sparc-dvd.iso
digest: crypto operation failed for file sol-10-u11-ga-sparc-dvd.iso: CKR_ARGUMENTS_BAD

Hello
Code:
VDS     
NAME             VOLUME         OPTIONS          MPGROUP        DEVICE     
primary-vds0     iso_vol                                        /data/iso/sol-10-u11-ga-sparc-dvd.iso                      
                           vol2                                           /dev/dsk/c0t5000CCA01535E20Cd0s0 

DISK     
NAME             VOLUME                      TOUT ID   DEVICE  SERVER         MPGROUP     
vdisk2           vol2@primary-vds0                0    disk@0  primary           
vdisk_iso        iso_vol@primary-vds0           1    disk@1  primary

I think that your device is visible as an iso file then this file is not bootable, you must be export this iso file before used it for booting.

I think also it can worked, if you extract the iso file on your device before any attachement on the virtual disk

Good Luck
This User Gave Thanks to mat_solaris For This Post:
# 7  
Old 06-05-2013
Quote:
Originally Posted by os2mac
I just copied the file to one of my solaris 10 vm's to test Digest (ironically on the same file) and it functioned correctly. This would lead me to believe your file is corrupt.
Perhaps this is the problem then. Thank you for the help!
Quote:
Originally Posted by mat_solaris
I think that your device is visible as an iso file then this file is not bootable, you must be export this iso file before used it for booting.

I think also it can worked, if you extract the iso file on your device before any attachement on the virtual disk

Good Luck
Strange, I thought I had it set up the same way before and it worked. Oh well. Thank you again!
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Solaris LDOM IP conflict

I have a Sun T4-1 running Solaris 11.4 with a static IP 192.168.0.183. On this machine is a Solaris 10 LDOM with a static IP of 192.168.0.78. The other day I had to stop the LDOM to do a memory reconfigure. When I rebooted it I got an error that the IP 192.168.0.78 was already in use and so... (4 Replies)
Discussion started by: Michele31416
4 Replies

2. Solaris

Make .iso mountable in LDOM

used 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 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... (2 Replies)
Discussion started by: os2mac
2 Replies

3. Solaris

Virtual Switch in Solaris LDOM

Hi, Our existing environment is having primary domain and 3 guest domains are running over it. See the attached image. Now we want to add a new primary virtual switch and move LDOM3 to be connected with new primary switch. So, I am not sure how to achieve this because. If I remove the... (7 Replies)
Discussion started by: praveensharma21
7 Replies

4. SCO

Sco 5.0.6 Install ISO needed

Trying to restore a 5.0.6 server to a new server but the owner doesnt have their install media. Saw that many people have this. Please let me know of anyone that has a download link. Much appreciation! (1 Reply)
Discussion started by: gavinseabrook
1 Replies

5. Solaris

ZFS LDOM problem on Solaris 10

Apologies if this is the wrong forum.. I have some LDOMs running on a Sparc server. I copied the disk0 file from one chassis over to another, stopped the ldom on the source system and started it on the 2nd one. All fine. Shut it down and flipped back. We then did a fair bit of work on the... (4 Replies)
Discussion started by: tommyq
4 Replies

6. Solaris

Installing Solaris into LDom using DVD

Hi, I have issues installing Solaris into a LDom using a Solaris10u5/08 DVD. I have been troubleshooting for the past 2 days and I still cannot get it up. Here is the logs: root@eld-app2# ldm add-vdsdev /cdrom/sol_10_508_sparc/s0 cdrom0@primary-vds0 root@eld-app2# ldm add-vdisk cdrom0... (4 Replies)
Discussion started by: bolasutra
4 Replies

7. Solaris

Install Solaris 10 by using the ISO file

Hi Gurus Recently i had download the ISO installer (sol-10-u8-ga-sparc-dvd.iso) for Solaris 10. And i ftp to a Server. May i know is it possible to install the Solaris by using this ISO file directly (not using network)? (8 Replies)
Discussion started by: SmartAntz
8 Replies

8. Solaris

Fresh install of solaris 10 using an ISO

Hi all Im rebuilding an 6800 domain with solaris 10. Server is located in a different town and cant be bothered to drive down and install a dvd into its drive. So, apart from jumpstarting it and using a local DVD, is there a way I can an ISO image to build a new client ?? eg. mount an ISO... (2 Replies)
Discussion started by: sbk1972
2 Replies

9. AIX

How do I install bos.loc.iso.en_GB?

Hi, I need to install the package bos.loc.iso.en_GB on an AIX 5.3 server but try as I might I cannot find the file which contains this package. I have all the AIX 5.3 CDs and also the majority of the packages installed locally on the server. If I create a .toc file from the local packages I... (3 Replies)
Discussion started by: m223464
3 Replies
Login or Register to Ask a Question