1837091 Members
2309 Online
110112 Solutions
New Discussion

Re: HP-UX dual boot

 
SOLVED
Go to solution
walter crasto_1
Frequent Advisor

HP-UX dual boot

Hi,

I have two OS 11.0 & 11i Installed on single server. & this machine is required to switch over between two OS. Which requires manual intervention because machine by default boots in 11.0 OS.
Can I write the script so that I can boot from one OS to another by running that script without any manual intervention.

Regards
Walter
4 REPLIES 4
A. Clay Stephenson
Acclaimed Contributor

Re: HP-UX dual boot

I assume that you have two boot disks in this machine; the primary boot path is set to boot one version and the alternate boot path is set to boot the other.

What you could do, is use the setboot command to set the primary path to the desired OS's boot disk and set the alternate to the other. You would run your setboot script and then reboot. The machine will then come up without intervention under the primary boot path. Man setboot for details.
If it ain't broke, I can fix that.
T G Manikandan
Honored Contributor
Solution

Re: HP-UX dual boot

yes,

When you switch between the machine like when you are to boot from the other OS/disk

Just do a

#setboot -p
before you do
#shutdown -r

you can get the hardware path using a
#ioscan -fnC disk.
Radhakrishnan Venkatara
Trusted Contributor

Re: HP-UX dual boot

yes exactly ... put script .... it should check the primary boot path and the change accordingly to the requirement...

Radhakrishnan
Negative thinking is a highest form of Intelligence
walter crasto_1
Frequent Advisor

Re: HP-UX dual boot

Hi All,

Thanks a lot I think `setboot` command will resolve my problem.

Thanks
walter.