Operating System - HP-UX
1855714 Members
7107 Online
104103 Solutions
New Discussion

Any trick to auto-stop at ISL prompt

 
SOLVED
Go to solution
Rahul Sharma_4
Advisor

Any trick to auto-stop at ISL prompt

was wondering if theres any way to reboot the system (hpux) to automatically stop at the ISL prompt.
Rite now i can only think of an expect script to get it done ..but wanted to explore if there's some built-in option!
7 REPLIES 7
Luk Vandenbussche
Honored Contributor

Re: Any trick to auto-stop at ISL prompt

Hi,

Set autoboot off.

You can do this with the command

setboot -b off
rariasn
Honored Contributor

Re: Any trick to auto-stop at ISL prompt

Hi,

verify with:

# setboot -v

rgs
Steven E. Protter
Exalted Contributor

Re: Any trick to auto-stop at ISL prompt

Shalom Rahul,

A script can't do it. You need an OS to run a script and you don't have such at the ISL prompt.

The ISL is a little OS of its own and the autoboot function is how to control behavior.

This is well documented at http://docs.hp.com and covered in HP's Sysadmin I course.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Rahul Sharma_4
Advisor

Re: Any trick to auto-stop at ISL prompt

Hi, thanks everyone for the response.

On my existing machine:
--------------------------------
# setboot -v
Primary bootpath : 0/1/1/0.0.0
Alternate bootpath : 0/1/1/0.1.0

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

TEST CURRENT SUPPORTED DEFAULT NEXT BOOT
---- ------- --------- ------- ---------
all on yes on on
SELFTESTS on yes on on
early_cpu on yes on on
late_cpu on yes on on
FASTBOOT on yes on on
full_memory on yes on on
PDH on yes on on
CEC on yes on on
#
--------------------------------------

Then I did:
# setboot -b off
setboot: Warning: Autoboot flag must be on for autosearch flag to have effect.
# setboot -v
Primary bootpath : 0/1/1/0.0.0
Alternate bootpath : 0/1/1/0.1.0

Autoboot is OFF (disabled)
Autosearch is ON (enabled)

TEST CURRENT SUPPORTED DEFAULT NEXT BOOT
---- ------- --------- ------- ---------
all on yes on on
SELFTESTS on yes on on
early_cpu on yes on on
late_cpu on yes on on
FASTBOOT on yes on on
full_memory on yes on on
PDH on yes on on
CEC on yes on on
# reboot
---------------------------------------------
Now the booting however continued:-

Central Bus Speed (in MHz) : 200
Available Memory : 4194300 KB
Good Memory Required : Not initialized. Defaults to 32 MB.

Primary boot path: 0/1/1/0.0
Alternate boot path: 0/1/1/0.1
Console path: 0/7/1/1.0
Keyboard path: 0/0/4/0.0


Processor is booting from the first available device.

To discontinue, press any key within 10 seconds.

10 seconds expired.
Proceeding...

Trying Primary Boot Path
------------------------
Booting...
Boot IO Dependent Code (IODC) revision 0


HARD Booted.

ISL Revision A.00.43 Apr 12, 2000

ISL booting hpux

Boot
: disk(0/1/1/0.0.0.0.0.0.0;0)/stand/vmunix
9752576 + 2174976 + 1303224 start 0x1f1568

------------------------------------------

Am i missing something here??

SEP, yeah a script will need an OS to execute but then I can run the expect script from another unix machine which will only 'read' the patterns on the target HPUX machine. When this script sees the pattern:
"To discontinue, press any key within 10 seconds." on the target machine, it will send a carriage return (\r) ---that was the idea ..but doesnt' seem worth the effort ;)
rariasn
Honored Contributor

Re: Any trick to auto-stop at ISL prompt

Hi,

# man pdc
# man isl
# man hpux

rgs
Peter Godron
Honored Contributor
Solution

Re: Any trick to auto-stop at ISL prompt

Rahul,
from man setboot:
"
AutoBoot AutoSearch Boot Action
off off Go to the BCH and prompt the user."

So I would try with autoboot and autosaerch off.
Rahul Sharma_4
Advisor

Re: Any trick to auto-stop at ISL prompt

^^ that worked !!
setboot -a off
setboot -s off