Quote:
Originally Posted by
satish51392111
Method I)If box is Sun-made:
1. #shutdown -y -g0 -i0 (Go to Boot Prom phase)
2. ok>boot cdrom(Boot with CDROM)
Sorry, I forgot to mention my goal here is to do this within a script that requires as little user intervention as possible--so I'm looking more for something that would work like: shutdown -i6 -- cdrom
This is probably the method I will use if no one has the command I'm hoping is out there...
Quote:
Originally Posted by
satish51392111
Method II)If not Sun-made(X86):
1. #eeprom bootdevice=<Physical_path_of_CDROM> (System's boot device is now CDROM)
2. #shutdown -y -g0 -i6 (Reboot. System will boot with CDROM)
3. You should again switch back to your default boot device (/dev/dsk/c0t0d0s0).
#mkdir /tmp/root/a ; mount /dev/dsk/c0t0d0s0 (Mount your actual device on a temporary boot disk)
#ls -l /tmp/root/a/cev/dsk/c0t0d0s0 (This will give you the physical address)
#eeprom bootdevice=<physical_path_of_c0t0d0s0>
#shutdown -y -g0 -i6
I tried this one as I was hoping that the CDROM program (which installs software onto a blank hard drive) would set the boot device back to a hard drive. Instead it gets so confused with seeing the boot device being changed to CDROM that the installer program just errors out and won't run. I then have to switch the boot device back to disk from OBP.
Thanks for your response though!