System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

boot alternate disk w/o console

 
SOLVED
Go to solution
ddifdevnull
Occasional Visitor

boot alternate disk w/o console

Anyone know if there is a way to boot off a secondary disk from the command line? IE: without a console?

3 REPLIES
Patrick Wallek
Honored Contributor
Solution

Re: boot alternate disk w/o console

The easiest way would be to just switch the primary and alternate boot paths as specified via 'setboot'.

 

For example:

 

# setboot
Primary bootpath : 0/0/1/1.0.0
Alternate bootpath : 0/0/2/0.0.0

 

So, if I want to boot from the alternate disk, HW path 0/0/2/0.0.0, I would just switch the primary and alternate.

 

setboot -p 0/0/2/0.0.0

setboot -a 0/0/1/1.0.0

 

Now if I do a 'setboot' I see the entries reversed.

 

# setboot
Primary bootpath : 0/0/2/0.0.0
Alternate bootpath : 0/0/1/1.0.0

Now when the system boots it will boot from the primary path, which used to be the alternate.

donna hofmeister
Trusted Contributor

Re: boot alternate disk w/o console

please do 'man setboot' to see if that answers your question.

ddifdevnull
Occasional Visitor

Re: boot alternate disk w/o console

Thanks Patrick! I appreciate your courteous and thorough answer.