Changing the default boot device on a Sparc server

You can display and change the default boot device on a SUN Sparc server from the eeprom console.

List the bootable devices with the devalias command,

ok devalias
cdrom /pci@0,600000/pci@0/pci@0/scsi@0/disk@4,0:f
net /pci@0,600000/pci@0/pci@1/pci@0/network@4
disk /pci@0,600000/pci@0/pci@0/scsi@0/disk@0
name aliases

List the current boot device.

ok printenv boot-device
boot-device = disk

Change the boot device from disk to network.

ok setenv boot-device net
boot-device = net

Verify the change.

ok printenv boot-device
boot-device = net

Save the change.

ok reset-all

After the server rests, boot from he device

ok boot

About Andrew Lin

Hi, I have always wanted to creat a blog site but never had the time. I have been working in Information Technology for over 15 years. I specialize mainly in networks and server technologies and dabble a little with the programming aspects. Andrew Lin

View all posts by Andrew Lin →