Operating System - HP-UX
1847193 Members
4235 Online
110263 Solutions
New Discussion

Re: changing alternate boot path.

 
sara1
Occasional Advisor

changing alternate boot path.

In one server the primary root disk failed and the server was rebooted from alternate path.
Now I want to change the alternate boot path to primary boot path.
What is the exact command should i use.
How can i confrim the same.
Also after replacing the primary disk what steps do i need to carry out
7 REPLIES 7
James R. Ferguson
Acclaimed Contributor

Re: changing alternate boot path.

Hi:

TO set the primary boot patch (for example):

# setboot -p 2/4.1.0 -b on

Substitute another path and a '-a' for the alternate path specification. You can check your settings with:

# setboot

Regards!

...JRF...
Pete Randall
Outstanding Contributor

Re: changing alternate boot path.

Use "setboot -a" to set the alternate path. Do a man on setboot.


Pete

Pete
Mark Nieuwboer
Esteemed Contributor

Re: changing alternate boot path.

Hi,
see this link to replace the boot disk.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=383446

grtz. Mark
DCE
Honored Contributor

Re: changing alternate boot path.

Sara,

The setboot command will do both

the setboot without any parameters tells you your current boot configuration

setboot -p allows you to change the primary boot disk address.

a man on setboot will give you the correct syntax



Dave
Raj D.
Honored Contributor

Re: changing alternate boot path.

Hi Sara ,

# /usr/sbin/setboot -a alternate-path

To verify check with :
# setboot


Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Sivakumar TS
Honored Contributor

Re: changing alternate boot path.


Dear Sara,

After restoring the failed (primary) disk,

lvlnboot -r /dev/vg00/lvol3 # root fs /
lvlnboot -s /dev/vg00/lvol2 # swap
lvlnboot -d /dev/vg00/lvol2 # swap/dump
lvlnboot -b /dev/vg00/lvol1
lvlnboot -R
lvlnboot -v
setboot -p
setboot -a

Right now you can do
setboot -p

With Regards,

Siva.
Nothing is Impossible !
Devender Khatana
Honored Contributor

Re: changing alternate boot path.

Hi,

Here is the official disk replacement guide.

http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf

HTH,
Devender
Impossible itself mentions "I m possible"