not able to boot from cdrom

Hi all am trying to boot the system from cdrom in single user mode , however when i am giving command boot cdrom -s i am getting below error

Boot Device: /pci@1f,0/pci@1,1/ide@3/cdrom@2,0: f file and args:

Can't read disk label
Can't open disk label package

can,t open boot device

what could be reason for this

Not sure but seems there is some issue with the alias of cdrom.

please help me as how can i set this,
as i tried running the show-disks ans select the path of cdrom then i need to run the nvalias cdrom2 then press CTL+Y i got the path , i am not sure as what should go on the target with path@?? as my system is ultra sparc 10

Please help

first thing you have to check is the CD itself, try to boot from other CDs just to confirm the CD is functional, and you can also put the CD in another machine to confirm.

in the OK prompt, type

OK devalias

if the normal alias were not modified, you should see something like: cdrom cdrom1 cdrom2

try them all (boot cdrom2 or boot cdrom1 or boot cdrom0 )

other wise, go to the OS

type format

you will get disks, for example c0t1d0 and c0t2d0

then type ls /dev/dsk

say you find c0t1d0, c0t2d0 and c1t0d0

then c1t0do is the cdrom

type ls -l /dev/rdsk/c1t0d0s6

then you will get the path, note it, and try it in the OK prompt

I hope this help

Thanks Dear,

I tried the CD and its working fine in another system.

i tried all the devalias option with boot however no help.

i an enter into OS and listed the /dev/dsk and got the below as output

c0t0d# c0t1d# and c0t2d# then in the /dev/rdsk i tried listing each of them and can see two as
ide@3/dad@0,0:a
ide@3/sd@1,0:a
ide@3/dad@2,0:a

i think second is the path to cdrom . am i correct? if yes then how should i set the alias as the above on OK prompt

first type "format" so that you can know which one is the cdrom.

second step, you can simply type the whole path

see you have /cdrom@0,0:f or /cdrom@1,0:f or /cdrom@2,0:f

you can try all of them, one by one:

ok boot /pci@1f,0/pci@1,1/ide@3/cdrom@0,0: f
ok boot /pci@1f,0/pci@1,1/ide@3/cdrom@2,0: f

but when you typed "ls -l /dev/rdsk/ are you sure you got the same path ? like ../pci@1,1/ide@3 <== it was always like this ? on the same bus ?

Thanks again!

I tried that and its same
/pci@1f,0/pci@1,1/ide@3/cdrom@1,0: f is the cdrom . i set the bath also however now i am getting below error when i am trying to boot cdrom2

The file just loaded does not appear to be executable.

Are you trying to boot a DVD onto a drive which is not supported?
What is the model of the system?

No its CD only and drive is CD drive. My system is ultra 10

when login to the OS, put the cdrom in. then df -h

does your OS detect the CDROM ? are you able to list files and directories inside the CD ?

yes i can get inside the /cdrom and can see the directory by name sol_10_508_sparc, however i can see the same on when execute df -h as cdrom as mount point

This means the error is with the boot command device path.

can you please give me the output of the following:

  1. Format

  2. ls -l /dev/rdsk/

Thanks Dear,

output from format

and listing of /dev/rdsk/ is like below where in i have just take 1st slice all the listed disk

from the ok prompt now type this:

ok boot /pci@1f,0/pci@1,1/ide@3/cdrom@1,0

No luck Dear,

Same error " The file just loaded does not apear to be executable"

I really don't know what's wrong with this machine, try this:

ok boot /pci@1f,0/pci@1,1/ide@3/cdrom@1,0:f

or

this

ok boot /pci@1f,0/pci@1,1/ide@3/cdrom@1,0:e

or even this :

ok boot /pci@1f,0/pci@1,1/ide@3/cdrom@1,0:a

can you change the cd ? are you sure this CD is the first CD ? because solaris doesn't come on one CDROM, is there any chance you're not booting from CD1?

Thanks a lot buddy, the below option worked. Thanks again

ok boot /pci@1f,0/pci@1,1/ide@3/cdrom@1,0:f

you are welcome, now to avoid any future problems, type these commands in the OS so you can save the alias:

# eeprom use-nvaramrc?=true
# eeprom nvramrc="devalias cdrom /pci@1f,0/pci@1,1/ide@3/cdrom@1,0:f"

this will create permanent devalias for the CDROM, so next reboot you can simply type "boot cdrom" and "boot cdrom -s"

Thanks again dear!

I did that time only from OK prompt with show-disks and select the cdrom path and later with nvalias ctrl+y and added the remaining string and its wokring okay.

Thanks again and i apperiate your help! :b: