sundot home page unix consulting in the uk and mainland europe (archives)
home | about sundot | unix | downloads | archives›date | archives›subject | external links

Quick how-to on setting up Sun eeprom aliases for alternative boot disks.

posted by hal 20030125 (archived) | permalink | path | initial version: 20030125.

This is just a quick reference. The information is fleshed further out in several Sun Blueprints with the string "boot disk" contained in the title (e.g. "Towards a Reference Configuration for VxVM Managed Boot Disks" - where the cat ./myaliases trick is found).

The alias names are different in the various BluePrints - some use "rootdisk/rootmirror" and others use "bootdisk/bootmirr". It does not really matter as long as it is obvious what the alias is for.

# ls -l /dev/dsk/c0t0d0s2
lrwxrwxrwx   1 root     root          41 Jan 20 18:15 /dev/dsk/c0t0d0s2 ->
../../devices/pci@1f,4000/scsi@3/sd@0,0:c
# ls -l /dev/dsk/c2t0d0s2
lrwxrwxrwx   1 root     root          40 Jan 20 18:15 /dev/dsk/c2t0d0s2 ->
../../devices/pci@4,4000/scsi@4/sd@0,0:c

# cat myaliases
devalias rootdisk /pci@1f,4000/scsi@3/disk@0,0
devalias rootmirror /pci@4,4000/scsi@4/disk@0,0
# 
# eeprom nvramrc="`cat ./myaliases`" 

# eeprom boot-device='rootdisk rootmirror'
# eeprom diag-device='rootdisk rootmirror'
# eeprom "use-nvramrc?=true"



Creative Commons
 License Valid HTML 4.01! Valid CSS! Powered by Blosxom!
All content on this website is governed by a Creative Commons license.