Got Error: Can't locate boot device

Hi experts,

I have two new system 245 and installed solaris 9 sept release successfully. Each box has two hard-disks. I have copied all the content from primary disk to secondary disk and booted off the secondary disk and it was successful in one box but failed in second box.

installed same software, patch level, OS, same script. after failing I have re-formated and ran the script and failed again.

here is the detail message and it goes to ok prompt.

I verified alias is correct.

Rebooting with command: boot

Boot device: mybootdisk File and args:

Evaluating:

Can't locate boot device

this is the output from format command

0. c0t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>

/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0

here is my eeprom output for disk alias

nvramrc=devalias mybootdisk /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/disk@0,0

devalias myaltboot /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/disk@1,0

PS: error is not one of the following from the list

bootblk: can't find the boot program

boot: cannot open kernel/unix

Cannot open '/etc/path_to_inst'

Can't stat /dev/rdsk/c0t0d0s0

[1254 byte] By [Biwas] at [2007-11-26 12:00:00]
# 1
Why do you need to create your own devalias? Can't you just use 'disk' and 'disk1'? If you boot from them, does it find the device?-- Darren
Darren_Dunham at 2007-7-7 12:22:26 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2
Hi, Verify whether you have created correct alias.from ok prompt, execute devalias.I guess you have created a alias for wrong disk.
senthilprabus at 2007-7-7 12:22:26 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 3

Of course I can but its our company policy for consistency on all over 700 + servers.

I checked alias and everything is ok. I think the problem is bootblk. I will get some maintenance window and boot off the single user mood and need to install bootbk, i believe.

Message was edited by:

Biwas

Biwas at 2007-7-7 12:22:26 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 4

Yes, you will need to install a bootblock on the disk in order to be able to boot from it.

Depending on how you copied the disk will depend on wether the bootblock was copied too. I think the only way to copy that as well as the data would be with dd, although I'm not 100% sure even that would copy the bootblock over too.

I don't think you need a outage to install the bootblock on the secondary disk, you'll only need the outage to reboot the box from the secondary disk.

smurf4568 at 2007-7-7 12:22:26 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 5
That's right, you don't need a servicewindow to install a bootblkman installboot if you are in doubt./tony
tonyalbers at 2007-7-7 12:22:26 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...