1832220 Members
2388 Online
110041 Solutions
New Discussion

setboot question

 
SOLVED
Go to solution
Luke Bell
Advisor

setboot question

hi

I booted one of my hp L Class servers last night only to find that it automatically interrupted the boot up and just sat at the boot prompt.

I have been looking and it seems that I can change this setting using

/usr/sbin/setboot -b off

Is this correct has any one used this before?

I might be able to try to turn it on on a test server then turn it off but I don’t want to try it until I understand more what it does the man page wasn’t all that clear.

If this isn’t the way of stopping the box interrupting boot up what is?

Che
7 REPLIES 7
Pete Randall
Outstanding Contributor
Solution

Re: setboot question

Actually, I think you want to set autoboot on:

setboot -b on


Pete

Pete
Pete Randall
Outstanding Contributor

Re: setboot question

You should probably set autosearch on, too.


Pete

Pete
Victor BERRIDGE
Honored Contributor

Re: setboot question

Then check:
Just type setboot
the output should look like:
Primary bootpath : 0/0/1/1.2.0
Alternate bootpath : 0/0/2/0.2.0

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


All the best
Victor
Luke Bell
Advisor

Re: setboot question

hi whats auto search? and how do i set that to be on?

at the moment ive got

setboot
Primary bootpath : 1/0/0/3/0.6.0
Alternate bootpath : 1/0/1/0/0/1/1.6.0

Autoboot is OFF (disabled)
Autosearch is OFF (disabled)

ill have a play on my test box now thanks for your quick responces
Victor BERRIDGE
Honored Contributor

Re: setboot question

This out of th man pages:
AutoBoot AutoSearch Boot Action
_______________________________________________________________________
off off Go to the BCH and prompt the user.
on off Attempt the primary path; on failure
go to BCH.
on on Attempt the primary path; on failure
try next path.
off on Skip the primary path and try alternate path.
If the alternate paths are not configured to
boot or fail, go to BCH.
_______________________________________________________________________


All the best
Victor
Luke Bell
Advisor

Re: setboot question

ive just tried this autoboot off and on on the test box and thanks it works

with autosearch on though it seems that when it interupts the boot process it automatically searches for bootable devices.

this is fine on my test box as ive only got 4 devices but on my production box theres 30 or so so it could take a very long time to search?
Pete Randall
Outstanding Contributor

Re: setboot question

As Victor pointed out, the action taken when autoboot and autosearch is one is to attempt the primary path and automatically search if that primary path fails. In normal circumstances the extra 30 devices would not make a difference.


Pete

Pete