Solaris OK prompt auto boot disk0
How to set my Sun Solaris system on the Ok prompt to auto boot my disk 0.Currently each time
it boot from the net or perharps set to default setting.
pls advise.
Linux
How to set my Sun Solaris system on the Ok prompt to auto boot my disk 0.Currently each time
it boot from the net or perharps set to default setting.
pls advise.
by cpfeiffe
by lcw
By default it is suppose to boot from DISK. If you want to redefine it here is how to do it:
- first use the nvalias commande to define a new boot path, then set the auto-boot? and boot-device variable. :
to get the address of the disk do this first:
setenv auto-boot? false
reset
and once at the ok prompt, probe-scsi-all to get the exact address of the disk that you want to boot from... after type these command :
nvalias disk0 /pci@1f,4000/scsi@3/disk@a,0:a
setenv auto-boot? true
setenv boot-device disk0 disk
reset
This will define a new boot path know as disk0 and try to boot from disk0, if it doesn't work, it will boot from disk
hope this help
by lcw
by ikinney
You should just be able to go to the OK prompt and type:
setenv boot-device disk0 cdrom
This will first try to boot from your disk0 and if that doesn't work your cdrom.
Then type:
reset
This will reboot your machine with the new settings.
You can check the valid boot devices by typing "devalias" at the ok prompt.
by lcw
by lcw
This discussion is closed to new replies.
Sort by Trending