Operating System - HP-UX
1753968 Members
7453 Online
108811 Solutions
New Discussion юеВ

Re: HPUX 11.X make_recovery: How to boot directly from tape?

 
SOLVED
Go to solution
ken_5
Advisor

HPUX 11.X make_recovery: How to boot directly from tape?

I have a make_recovery tape that I would like to boot. I know how to interrupt the normal boot process and specify the path to the tape to get it up and running.
My question is can I use a standard HPUX command from the root prompt to restart the system and boot from the tape without having to stand at the console and wait for that 10 second interrupt prompt.

I've tried
# reboot 10/12/5.0.0
# reboot -r 10/12/5.0.0

I believe that on a Sun server this can be done using a command similar to
# boot cdrom
tks in a advance, Ken
5 REPLIES 5
Pete Randall
Outstanding Contributor
Solution

Re: HPUX 11.X make_recovery: How to boot directly from tape?

Ken,

You could use setboot (man setboot) to set the primary path to the tape drive, then issue your reboot.


Pete

Pete
Paula J Frazer-Campbell
Honored Contributor

Re: HPUX 11.X make_recovery: How to boot directly from tape?

Hi
Man setboot


setboot -a 10/12/5.0.0

Should do it though I dont have a server to test it on.

Paula
If you can spell SysAdmin then you is one - anon
Paula J Frazer-Campbell
Honored Contributor

Re: HPUX 11.X make_recovery: How to boot directly from tape?

ken_5
Advisor

Re: HPUX 11.X make_recovery: How to boot directly from tape?

More complicated than I bargained for. :)

Looks like I will have to do the following.

# setboot
Primary bootpath : 10/0.5.0
Alternate bootpath : 10/0.6.0

Autoboot is ON (enabled)
Autosearch is ON (enabled)

To boot the tape I would type the following three commands.
# setboot > /root/setboot.txt (Just in case)
# setboot -p 10/0.5.0 -b on -s on
# shutdown -r now

The make_recovery will take care of the boot sequence if I choose to install a new OS, however, I will want to store the original configuration just incase I do not proceed with the new install.

I'm a happy camper. Thanks for your quick response. :)
Sundar_7
Honored Contributor

Re: HPUX 11.X make_recovery: How to boot directly from tape?

Hi Ken,

-i option with make_recovery is very crucial.

If you havent used -i option while creating the recovery tape and if you boot from the tape then it will give you only 10 secs to interrupt before reinstalling the OS !!

So just make sure if this is what you want before booting off the tape.

Sundar.
Learn What to do ,How to do and more importantly When to do ?