Link to home
Start Free TrialLog in
Avatar of foxypeaches
foxypeaches

asked on

How to set up Device Alias

Hi Everyone,

For starters, thank you to everyone for providing such helpful answers.  

This site has helped me throughout my coop work term as a Unix administrator.  Dont ask how I got the job ;)

I am currently trying to multiple boot of Solaris 9 on a Sun box.  I have followed this:  

https://www.experts-exchange.com/questions/20145356/Dual-booting-Solaris-7-8-help-needed.html

to show me how to actually do a dual boot.  

Where Disk1 contains a dual boot
Where Disk2 contains another dual boot

However my question is... can someone give me a step by step process of setting up device alias?  For example, if the naming conventions has to be SolarisInsta1, SolarisInstal2, SolarisInstal3, etc.

Thanks in advance for your help.  Keep up the great work!

Foxy
Avatar of roberttran
roberttran

OK, once you have the os(s) installed, go to the open prompt (init 0).
ok>show-disks
#this will give you instructions to setup the device alias, once you have that done, move on to the following steps.
ok> setenv boot-device mydev
ok> reset   # will reboot using mydev

if you want to see all the devices in you system, do init 0, reset and run probe-scsi-all.

good luck.
Avatar of foxypeaches

ASKER

That would work if im setting up a boot device such as a cdrom, floppy or a tape.  

Would nvalias work.. where I set up

nvalias solarisInstal1 /pci@1f,0/pci@1/scsi@1/disk@0,0

where disk0 contains the root of the first Solaris instance?

nvalias solarisInstal2 /pci@1f,0/pci@1/scsi@1/disk@5,0

where disk5 contains the root of the 2nd Solaris instance?

Foxy
ASKER CERTIFIED SOLUTION
Avatar of roberttran
roberttran

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial