Vous êtes sur la page 1sur 24

1/16/2016

BootingSystems

BootingSystems
Technicaldocumentation

TableofContents

CompletebookinPDF
Feedback

Index

prev

next

TheHPUXoperatingsystemcurrentlyrunsontwodifferenthardwareplatforms:
HP9000SystemsPARISCprocessorfamily
HPIntegrityServersItaniumprocessorfamily
AnHPIntegrityServerusestheExtensibleFirmwareInterface(EFI).IfyoursystemdisplaystheEFIboot
managerfollowingtheinitialfirmwaretestresults,thenyouarebootinganHPIntegrityServer.
IfyouarebootinganHPIntegrityServerseeBootingHPUXonHPIntegrityServers:Detailsand
Variations.
IfyouarebootingaPARISCSystemseeBootingHPUXonHP9000(PARISC)Systems:Detailsand
Variations
ForadditionalinformationonbootingnPartitionsandVirtualPartitions,seethenPartitionAdministrator's
GuideandInstallingandManagingHPUXVirtualPartitions(vpars).
NewMassStorageStackforHPUX11iVersion3
HPUX11iv3introducesanewrepresentationofdevicespecialfilesandhardwarepathsformassstorage
devices,allowingtoincreasethereliability,adaptability,performance,andscalabilityofthemassstorage
stack(seetheNextGenerationMassStorageStackwhitepaperformoredetails).Thewhitepaperis
postedintheNetworkandSystemsManagementsectionoftheHPtechnicaldocumentationwebsiteunder
StorageAreaManagement(http://docs.hp.com/en/netsys.html#Storage%20Area%20Management).
HPUX11iv3DeviceSpecialFiles
HPUX11iv3introducespersistentDSFs(DeviceSpecialfiles)formassstoragedevices.Asingle
persistentDSFiscreatedforeachLUN,notboundtothepathtothedeviceasinpriorHPUXreleases,but
totheLUNsWorldwideIdentifier(WWID),auniqueandpermanentidentifieroftheLUN.Thismakesthe
DSFpersistentandagile,thatis,independentfromthephysicalpathstothedevice.Thisalsoenables
transparentmultipathing,meaningthatanyavailablepathtothedevicecantransparentlybeselectedto
accessit.AnexampleofpersistentDSFnameis/dev/disk/disk13.
NOTE:PersistentDSFswillremainpersistentforthelifeofasystem,evenafterarecovery.
However,theyarenotpersistentifyoucoldreinstallanHPUX11iv3system.
HPUX11iv3HardwarePaths
HPUX11iv3introducesanewrepresentationofhardwarepathsformassstoragedevices,referredtoasa
lunpathhardwarepath,whichcoexistswiththelegacyrepresentationofhardwarepathsalreadyusedin
versionspriortoHPUX11iv3.
ThelunpathhardwarepathformatenablestheuseofmoretargetsandLUNsthanarepermittedinthe
legacyaddressingscheme.Itisidenticalinformattoalegacyhardwarepath,uptotheHBA,and
representsthesamepathtotheLUN.BeyondtheHBA,additionalelementsrepresentingatransport
dependenttargetaddress(forinstance,atargetportWorldWideNameforFibreChanneloraportidfor
SCSI)anda64bitSCSILUNaddress,areprintedinhexadecimal.
Note:thehardwarepathelementssizehasbeenincreasedfrom8bitsto64bitstofittheseadditional
elements.
Thelunpathhardwarepathformatmaybeusedtospecifybootpathsasexplainedfurtherinthissection.
BootingHPUXonHPIntegrityServers:DetailsandVariations
HPUXSystemAdministratorsGuide:Overviewdescribesthebasicsequenceofeventsthatoccurswhen
youturnon,reset,orrebootanHPIntegrityServer.Thissectioncoversthebootprocessmorethoroughly
becausetherearetimeswhenyouwillneedtomanuallycontrolthebootprocessforexample:
Whenyouneedtobootyoursystemfromadeviceotherthanthedevicefromwhichyounormally
boot.
Whenyouneedtobootyoursystemfromakernelfileotherthanthekernelfilefromwhichyou
normallyboot.
WhenyouneedtobootthesystemintoSingleUserModetoensurethatspecialtasksyouaredoing
arenotaffectedbyotherusersofthesystem.
WhenyouneedtobootyoursystemintoLVMMaintenancemodetocorrectaproblemwithyour
computerslogicalvolumesorvolumegroups.
http://docstore.mik.ua/manuals/hpux/en/59924616/ch02s01.html#bjabiggf

1/24

1/16/2016

BootingSystems

Whenyouareinstalling,orupdatingtoanewreleaseofHPUX.
Hereisadetailedlookatthebootprocess,anditsvariations.
CAUTION:
ACPIConfigurationforHPUXMustBedefaultonnPartitionableHPIntegrityServers.HP
UXwillnotbootonannPartitioncapablesystemiftheACPIconfigurationvalueisnotsetto
DEFAULT.AsettingotherthanDEFAULTcanexist,forexample,ifthenPartitionwaspreviously
runninganonHPUXoperatingsystemthatrequiredadifferentvalue.
TocheckthecurrentACPIconfiguration,attheEFIShellinterfaceentertheacpiconfigcommand
withnoarguments.Iftheacpiconfigvalueisnotsettodefault,thenHPUXcannotbootin
thissituationyoumustreconfigureacpiconfigorelsebootingwillbeinterruptedwithapanic
whenlaunchingtheHPUXkernel.
TosettheACPIconfigurationforHPUX:intheEFIShellinterfaceentertheacpiconfig
defaultcommand,andthenentertheresetcommandforthenPartitiontorebootwiththeproper
(default)configurationforHPUX.
AStandardBoot
HerearemoredetailsaboutwhathappensduringatypicalHPUXbootupsequenceonanHPIntegrity
Server.
1. Poweronexternaldevices:Ifnecessary,turnonallexternalperipheralsanddevicesthatare
attachedtoyourcomputer(forexample,diskdrives,tapedrives,printers,terminals,busconverters).
Oncethedeviceshavecompletedtheirselfchecktests,proceedtothenextstep.
2. Poweronyoursystem(ornPartition):TurnonorresetthecomputerornPartition.
Systemhardware(orhardwareassociatedwithannPartitionyouarebooting)willgothrougha
seriesofselfteststoverifythattheprocessors,memory,andothersystemcomponentsarein
workingorder.
3. Bootdeviceselection:Yoursystem(orthenPartitionyouarebooting)mustlocateakernelfileto
bootfrom.Therearetwopartstothesearch:
Part1
determinethehardwarepathtothebootdevice
Part2
determinewhichkernelfileonthehardwarepathtoboot(seeStep4)
Pathvariablesstoredinnonvolatilememorysetuptothreepossiblebootpathsfromwhichto
attemptaboot:
PRI
ThePRImarybootpathisthefirstbootpathtotry.Setthevalueofthispathtopointtothe
devicefromwhichyouwillbootmostoften.
HAA
TheHighAvailabilityAlternatebootpathisthepathyouwantyoursystemtobootfrom
shouldyourprimarybootpathfail.
ALT
TheALTernatebootpathisthehardwarepathtoanalternatebootsource(forexample,a
tapedrive,networkbasedbootsource,oropticaldiscdrive).
OnHPIntegrityServers,thePRIbootpathistriedduringanautomaticboot.Youcanmanually
overrideanautomaticbootbyinterruptingthebootprocessbeforetheAUTOBOOTDELAYexpires.If
anautobootfromtheprimarybootpath(firstitemintheBootOptionsList)isnotpossible,youwill
needtomanuallyselectabootpathfromtheEFIBootManagermenu.
BootdisksonHPIntegrityserverscontainaspecialpartitioncalledanEFIpartition.TheEFI
partition,aderivativeoftheFATfilesystemcommonlyfoundonPCs,containsEFIapplicationsthat
canberunbeforeHPUXisinitiated.Onesuchapplication,theEFIbootmanager,isautomatically
launchedandinturnlaunchestheHPUXbootloader,hpux.efi(alsoanEFIapplication).
NOTE:AdiagramandbriefdescriptionofthedisklayoutfordiskscontainingEFIpartitions
isavailableintheHPUXSystemAdministratorsGuide:LogicalVolume
Managementvolume.
4. Kernelfileselection:Onceabootdeviceisselected,theHPUXspecificbootloaderhpux.efiis
initiated.hpux.efiusesthecontentsoftheAUTOfileontheselectedbootdevicetolocatethe
kernelfiletoboot.
Typically,theAUTOfilecontains:
http://docstore.mik.ua/manuals/hpux/en/59924616/ch02s01.html#bjabiggf

2/24

1/16/2016

BootingSystems

bootvmunix
whichtellshpux.efitoloadthekernelfromthefilecalledvmunixfromthebootfilesystem,laterto
bemountedontherootfilesystemunder/stand,sothatthebootedkernelcanbefoundasthe
file/stand/vmunix.
5. LoadandinitiatetheHPUXoperatingsystem:hpux.efithenopens,andloadstheHPUX
kernelintomemoryandinitiatesit.
6. HPUXgoesthroughitsinitializationprocessandbeginsnormaloperation.
AutomaticVersusManualBooting
Whetheryoursystembootsautomatically(providingfortheoptionofunattendedbootinginthecaseofa
powerfailureorotherunexpectedbootsituations)orrequiresmanualinterventionisdeterminedbyseveral
things,mostnotably:
thesettingoftheautobootflaginnonvolatilememory
whetheranAUTOfileispresentintheEFIpartitionontheselectedbootdevice
whetheryouintendtobootfromyoursystemsprimarybootdevice
whetheryourprimarybootdevice(ortheHighAvailabilityAlternatebootdevice)isavailable
Usually,theprimarybootpathpointstothedevicefromwhichyoumostfrequentlybootandthatdeviceis
available.Iftheautobootflagisenabled,yoursystemwillautomaticallybootfromtheselectedbootdevice
(followingapresettimeout).
autobooton
Iftheautobootflagissettoon,hpux.efiwillattempttobootusingtheitemsinthebootoptions
list,intheorderspecified.Itreadsthe\EFI\HPUX\AUTOfilefromtheEFIfilesystemonthedevice
thatyouarebootingfrom.hpux.efiusesthecontentsofAUTOtolocatethekernelfiletoloadand
determinewhichbootoptions(ifany)touse.Itthenloadsandinitiatesthekernel.
IfnoAUTOfileislocatedthebootprocessstopsatthehpux.efiloader(youwillsee
theHPUX>prompt)andyoucanmanuallybootHPUXorperformothertasks.
autobootoff
IftheautobootflagissettooffthebootprocessstopsattheEFIBootManagerfromwhichyou
canmanuallybootHPUXorperformothertasks.
OverridinganAutomaticBoot
IftheautobootflaginthenonvolatilememoryofyoursystemornPartitionisenabled,yoursystemor
nPartitionwillattempttoautomaticallybootfollowingabootdelay.Bydefault,thebootdelayissetto10
secondshoweveryoucanchangethis.
Tooverrideanautomaticboot,pressthespacebarbeforetheautobootdelayperiodexpires.Insteadof
continuingwiththeautoboot,yoursystemornPartitionwillallowyoutointeractwiththeEFIBootManager.
NOTE:Almostanykeywillperformthesameactionasthespacebar,howevertheENTERkey
willstartthebootsequenceimmediately,andotherkeysmightbemeaningfultotheboot
manager(forexample,pressingvwillmovethecurrentlyselectedbootmanagermenuoption
downoneitem).
YoucanoverrideanautomaticboottomanuallyinteractwiththeEFIBootManagerto:
Specifyabootdevice(otherthanthatwhichwouldbeautomaticallyused)
Specifyabootkernelfile(otherthanthatwhichwouldbeautomaticallyused)
Vieworadjustyoursystemsprebootsettings
Atthispoint,youcanselectadevicetobootfromusingtheoptionsprovidedintheEFIBootManagers
mainmenuoryoucanchoosetointeractwiththeEFIshelltobootyoursystem.
UsingtheEFIShelltoManuallyBootYourSystem
TousetheEFIshelltobootyoursystem:
Procedure22BootingfromtheEFIShell
1. AccesstheEFIShell.
Fromthesystemconsole,usetheup/downarrowkeystoselecttheEFIShellentryfromtheEFI
BootManagermenutoaccesstheshell.
2. AccesstheEFISystemPartitionfortheHPUXbootdevice.
UsethemapEFIShellcommandtolistthefilesystems(fs0,fs1,andsoon)thatareknownand
http://docstore.mik.ua/manuals/hpux/en/59924616/ch02s01.html#bjabiggf

3/24

1/16/2016

BootingSystems

havebeenmapped.
Toselectafilesystemtouse,enteritsmappednamefollowedbyacolon(:).Forexample,to
operatewiththebootdevicethatismappedasfs0,enterfs0:attheEFIShellprompt.Whenyou
hitEntertocompletethecommandtheshellpromptwillchangetoreflectyourdeviceselection:
(fs0:\>)
Ifthemapcommandshowsalotofdevicesyoucanusetheboptiontomakeitshowtheoutput
onescreenatatime.
3. EnterHPUXattheEFIShellcommandprompttolaunchtheHPUX.EFIloaderfromthecurrently
selectedbootdevice.
Ifneeded,youcanspecifytheloadersfullpathbyentering\EFI\HPUX\HPUXattheEFIShell
commandprompt.
4. AllowtheHPUX.EFIloadertoproceedwiththebootcommandspecifiedintheAUTOfile,or
manuallyspecifythebootcommand.
Bydefault,theHPUX.EFIloaderbootsusingtheloadercommandsfoundin
the\EFI\HPUX\AUTOfileontheEFISystemPartitionoftheselectedbootdevice.TheAUTOfile
typicallycontainsthebootvmunixcommand.
TointeractwiththeHPUX.EFIloader,interruptthebootprocess(forexample,typeaspace)within
thetimeoutperiodprovidedbytheloader.Toexittheloaderusetheexitcommandthiswilltake
youbacktoEFI.
AdjustingtheAutobootDelay
Bydefault,theautomaticbootdelayissetto10seconds.Youcanchangethisvalue:
Example21SettingtheautobootdelayusingtheEFIBootManagersBootOptions:
1. SelectBootOptionMaintenanceMenufromthebootmanagersmainmenu.
2. SelectAutoBootTimeOutfromthebootoptionmaintenancemenu.
3. SelectSetTimeOutValue.
4. Enterthenumberofsecondsyouwanttouseforthebootdelay(forexample30).
Example22SettingtheautobootdelayusingtheEFIShellsautobootcommand:
Tosettheautobootdelayto30seconds,usetheEFIShellcommand:
autoboot30
Enabling/DisablingAutoboot
Thevalueoftheautobootflagcanbesetorchangedinseveralways:
Example23EnableAutoboot(usingEFIShellsautobootcommand)
Shell>autobooton
Example24DisableAutoboot(usingEFIShellsautobootcommand)
Shell>autobootoff
Example25EnableAutoboot(usingsetbootfromarunningHPUXsystem)
/usr/sbin/setbootbon
Example26DisableAutoboot(usingsetbootfromarunningHPUXsystem)
/usr/sbin/setbootboff
BootingfromanAlternateBootSource
Therearetimeswhenyouwillneedtobootfromadeviceotherthanthedevicethatyounormallybootfrom.
Forexample,ifyourprimarybootdiskfails,youwillneedtobootyoursystemeitherfromadifferentdiskor
fromanotherrecoverymedium.
BootingfromanAlternateBootDevice
Youcanbootfromanalternatedeviceinfollowingways.Ifyoursystemissetuptoautomaticallybootyou
willneedtooverridetheautobootsequencebyhittinganykeyontheconsolekeyboardduringtheautoboot
delay(timeout)period.
Ifthealternatedevicethatyouwanttobootfromislistedinthebootoptionsmenu(themainEFI
BootManagermenu),usethearrowkeystohighlighttheentryforthealternatedeviceand
pressEnteronthekeyboardtobootfromthatdevice.
http://docstore.mik.ua/manuals/hpux/en/59924616/ch02s01.html#bjabiggf

4/24

1/16/2016

BootingSystems

Ifthealternatedevicethatyouwanttobootfromisnotlistedinthebootoptionsmenu:
1. SelectEFIShell[Builtin]fromthebootoptionsmenutoruntheEFIshell.
2. EntermapattheEFIshellprompttolistbootabledevicesonyoursystem.
Thedeviceswillbelisted.Lookforentriesthatbeginwithfs#:(where#isanumbersuch
as0,1,2,3,etc.).
Ifthemapcommandshowsalotofdevicesyoucanusetheboptiontomakeitshowthe
outputonescreenatatime.
3. Determinewhichentrymapstothedeviceyouaretryingtobootfromandenter
thefs#:nameattheshellprompt.
Forexample,iftheentryforthedeviceyouwantistaggedasfs0:,enterfs0:attheshell
prompt:
Shell>fs0:
Thedeviceassociatedwithentryfs0:isnowtheselectedbootdevice.TheEFIShellprompt
willchangetoreflectthis.
4. Enterhpuxtostartthebootloader.Thebootloader(hpux.efi)willnowrunanduse
theAUTOfileontheselecteddevicetodeterminewhichkernelfiletouse.
NOTE:Onpartitionablesystemsthedefaultisnottosearchallcellsandtheirinterfacecardsfor
devices,thisisdonetoallowthebootprocesstoproceedfaster.Ifthedeviceyouwishtoboot
fromisnotattachedtoanI/Ocardonthecorecell,youmustusethesearchcommandattheEFI
prompttoallowyoutofindadditionaldevicesonothercellsandI/Oslots.Formoreinformationon
thesearchcommandseenPartitionAdministrator'sGuide.Onceadeviceisaddedtotheboot
managermenuthatislocatedonadifferentcell,EFIwillenumeratedevicesonthatI/Ocardwhile
performingfutureboots.
BootingfromanAlternateKernelFile
Thedefaultkernelfilename(andthekernelfilenamethatisusuallyused)isvmunix.TheAUTOfileinthe
EFIpartitiononabootdevicetypicallycontainstheentry:bootvmunixwhichreferencesthe
filevmunixinthe/standfilesystemontheselectedbootdevice.
Ifyounormallybootfromthekernelfile/stand/vmunixbut(forexample)needtotemporarilybootfroman
alternatekernelfile,followthisproceduresubstitutingyourkernelfilenamefortestvmunix:
1. Ifyoursystemautomaticallyboots,interrupttheautobootsequencebyhittinganykeyontheconsole
keyboardduringtheautoboot(timeout)delay.
2. SelectEFIShell[Builtin]fromthebootoptionsmenutostarttheEFIshell.
3. Makesuretheselectedbootdeviceistheonethatcontainsthekernelfileyouwanttobootfrom.If
youarenotsure:
a. EntermapattheEFIshellprompttolistbootabledevicesonyoursystem.
Thedeviceswillbelistedwithentriesthatbeginwithfs#:(where#isanumbersuchas0,
1,2,3,etc.).Forexample:
fs0:Acpi(HWP0002,500)/Pci(2|0)/Ata(Primary,Master)/HD(Part1,Sig88F40A3A
B99211E18002D6217B60E588)
fs1:Acpi(HWP0002,500)/Pci(2|0)/Ata(Primary,Master)/HD(Part3,Sig88F40A9E
B99211E18004D6217B60E588)
blk0:Acpi(HWP0002,500)/Pci(2|0)/Ata(Primary,Master)
blk1:Acpi(HWP0002,500)/Pci(2|0)/Ata(Primary,Master)/HD(Part1,Sig88f40A3A
B99211E18002D6217B60E588)
blk2:Acpi(HWP0002,500)/Pci(2|0)/Ata(Primary,Master)/HD(Part1,Sig88f40A6C
B99211E18003D6217B60E588)
blk4:Acpi(HWP0002,500)/Pci(2|0)/Ata(Secondary,Master)
b. Determinewhichentrymapstothedevicecontainingthekernelfileyouaretryingtoboot
from,andenterthefs#:nameattheshellprompt.
Forexample,iftheentryforthedeviceyouwanttobootfromistaggedasfs7:,
enterfs7:attheshellprompt:
Shell>fs7:
Thedeviceassociatedwithentryfs7:isnowtheselectedbootdevice.
4. Enterthecommandhpuxattheshellpromptandbepreparedtostoptheautobootsequence(again
byhittinganykeyontheconsolekeyboard)ifyouseeacountdowntimershowingthatanautoboot
http://docstore.mik.ua/manuals/hpux/en/59924616/ch02s01.html#bjabiggf

5/24

1/16/2016

BootingSystems

isabouttocommence.
NOTE:IftheAUTOfileonthenowselectedbootdevicewillcausethesystemtobootfrom
thealternatekernelfileyouaretryingtouse,thereisnoneedtointerruptthissecond
autobootsequence.Otherwise,stoptheautomaticboot.
5. IfyoustoppedtheautomaticbootinthepreviousstepyoushouldnowbeintheHPUXbootloader
thepromptshouldnowbeHPUX>.
Atthebootloaderprompt,enterthecommandbootfilenamewherefilenameisthenameofthe
kernelfileyouaretryingtobootfrom.
Example27Bootingfromanalternatekernelfilecalledtestvmunix
HPUX>boottestvmunix
ChangingthePRI,HAA,andALTBootPaths
OnHPIntegrityServers,theprimary,highavailabilityalternate,andalternatebootpathsarebasedonthe
first,second,andthirditemsthatappearinthebootoptionslistfortheserver,respectively.
YoucanmanagethebootpathsusingthesetbootcommandwhenHPUXisrunning,orbyusingtheBoot
OptionMaintenanceMenuintheEFIBootManager.
SettingthePRI,HAA,andALTBootPathsUsingtheHPUXsetbootCommand:
Whenyouusesetboottoconfigurethefirst(PRI),second(HAA),orthird(ALT)iteminthebootoptionslist,
thenewdevicepaththatyouspecifyeitherreplacestheoriginalbootoption,oritisinsertedintheoriginals
place(withtheoriginalitembeingshiftedtowardtheendofthebootoptionslist):
IfthebootoptioniscurrentlynotsettoanHPUXdevice,thenewbootdevicepathisinsertedasa
newiteminthebootoptionslist.
Inthiscasetheoriginallistitem,ifany,movestowardtheendofthebootoptionslistandthenew
bootdevicepathbecomesthefirst(PRI),second(HAA),orthird(ALT)iteminthelist,asspecified
bysetboot.
IfthebootoptioniscurrentlysettoanHPUXdeviceandthelistitemhasthestandarddescription
(forexample,HPUXPrimaryBootforPRIorHPUXAlternateBootforALT)thenthe
newbootdevicepathreplacestheoriginaliteminthebootoptionslist.
IfthebootoptioncurrentlyissettoanHPUXdeviceandthelistitemsdescriptionisnotstandardfor
itsplaceinthebootoptionslist,thenthenewbootdevicesettingisinsertedasanewiteminthe
bootoptionslist.
Inthiscasetheoriginallistitemismovedtowardtheendofthebootoptionslist.
NOTE:Thebootdevicepaththatyouspecifyinthesetbootcommand(pathinthefollowing
examples)mustbeavalidHPUXhardwarepathtoabootableHPUXdevice.
StartingwithHPUX11iversion3,thepersistentDSFnameandthelunpathhardwarepathare
validentriestothesetbootcommand,inadditiontothelegacyhardwarepath.Regardlessofthe
typeofargumentpassedininputtosetboot,setbootstoresinstablestorageanddisplaysin
outputanactivelunpathhardwarepathtothedevice.Thislunpathhardwarepathmaybe
automaticallyreplacedbyanotheractivelunpathuponfailureoftheinitiallyconfiguredlunpath.
Formoredetails,seethesetboot(1M)inHPUX11iv3whitepaperlocatedonHPstechnicalweb
site:http://docs.hp.com.
Usethesetbootppathcommand,wherepathisalegacyhardwarepath,tosettheprimaryboot
path,forexample:
/usr/sbin/setbootp0/0/2/0/0.6
Usethesetboothpathcommandwherepathisalunpathhardwarepath,tosetthehigh
availabilityalternatebootpath,forexample:
/usr/sbin/setbooth0/5/1/0.0x50001fe15001eead.0x4001000000000000
Usethesetbootapathcommand,wherepathisapersistentDSF,tosetthealternatebootpath,
forexample:
/usr/sbin/setboota/dev/disk/disk13
SettingthePRI,HAA,andALTBootPathsUsingtheBootOptionMaintenanceMenuintheEFIBoot
Manager:
YoucanusetheBootOptionMaintenanceMenuintheEFIBootManagertomanagethePRI,HAA,and
ALTbootpaths.Justrememberthat:
PRI
http://docstore.mik.ua/manuals/hpux/en/59924616/ch02s01.html#bjabiggf

6/24

1/16/2016

BootingSystems

Theprimarybootpath(PRI)correspondstothefirstbootoptioninthelist
HAA
Thehighavailabilityalternatebootpath(HAA)correspondstothesecondbootoptioninthelist
ALT
Thealternatebootpath(ALT)correspondstothethirdbootoptioninthelist
NOTE:Youcanhavemorethanthreeitemsinyourbootoptionslist.Thefirstthreecorrespondto
thebootpathsaslistedabove.Additionalitemscanbechosenmanuallyfromthebootoptionslist
duringamanualboot.
1. SelectBootOptionMaintenanceMenufromtheEFIBootManagersmainmenu
2. UsethefollowingthreeBootOptionMaintenanceMenuitemstoeditthebootoptionslistsothatit
reflectsthedevicesonyoursystemthatyouwanttouseforyourPRI,HAA,andALTbootpaths(and
anyadditionalbootpathsyouwanttoaddtothelist):
AddaBootOption
Presentsyouwithalistofpossiblebootdevicesandallowsyoutoselectonetoaddto
yourbootoptionslist
DeleteBootOption(s)
Allowsyoutointeractivelydeleteoneormoreentriesfromyourbootoptionslist
ChangeBootOrder
Allowsyoutoreorderyourbootoptionslist
3. Whenthebootoptionslistforyoursystemisasyouwantit,selectExittoreturntotheEFIBoot
Managersmainmenu(whichshouldnowreflectyourneweditstothebootoptionslist).
ChangingtheContentsofanAUTOFileonaBootDevice
OnanHPIntegrityServer,duringanautomaticboot(andsomemanualboots),thefile\EFI\HPUX\AUTOon
thedeviceyouarebootingfromisusedtolocatethekernelfiletobootfrom.
TypicallythecontentsoftheAUTOfilearebootvmunix.Youcantemporarilyoverridethecontentsof
theAUTOfile,forexampletobootfromanalternatekernelfile(seeBootingfromanAlternateKernelFile),
butifyouwanttobootfromtheotherkernelfilebydefault,orwanttoregularlyusecertainbootoptions,you
needtochangethecontentsoftheAUTOfiletoreflecttheappropriatesettings.
NOTE:TheAUTOfilecanonlyspecifythebootcommand.Toissueotherhpux.efiloader
commands,youmustinteractdirectlywiththeloader.
TherearethreebasicwaystochangethecontentsoftheAUTOfileonadevice.Twoofthesecanonlybe
accomplishedusingtheprebootEFIenvironment.ThethirdcanbeaccomplishedwhileHPUXisrunning.
ChangingtheAUTOfilefromtheEFIShell(preboot)
ChangingAUTOfromtheHPUX.EFIBootLoader(preboot)
ChangingAUTOfromaRunningHPUXEnvironment
Procedure26ChangingtheAUTOfilefromtheEFIShell(preboot)
ThisprocedurecannotbedonefromarunningHPUXsystem.Itassumesthatyoursystemhasnotyet
beenbooted.IfyouneedtochangethecontentsofadevicesAUTOfilewhileHPUXisrunning,
seeChangingAUTOfromaRunningHPUXEnvironment.
TolistandconfigureanHPUXbootdevicesAUTOfilefromtheEFIShelluseEFIShellcommands(such
ascd,ls,andedit)todisplayandedittheEFI\HPUX\AUTOfileontheselecteddevice.
1. AccesstheEFIShellenvironmentusingtheservers(ornPartitions)systemconsole.Accessthe
systemconsoleeitherviatheserversmanagementprocessor(MP)orviaahardwiredconsole
terminal.
Ifnecessary,interrupttheautobootprocessbyhittingakeyduringtheautoboottimeoutperiod.The
EFIBootManagerwilldisplaythebootoptionsmenu(theEFImainmenu).
Fromthebootoptionsmenu,selectEFIShell.
2. SelectthedevicewiththeAUTOfilethatyouwanttochange.
IMPORTANT:Donotforgetthisstep,especiallyifyouhavemultiplebootabledevices.On
HPIntegrityServerseverybootabledevicecanhaveitsownAUTOfile.Ifyouhavenot
selectedthedevicecontainingtheAUTOfileyouwanttochange,youmightbeediting
anAUTOfileonadifferentdevice.
http://docstore.mik.ua/manuals/hpux/en/59924616/ch02s01.html#bjabiggf

7/24

1/16/2016

BootingSystems

Tolistallcurrentlymappedfilesystems,entermapattheEFIShellprompt:
Shell>map
Themapcommanddisplaysallfilesystemsthatareknownandhavebeenmapped.Forexample:
fs0:Acpi(HWP0002,500)/Pci(2|0)/Ata(Primary,Master)/HD(Part1,Sig88F40A3AB992
11E18002D6217B60E588)
fs1:Acpi(HWP0002,500)/Pci(2|0)/Ata(Primary,Master)/HD(Part3,Sig88F40A9EB992
11E18004D6217B60E588)blk0:Acpi(HWP0002,500)/Pci(2|0)/Ata(Primary,Master)
blk1:Acpi(HWP0002,500)/Pci(2|0)/Ata(Primary,Master)/HD(Part1,Sig88f40A3AB992
11E18002D6217B60E588)
blk2:Acpi(HWP0002,500)/Pci(2|0)/Ata(Primary,Master)/HD(Part1,Sig88f40A6CB992
11E18003D6217B60E588)blk4:Acpi(HWP0002,500)/Pci(2|0)/Ata(Secondary,Master)
Ifthemapcommandshowsalotofdevicesyoucanusetheboptiontomakeitshowtheoutput
onescreenatatime.
InthelistthatisdisplayedlocatetheentrycorrespondingtothedevicecontainingtheAUTOfileyou
wanttochange.Lookattheentriesinthelistthatbeginwiththestringfs#,where#willbea
number(forexamplefs0,fs1,fs2...andsoon).AttheEFIShellpromptenterthefs#forthe
desireddevicefollowedbyacolon:
Shell>fs0:
YourdeviceisnowselectedandtheEFIShellpromptwillchangetoreflectthat:
fs0:\>
3. ChangedirectoriestowheretheAUTOfileislocated.IntheEFIfilesystemforeachHPUX
bootabledevicetheAUTOfileislocatedinthe\EFI\HPUXdirectory:
fs0:\>cd\EFI\HPUX
Thepromptchangesagaintoreflectyournewlocation:
fs0:\EFI\HPUX>
a. Youcandisplaythecontentsofthedirectoryusingthelscommand:
fs0:\EFI\HPUX>ls
Directoryof:fs0:\EFI\HPUX06/03/0403:31p<DIR>512.
06/03/0403:31p<DIR>512..
06/03/0403:35p421,590HPUX.EFI
06/03/0403:35p24,576NBP.EFI
06/03/0403:35p12AUTO3File(s)
446,196bytes2Dir(s)fs0:\EFI\HPUX>
b. YoucandisplaythecurrentcontentsoftheAUTOfileusingthecatcommand:
fs0:\EFI\HPUX>catAUTO
FILE:fs0:\EFI\HPUX\AUTO,Size12bootvmunixfs0:\EFI\HPUX>
4. TochangethecontentsoftheAUTOfileyoucaneitherusetheeditcommandtoeditthefileusing
thefullscreenEFIeditor,orusetheechocommandandredirectitsoutputtotheAUTOfile:
Tousetheeditcommand,entereditAUTOandconfiguretheAUTOfileusingthefullscreen
editor.
Tosavechangestothefile,dependingonthesystemyouhaveandwhetheryouareusinga
hardwiredconsoleornetworkbasedaccess,presstheF2keyortypeEsc2(pressEsc
thenpress2).Usetheeditorsonscreenpromptstodeterminewhichkeysequencetouse.
ToexittheEFIeditorpresstheF3key(ortypeEsc3dependingonyoursystemas
describedinthepreviousparagraph).
ToconfiguretheAUTOfilewithoutusingthefullscreeneditor,usetheechocommand:
fs0:\EFI\HPUX>echoboottestvmunix>auto
Theabovecommandreplacesthepreviouscontents(ifany)oftheAUTOfilewiththestringboot
testvmunix.Substitutethenameofyourkernelfilefortestvmunixintheexample.
NOTE:BecausetheEFIShell(EFIfilesystem)isnotcasesensitiveautoandAUTO(in
http://docstore.mik.ua/manuals/hpux/en/59924616/ch02s01.html#bjabiggf

8/24

1/16/2016

BootingSystems

thepreviousexample)areconsideredequivalent.
AswithHPUXshells,intheaboveexamplethe>charactercausestheechocommands
outputtoberedirectedtotheautofile.Ifautoexistsitscontentsareoverwritten.
Ifautodoesnotexistitiscreatedandwillcontaintheoutputoftheechocommand.
5. VerifythenewcontentsoftheAUTOfile.UsethecommandcatAUTOtoverifythatthecontents
ofAUTOnowreflectwhatyouwantthemto.
Procedure27ChangingAUTOfromtheHPUX.EFIBootLoader(preboot)
TolistandconfigureanHPUXbootdevicesAUTOfilefromwithintheHPUX.EFIloaderuse
theshowautoandsetautoloadercommands.
1. AccesstheHPUX.EFIloaderforthebootdevicethatcontainstheAUTOfileyouwanttoconfigure.
YoucandothiseitherbylaunchingtheloaderfromtheEFIShellinterface,orbyselectingthe
devicefromtheEFIBootManagerandinterruptingtheHPUXbootprocesstoaccessthe
loadersHPUX>prompt.
NOTE:IfyouusetheEFIShellinterface,besuretoselectthecorrectbootdevicebefore
startingtheHPUX.EFIbootloaderoryoumightchangethewrongAUTOfile.Fordetailson
howtoselectthecorrectdevice,seeChangingtheAUTOfilefromtheEFIShell(pre
boot).
2. AttheHPUXbootloadersHPUX>prompt,entertheshowautocommandtodisplaythecurrent
contentsoftheAUTOfile:
HPUX>showauto
\EFI\HPUX\AUTO=>bootvmunixHPUX>
3. EnterthesetautocommandtodeleteormodifytheAUTOfile.
setautoddeletestheAUTOfilefromthecurrentbootdevice.Youmightwanttodothisifyou
wanttodisableautomaticbooting.
setautostringsetstheAUTOfiletocontainthestringspecified.
Thestringspecifiedmustbeofaformofthebootloadercommand.No
otherHPUX.EFIcommandsareallowedintheAUTOfile.
boot
Specifiestobootthe/stand/vmunixHPUXkernelwithnobootoptions.For
example:setautobootcreatesanAUTOfilethatcontainsonlythebootcommand.
bootkernel
Specifiestobootfromthenamedkernelfile.Forexample:setautoboot
testvmunixcreatesanAUTOfilethatcontainsonlytheboottestvmunixcommand.
bootoptionkernel
Specifiestobootthespecifiedkernelfileusingtheloaderoptiongiven.For
example:setautobootisvmunixcommandcreatesanAUTOfilecontainingboot
isvmunix(whichindicatestobootinsingleusermode,asspecifiedbythe
isoption).
Seethehpux(1M)manpagefordetailsonloaderoptions,whichincludeLVM
maintenancemode(lm),VxVMmaintenancemode(vm),tunablemaintenance
mode(tm),andothers.
4. EntertheshowautocommandagaintoverifytheAUTOfilesnewconfiguration.
Procedure28ChangingAUTOfromaRunningHPUXEnvironment
ChangingtheAUTOfileforagivenHPUXbootdevicefromwithinarunningHPUXoperatingsystemisa
threestepprocess:
1. CopytheAUTOfilefromtheEFIpartitiononthebootdevicetoafileonanHPUXfilesystem.
2. EditthecontentsoftheAUTOfiletoreflectthenewsettings.
3. CopytheeditedAUTOfilebacktotheEFIpartitiononthebootdevice.
1. CopytheAUTOfilefromtheEFIpartitiononthebootdevicetoafileonanHPUXfilesystem.Use
theefi_cpcommandtodothis.Seeefi_cp(1M)fordetails.Forexample,iftheEFIfilesystem
representedbythedevicefile/dev/rdsk/c1t4d0s1containstheAUTOfileyouwanttochange,
usethefollowingcommandtocopytheAUTOfiletoyourcurrentdirectory:
http://docstore.mik.ua/manuals/hpux/en/59924616/ch02s01.html#bjabiggf

9/24

1/16/2016

BootingSystems

efi_cpd/dev/rdsk/c1t4d0s1u/EFI/HPUX/AUTOAUTO
IMPORTANT:Theuoptioninthecommandabovetellsefi_cptocopytheAUTOfilefrom
theEFIfilesystemtotheHPUXfilesystem.Thinkofitascopyingthefileupfromthelower
levelEFIprebootenvironment.InStep3ofthisprocedure,theefi_cpcommand,
usedwithouttheuoption,willcopytheeditedAUTOfilebacktotheEFIfilesystem.
ThemostdifficultpartofthisstepisdeterminingwhichdevicefiletousetoreferencetheproperEFI
filesystem.IftheAUTOfileyouwanttochangeistheoneassociatedwiththedeviceyouare
currentlybootedfrom,hereisonewaytodeterminewhichdevicefiletouse:
Example28DeterminingtheEFIdiskpartitionofyourcurrentbootdeviceusingLVM
Note,ifyouareusingVxVMinsteadofLVM,seetheVERITASVolumeManagerdocumentation.
1. Usethebdfcommandtodisplaythedevicefileforthelogicalvolumethatcontainsyour
bootdirectory(/stand):
bdf|grep/stand
/dev/vg00/lvol1183500815028816716568%/stand
Inthiscase(andprobablyinmostcases)thedevicefileforthe/standlogicalvolume
is/dev/vg00/lvol1.
2. Next,usethelvdisplaycommandtodeterminethenameofthedevicefile(s)ofthe
physicaldevicesassociatedwiththelogicalvolumeinthepreviousstepofthisexample
(usegrepandtailtofilterthelinesyouneed):
lvdisplayvk/dev/vg00/lvol1|grep/dev|tail+3
/dev/disk/disk3_p2112112
Inthisexample,theHPUXfilesystemontheonephysicaldeviceassociatedwith
the/standdirectory(thedirectorycontainingthekernelfilewebootedfrom)
is/dev/disk/disk3_p2.Thep2attheendofthefilenamereferstopartitionnumber
2onthephysicaldevice.ThisisusuallythepartitiononthediskthatcontainsHPUXfile
systems.TheEFIpartitionisalmostalwayscontainedinpartition1,soifyouchangethe
p2top1inthefilenameyoushouldhavethedevicefileyouneedtousefor
theefi_cpcommand(/dev/disk/disk3_p1).
3. Ifthelogicalvolumecontainingthe/standfilesystemcontainsmorethanonephysical
device,youhavealittlemoreworktodo.Youhavetodeterminewhichofthemyoubooted
from,ormoreimportantly,whichoneyouwillbootfromafterchangingitsAUTOfile.
Thoughnotalways,itisusuallythedeviceassociatedwithyourPRI(primary)bootpath.
Usethesetbootcommandwithnooptionstodeterminewhichdeviceyourprimaryboot
pathcurrentlypointsto,thenusethelssfcommandwitheachdevicefileassociatedwith
thelogicalvolumecontaining/stand.Lookforwhichdevicefilehasahardwareaddress
thatmatchesyourprimarybootpath.Changethep2top1asintheprevioussubstep
andyouhavethenametousewithefi_cp.
NOTE:Youcanusethisprocedurewithdevicesotherthanyourcurrentbootdeviceifyou
havemultipledevicesyoualternatelybootfrom.Example28DeterminingtheEFIdisk
partitionofyourcurrentbootdeviceusingLVMdescribesacommonoccurrence.
2. UsethemethodoreditorofyourchoicetochangethecontentsoftheAUTOfileinyourcurrent
directory.Forexample,youmightwanttochangethecontentsoftheAUTOfiletoautomaticallyboot
fromanalternatekernelfile:
BeforethechangeAUTOcontains:
bootvmunix
AfteryoureditsAUTOcontains:
boottestvmunix
3. CopythechangedAUTOfilebacktotheEFIfilesystemusingtheefi_cpcommand(withoutthe
uoption):
efi_cpd/dev/rdsk/c1t4d0s1AUTO/EFI/HPUX/AUTO
BootingintoSingleUserMode
YoucanbootHPUXinsingleusermodebyusingthefollowingprocedure:
http://docstore.mik.ua/manuals/hpux/en/59924616/ch02s01.html#bjabiggf

10/24

1/16/2016

BootingSystems

Procedure29BootingHPUXIntoSingleUserModeonHPIntegrityServers
FromtheEFIShellenvironment,bootinsingleusermodebystoppingthebootprocessat
theHPUX.EFIinterface(theHPUXBootLoaderprompt,HPUX>)andenterthebootisvmunixcommand.
1. AccesstheEFIShellenvironmentforthenPartitiononwhichyouwanttobootHPUXinsingleuser
mode.
Logintotheserviceprocessor(MPorGSP)andenterCOtoaccesstheConsolelist.Selectthe
nPartitionconsole.
Whenaccessingtheconsole,confirmthatyouareattheEFIBootManagermenu(themainEFI
menu).IfatanotherEFImenu,selecttheExitoptionfromthesubmenusuntilyoureturntothe
screenwiththeEFIBootManagerheading.
FromtheEFIBootManagermenu,selecttheEFIShellmenuoptiontoaccesstheEFIShell
environment.
2. Makesuretheselectedbootdeviceistheonethatcontainsthekernelfileyouwanttobootfrom.If
youarenotsure:
a. EntermapattheEFIshellprompttolistbootabledevicesonyoursystem.
Thedeviceswillbelistedwithentriesthatbeginwithfs#:(where#isanumbersuchas0,
1,2,3,etc.).Forexample:
fs0:Acpi(HWP0002,500)/Pci(2|0)/Ata(Primary,Master)/HD(Part1,Sig88F40A3A
B99211E18002D6217B60E588)
fs1:Acpi(HWP0002,500)/Pci(2|0)/Ata(Primary,Master)/HD(Part3,Sig88F40A9E
B99211E18004D6217B60E588)
blk0:Acpi(HWP0002,500)/Pci(2|0)/Ata(Primary,Master)
blk1:Acpi(HWP0002,500)/Pci(2|0)/Ata(Primary,Master)/HD(Part1,Sig88f40A3A
B99211E18002D6217B60E588)
blk2:Acpi(HWP0002,500)/Pci(2|0)/Ata(Primary,Master)/HD(Part1,Sig88f40A6C
B99211E18003D6217B60E588)
blk4:Acpi(HWP0002,500)/Pci(2|0)/Ata(Secondary,Master)
Ifthemapcommandshowsalotofdevicesyoucanusetheboptiontomakeitshowthe
outputonescreenatatime.
b. Determinewhichentrymapstothedevicecontainingthekernelfileyouaretryingtoboot
from,andenterthefs#:nameattheshellprompt.
Forexample,iftheentryforthedeviceyouwant(fromalistthatislongerthantheabove
example)istaggedasfs7:,enterfs7:attheshellprompt:
Shell>fs7:
Thedeviceassociatedwithentryfs7:isnowtheselectedbootdevice.
3. WhenaccessingtheEFISystemPartitionforthedesiredbootdevice,issuetheHPUXcommandto
invokethe\EFI\HPUX\HPUX.EFIloaderontheselecteddevice.
4. BoottotheHPUXBootLoaderprompt(HPUX>)bytypinganykeywithinthetensecondsgivenfor
interruptingtheHPUXbootprocess.YouwillusetheHPUX.EFIloadertobootHPUXinsingle
usermodeinthenextstep.
Afteryoutypeakey,theHPUX.EFIinterface(theHPUXBootLoaderprompt,HPUX>)isprovided.
ForhelpusingtheHPUX.EFIloader,typethehelpcommand.ToreturntotheEFIShell,typeexit.
fs7:\>hpux(c)Copyright19902002,HewlettPackardCompany.Allrights
reservedHPUXBootLoaderforIA64Revision1.723PressAnyKeytointerrupt
Autoboot\efi\hpux\AUTO==>bootvmunixSecondslefttillautoboot9[User
TypesAKeytoStoptheHPUXBootProcessandAccesstheHPUX.EFILoader]Type
helpforhelpHPUX>
5. AttheHPUX.EFIinterface(theHPUXBootLoaderprompt,HPUX>)enterthebootis
vmunixcommandtobootHPUX(the/stand/vmunixkernel)insingleuser(is)mode.Ifyouare
bootingfromadifferentkernelfileintosingleusermodesubstitutetheotherfilesnameforvmunix.
Theisoptioniswhatspecifiessingleusermode.
HPUX>bootisvmunix>SystemMemory=4063MBloadingsection0
...................................................(complete)loadingsection1
........(complete)loadingsymboltableloadingSystemDirectory(boot.sys)to
MFS....loadingMFSFILESDirectory(bootfs)toMFS......Launching/stand/vmunix
SIZE:Text:25953K+Data:3715K+BSS:3637K=Total:33306KConsoleisonaSerial
DeviceBootingkernel...
http://docstore.mik.ua/manuals/hpux/en/59924616/ch02s01.html#bjabiggf

11/24

1/16/2016

BootingSystems

6. Ifyouareaccessingthesystemconsolethroughthemanagementprocessorandyouarenolonger
usingit,exittheconsoleandserviceprocessorinterfaces.
ToexittheEFIenvironmenttype^B(ControlB)thisexitsthenPartitionconsoleandreturnstothe
serviceprocessorMainMenu.Toexittheserviceprocessor,typeXattheMainMenu.
BootingintoLVM(orVxVM)MaintenanceMode
TheprocedureforbootingHPUXintoLVMMaintenanceModeisthesameasforbootingintosingleuser
mode(SeeBootingHPUXIntoSingleUserModeonHPIntegrityServersfordetails),exceptusethe
lmbootoptioninsteadoftheisbootoption:
HPUX>bootlmvmunix
ForVxVMMaintenanceModeuse:
HPUX>bootvmvmunix
BootingHPUXonHP9000(PARISC)Systems:DetailsandVariations
AStandardBoot(PARISCSystems)
HerearemoredetailsaboutwhathappensduringatypicalHPUXbootupsequenceonanHP9000
System.IfyouarebootinganHPIntegrityServerseeBootingHPUXonHPIntegrityServers:Detailsand
Variations.
1. Poweronexternaldevices:.Ifnecessary,turnonallexternalperipheralsanddevicesthatare
attachedtoyourcomputer(forexample,diskdrives,tapedrives,printers,terminals,busconverters).
Oncethedeviceshavecompletedtheirselfchecktests,proceedtothenextstep.
2. Poweronyoursystem(ornPartition):.TurnonorresetthecomputerornPartition.
SystemhardwareorhardwareassociatedwithannPartitionyouarebootingwillgothroughaseries
ofselfteststoverifythattheprocessors,memory,andothersystemcomponentsareinworking
order.
3. Bootdeviceselection:.Yoursystem(orthenPartitionyouarebooting)mustlocateakernelfileto
bootfrom.Therearetwopartstothesearch:
Part1
determinethehardwarepathtothebootdevice
Part2
determinewhichkernelfileonthehardwarepathtoboot(seeStep4)
Pathvariablesstoredinnonvolatilememorysetuptothreepossiblebootpathsfromwhichto
attemptaboot:
PRI
ThePRImarybootpathisthefirstbootpathtotry.Setthevalueofthispathtopointtothe
devicefromwhichyouwillbootmostoften.
HAA
TheHighAvailabilityAlternatebootpath,onsystemsthatsupportit,isthepathyouwant
yoursystemtobootfromshouldyourprimarybootpathfail.
ALT
TheALTernatebootpathisthehardwarepathtoanalternatebootsource(forexample,a
tapedrive,networkbasedbootsource,oropticaldiscdrive).
Onsomesystemsonlytheprimarybootpathisautomaticallytried.Onthosesystems,inorderto
bootfromthealternatebootpathyouneedtooverridethe10secondautobootdelay.
Onothersystems,firmwarecanbeconfiguredtoassociatevariousbootactionswitheachbootpath.
Thesebootactionsallowyoutotellthesystem:
whethertoattemptorignoreabootpath
ifunsuccessfulbootingfromabootpath,whetherornottotrythenextpathinthesequence
PRI>HAA>ALT
whetherornottousetheBootConsoleHandler(BCH)interface
Forinformationaboutthespecifichardwarepathsavailableonyoursystem,refertotheoutput
ofioscan(seeioscan(1M)fordetailsonhowtorunioscan).Also,somepathinformationis
physicallyprintedonyoursystem.
Usually,theprimarybootpathpointstothedevicefromwhichyoumostfrequentlybootandthat
deviceisavailable.
Oncethebootdevicehasbeeninitialized,PDC(firmwareroutines)accessaspeciallyformatted
http://docstore.mik.ua/manuals/hpux/en/59924616/ch02s01.html#bjabiggf

12/24

1/16/2016

BootingSystems

areaonthebootdevice,calledaLIFvolume.PDCloadstheInitialSystemLoader(ISL)intomemory
andtransferscontroltoit.
4. Kernelfileselection:.Ifuninterrupted(andiftheautobootflagisenabledSeeAutomaticVersus
ManualBooting)ISLwillloadandinitiatetheHPUXspecificbootloaderhpux.
5. LoadandinitiatetheHPUXoperatingsystem:.HPUXusesthecontentsoftheAUTOfileinthe
LIFareaonthebootdeviceto:
1. Locatethekernelfiletoboot.
2. LoadtheHPUXkernelintomemory.
3. InitiatetheHPUXkernel.
Typically,theAUTOfilecontains:
hpuxvmunix
whichtellshpuxtoloadthekernelfromthefilecalledvmunixfromthedefaultfilesystem(/stand
thefile/stand/vmunix).
6. HPUXgoesthroughitsinitializationprocessandbeginsnormaloperation.
AutomaticVersusManualBooting
PDCsetsupthebootandconsoledevicesusingtheBootConsoleHandler(BCH).WhichactionstheBCH
takesoncetheconsoleandbootdeviceshavebeeninitializeddependonwhetherornottheoperator
manuallyinterruptsanautoboot,andonthestateoftwoflagsinnonvolatile
memory:autobootandautosearch.
OverridinganAutomaticBoot
Tooverrideanautomaticboot,hitanykeyontheconsolekeyboardwithintheautobootdelayperiod
(usually10seconds).TheBootConsoleHandlerwilldisplayitsmainmenuandallowyoutointeractwithit.
Enabling/DisablingAutoboot
HP9000systemsrunningHPUXareusuallysetuptobootautomaticallywhentheirpoweristurnedon.
Thisisanimportantfeaturewhensystemsareinstalledinlocationsthatarenotalwaysattendedbyan
operatororsystemadministrator.Shouldthepowerfailatthecomputersite,thesystemcan(usually)reboot
itselfwithoutinputfromanoperator.Theautobootfeatureisalsoaconvenience.
Therearetimeswhenyoudonotwantsystemstoautomaticallybootthemselves,suchaswhenyouwantto
bootfromadifferentdeviceorkernelfile.SeeBootingfromanAlternateDeviceorBootingfroman
AlternateKernel.
Thefollowingtabledescribeshowtheautobootandautosearchflagsettingsaffectthebootsequence:
Table21HowautobootandautosearchFlagSettingsAffecttheBootSequence
autoboot

autosearch

BootType

Whathappens

OFF

OFF

ManualBoot

TheBCHinteractswiththeusertoobtainthe
bootabledevicepath

OFF

ON

BootSearch

TheBCHskipstheprimarypathandtries
alternatepath.Ifthealternatepathsarenot
configuredtobootorfail,theBCHinteractswith
theusertoselectone

ON

OFF

AutoBoot

TheBCHtriestheprimarybootpathifitisnot
bootable,theBCHinteractswiththeuserto
obtainabootabledevicepath

ON

ON

AutoSearch

TheBCHtriestheprimarybootpathifitisnot
bootable,theBCHtriesnextpath.

Tohaveyourcomputerbootitselfwhenpoweredonorreset,theautobootflagshouldbeenabled.
Torequireactionbyanattendanttobootthecomputer,theautobootflagshouldbedisabled.
SettingtheValueoftheautobootFlag
Thevaluesoftheautobootandautosearchflagscanbesetorchangedinseveralways:
Intheprebootenvironment,youcansetthemfromtheBootConsoleHandlersconfigurationmenu.
FromarunningHPUXsystemyoucanusethesetbootcommand.
Procedure211SettingAutobootandAutosearchFlagsUsingtheBootConsoleHandler
NOTE:StartingwithHPUX11iv3,thebootpathmaybespecifiedusingeitherthelegacy
http://docstore.mik.ua/manuals/hpux/en/59924616/ch02s01.html#bjabiggf

13/24

1/16/2016

BootingSystems

hardwarepathformatorthelunpathhardwarepathformatformassstoragedevices.Whenusing
thelunpathhardwarepathformat,afewthingsneedtobenoted.
Someelementsofthelunpathhardwarepath(thetargetaddressandtheLUNaddress)
mayhaveasizeupto64bits.TheBCHinterfacecanonlyhandleamaximumsizeof32
bits.Therefore,allelementsgreaterthan32bitsmustbeenteredinaspecialway.These
elementsmustbesplitintotwo32bitelementsandenteredas2elementsseparatedby
a.,forinstance,
thehwpath0/5/1/0.0x5000fe15001eead.0x4001000000000000wouldbeentered
as0/5/1/0.0x50001fe1.0x5001eead.0x40010000(lastnullelementomitted).
Note:ioscanNecanbeusedtogeneratethesplitformabove.
IntheBCHmenu,bootpathssettoalunpathhardwarepathwillbedisplayedusingthe
splitformdescribedabove.
Note:Fewoldersystemsdisplayelementsindecimalonly.Forthesesystems,theabove
pathwouldlooklike0/5/1/0.13242185441.134203917.1073807360.Usersneedto
converteachelementtoHEXtorecognizethetargetportandtheLUNaddress.
TheSearchcommandintheBCHmenubehavesthesamewayasonversionspriorto
HPUX11iv3anddoesnotdisplayanyinformationaboutthelunpathhardwarepaths.
Therefore,inordertoenteralunpathhardwarepath,theuserneedstoknowinadvance
thepathtoenterasitcannotbeselectedfromtheSearchmenu.

1. Afterpoweringonorresettingyourcomputer(ornPartition)takecontrolofthebootprocessby
hittinganykeyontheconsolekeyboardsothatautoboot/autosearchwillnotbootthesystem
automatically(iftheyarecurrentlyenabled).TheBootConsoleHandlerwilldisplayitsmainmenu.
TheBootConsoleHandler(BCH)willdisplayitsmainmenuandpromptforacommand:
MainMenu:Entercommand>
2. AccesstheBCHConfigurationmenubyenteringCOattheMainmenu,andsetthebootactionfor
eachbootpath,asdesired,byusingthePATHFLAGScommand.
AttheBCHConfigurationmenu,youcanlistthepathflags(bootactions)forallbootpathvariables
byenteringPATHFLAGSwithnoarguments
Tosetthebootactionforeachofthebootpaths,enterPATHFLAGSVARaction,whereVARisthe
bootpathVariable(PRI,HAA,ALT)andactionisthebootaction(0forgotoBCH,1forboot,if
fail,gotoBCH,2forboot,iffailtrynextpath,or3forskipthispath,trynextpath).
Forexample,toconfigurethesystemtobootfromthePRIdeviceor(ifPRIfailstoboot)theHAA
device,usethefollowingtwoBCHConfigurationcommands:PATHFLAGSPRI2andPATHFLAGS
HAA1,asshownbelow:
ConfigurationMenu:Entercommand>PATHFLAGSPRI2PrimaryBoothPath
ActionBootActions:Bootfromthispath.Ifunsuccessful,
gottothenextpath.ConfigurationMenu:Entercommand>PATHFLAGSHAA1HA
AlternateBootPathActionBootActions:Bootfromthispath.
Ifunsuccessful,gotonextpath.ConfigurationMenu:
Entercommand>
Forotherhelpinsettingpathflags,enterHELPPATHFLAGSattheBCHConfigurationmenu
prompt.
SettingAutobootandAutosearchFlagsUsingtheHPUXsetbootCommand.Youcansetthevaluesof
theautobootandautosearchflagsfromarunningHPUXsystem.Todothis,usethesetbootcommand
(seesetboot(1M)forcompletedetails).
Example29EnablingtheAutobootFlagUsingsetboot
/usr/sbin/setbootbon
Example210DisablingtheAutobootFlagUsingsetboot
/usr/sbin/setbootboff
Example211EnablingtheAutosearchFlagUsingsetboot
/usr/sbin/setbootson
Example212DisablingtheAutosearchFlagUsingsetboot
/usr/sbin/setbootsoff
ChangingthePRI,HAA,andALTBootPaths
HP9000systemsallowyoutodefineaprimarybootpathandanalternatebootpath,andinmanycasesa
http://docstore.mik.ua/manuals/hpux/en/59924616/ch02s01.html#bjabiggf

14/24

1/16/2016

BootingSystems

highavailabilityalternatebootpath.
Theprimarybootpathallowsautoboottoworkproperly,andallthreedefinitionsallowyoutoeasilyrefer
tothecorrespondinghardwarepathswhenyouneedto(forexample,intheBootConsoleHandleryoucan
usethecommandbootalttobootfromthehardwaredeviceassociatedwiththeALTbootpath).
YoucanmanagethebootpathsusingthesetbootcommandwhenHPUXisrunning,orbyusingtheBoot
ConsoleHandlerinterfaceinaprebootenvironment.
SettingthePRI,HAA,andALTBootPathsusingtheHPUXsetbootcommand:Whenyouusesetbootto
configuretheprimary(PRI),highavailabilityalternate(HAA),oralternate(ALT)bootpaths,thenewdevice
paththatyouspecifyreplacestheoriginalbootoptionsetting.
NOTE:Thebootdevicepaththatyouspecifyinthesetbootcommand(pathinthefollowing
examples)mustbeavalidHPUXhardwarepathtoabootableHPUXdevice.
StartingwithHPUX11iversion3,thepersistentDSFnameandthelunpathhardwarepathare
validentriestothesetbootcommand,inadditiontothelegacyhardwarepath.Regardlessofthe
typeofargumentpassedininputtosetboot,setbootstoresinstablestorageanddisplaysin
outputanactivelunpathhardwarepathtothedevice.Thislunpathhardwarepathmaybe
automaticallyreplacedbyanotheractivelunpathuponfailureoftheinitiallyconfiguredlunpath.
Formoredetails,seethesetboot(1M)inHPUX11iv3whitepaperlocatedonHPstechnicalweb
site:http://docs.hp.com.
Usethesetbootppathcommand,wherepathisalegacyhardwarepath,tosettheprimaryboot
path,forexample:
/usr/sbin/setbootp0/0/2/0/0.6
Usethesetboothpathcommandwherepathisalunpathhardwarepath,tosetthehigh
availabilityalternatebootpath,forexample:
/usr/sbin/setbooth0/5/1/0.0x50001fe15001eead.0x4001000000000000
Usethesetbootapathcommand,wherepathisapersistentDSF,tosetthealternatebootpath,
forexample:
/usr/sbin/setboota/dev/disk/disk13
Procedure212SettingthePRI,HAA,andALTBootPathsUsingtheBootConsoleHandler
NOTE:AfewoldersystemsdisplayelementsinHEX.Thesesystemsaretherp4440,rp3440,
rp3410,andHP9000Superdomeservers.
1. Afterpoweringonorresettingyourcomputer(ornPartition)takecontrolofthebootprocessby
hittinganykeyontheconsolekeyboardsothatautoboot/autosearchwillnotbootthesystem
automatically(iftheyarecurrentlyenabled).TheBootConsoleHandlerwilldisplayitsmainmenu.
TheBootConsoleHandler(BCH)willdisplayitsmainmenuandpromptforacommand:
MainMenu:Entercommand>
2. EnteroneofthefollowingBCHcommands(dependingonyourneeds):
Example213SettingthePRI(PrimaryBootPath)UsingtheBCH
Example:Settheprimarybootpathaddressto0/0/0/2/0.5
MainMenu:EnterCommand>papri0/0/0/2/0.5
TIP:Intheabovecommandpaisashortcutforthepathcommand.IntheBoot
ConsoleHandlerinterface,youcanoftenabbreviatecommandsandoptions(prifor
primary).SeethehelpsystemintheBCHinterfaceforacceptableabbreviations.
Example214SettingtheHAA(HighAvailabilityAlternateBootPath)UsingtheBCH
Example:Setthehighavailabilityalternatebootpathaddressto0/0/0/3/1.6
MainMenu:EnterCommand>pahaa0/0/0/3/1.6
Example215SettingtheALT(AlternateBootPath)UsingtheBCH
Example:Setthealternatebootpathaddressto0/0/0/3/0.6
MainMenu:EnterCommand>paalt0/0/0/3/0.6
Example216SettingtheALT(AlternateBootPath)UsingtheBCH
Example:Setthealternatebootpathaddresstothelunpathhardwarepath
0/0/0/3/0.0x50001fe15001eead.0x4001000000000000
http://docstore.mik.ua/manuals/hpux/en/59924616/ch02s01.html#bjabiggf

15/24

1/16/2016

BootingSystems

MainMenu:EnterCommand>paalt
0/0/0/3/0.0x50001fe1.0x5001eead.0x40010000
BootingPARISCSystemsfromanAlternateBootSource
Abootsourceconsistsoftwoparts:
Abootdevicecontainingafilesystemwherekernelfilesarestored.
Akernelfilecontainingthekerneltoboot.
Yourprimarybootsourceisakernelfileonyourprimarybootdevice.Thisiswhere(ifyoursystemissetup
forautomaticbooting)yoursystemwillbootfromduringanautoboot.
Youcanoverridewhereyoursystembootsfrombymanuallyinterruptingtheautomaticbootandspecifying
adifferentbootdeviceoradifferentkernelfileonyourprimarybootdevice.
BootingfromanAlternateDevice
Therearetimeswhenyouwillneedtobootfromadeviceotherthanthedevicethatyounormallybootfrom.
Forexample,ifyourprimarybootdiskfails,youmightneedtobootyoursystemeitherfromadifferentdisk
orfromarecoverytape.
Procedure213UsingtheBootConsoleHandlertoBootfromanAlternateBootDevice
1. Afterpoweringonorresettingyourcomputer(ornPartition)takecontrolofthebootprocessby
hittinganykeyontheconsolekeyboardsothatautoboot/autosearchwillnotbootthesystem
automatically(iftheyarecurrentlyenabled).TheBootConsoleHandlerwilldisplayitsmainmenu.
TheBootConsoleHandler(BCH)willdisplayitsmainmenuandpromptforacommand:
MainMenu:Entercommand>
2. UsetheBCHbootcommandtospecifywhereyouwanttobootthesystemfrom.
YoucanissuetheBOOTcommandinanyofthefollowingways:
BOOT
IssuingtheBOOTcommandwithnoargumentsbootsthedeviceattheprimary(PRI)boot
path.
BOOTbootvariable
Thiscommandbootsthedeviceindicatedbythespecifiedbootpath,
wherebootvariableisthePRI,HAA,orALTbootpath.
Forexample,BOOTHAAbootsthehighavailabilityalternatebootpath.
BOOTLANINSTALLorBOOTLAN.ipaddressINSTALL
TheBOOT...INSTALLcommandsbootthesystemfromanyavailableIgniteserverorfrom
theIgniteserverspecifiedbyIPaddress.Formoreinformationonwhathappenswhendoing
aninstallationboot,seetheIgniteUXInstallationBootingwhitepaperavailableonHPs
technicaldocumentationwebsite:
http://docs.hp.com
BOOTpath
Thiscommandbootsthedeviceatthespecifiedpath.YoucanspecifythepathinHPUX
hardwarepathnotation(forexample,0/0/2/0/0.13)orinpathlabelformat(for
example,P0orP1).
NOTE:Ifyouspecifythepathinpathlabelformatthenpathreferstoadevice
pathreportedbythelastBCHSEARCHcommand.
Example217BootfromthebootdevicespecifiedintheALTbootpath
MainMenu:Entercommandormenu>bootalt
Example218Bootfromthebootdevicespecifiedathardwareaddress0/0/2/0/0.14:
MainMenu:Entercommandormenu>boot0/0/2/0/0.14
Example219BootfromthebootdevicespecifiedatpathlabelP2:
MainMenu:Entercommandormenu>search
PATH#DevicePath(dec)DeviceType
P00/0/2/0/0.13RandomaccessmediaP1
0/0/2/0/0.14RandomaccessmediaP2
http://docstore.mik.ua/manuals/hpux/en/59924616/ch02s01.html#bjabiggf

16/24

1/16/2016

BootingSystems

0/0/2/0/0.0Randomaccessmedia
MainMenu:Entercommandormenu>bootP2
Example220BootfromthedefaultHPUXinstallserver
MainMenu:Entercommandormenu>bootlan
Example221BootfromtheHPUXinstallserverat192.nn.xx.yyy
MainMenu:Entercommandormenu>bootlan.192.nn.xx.yyINSTALL
BootingfromanAlternateKernel
Ifyouhavebuiltanewkernel,orhaveanalternatekernelfilethatyouwanttobootfrom:
BootfromthedevicecontainingthealternatekernelfileusingtheBOOTcommandfromtheBCH
interface.
AfteryouissuetheBOOTcommand,theBCHinterfacepromptsyoutospecifywhetheryouwantto
stopattheISLprompt.
TobootthefromtheHPUXkernelfilerepresentedintheAUTOfileonthebootdevicewithout
stoppingattheISLprompt,enterntoautomaticallyproceedpastISLandexecutethecontentsof
theAUTOfileontheselecteddevice.BydefaulttheAUTOfileisconfiguredto
load/stand/vmunixthoughyoucanchangethat(SeeChangingtheContentsoftheAutoexecute
File).
MainMenu:Entercommandormenu>BOOTPRIPrimaryBootPath:0/0/1/0/0.15
DoyouwishtostopattheISLpromptpriortobooting?(y/n)>>nISLbooting
hpuxBoot:disk(0/0/1/0/0.15.0.0.0.0.0;0)/stand/vmunix
TobootanHPUXkernelotherthanthatwhichispointedtointheAUTOfile,ortobootHPUXin
singleuserorLVMmaintenancemode,stopattheISLpromptandspecifytheappropriate
argumentstothehpuxloader.
SpecifytheHPUXpathnameofthealternatekernelfilethatyouwanttobootaspartof
thedevicefileargumentinthehpuxbootcommand.Forexample:
ISL>hpuxbootdisk(1/0/12/1/1.5.0)/stand/alt_kernel_file_name
ChangingtheContentsoftheAutoexecuteFile
OnHP9000systems,animportantpartofwhatmakesanautomaticbootpossibleisafileknownas
anautoexecutefilethatcontainsthecommandthatyounormallyusetoboottheHPUXoperatingsystem
(thehpuxcommandthatyouwouldenterattheISL>prompt).Thecontentsofthisfileareusedduringthe
bootprocesswhensomeorallofthehpuxcommandelementshavebeenomittedfromthecommandgiven
toISL,asinthecaseofautomaticbooting.
TheautoexecutefileisnotlocatedinanyHPUXfilesystembecauseitscontentsareneededbeforeHP
UXisrunning(beforeHPUXcanaccessitsfilesystems).Instead,theautoexecutefile,calledAUTO,is
locatedintheLIFarea(sometimescalledthebootarea)ononeofyourbootabledisks.Thisistheareais
whereISLitselfresides.
YourarelyneedtochangethecontentsoftheAUTOfile.However,thereareoccasionswhenyoumight
wantto,suchaswhenyoucreateanewkernelfile(withanameotherthanthedefault,/stand/vmunix)
thatyouregularlywanttobootfrom,ortobootfromadeviceonadifferentdiskfromwhereISLresides.
TocreatenewcontentsfortheAUTOfile,usethe/usr/sbin/mkbootcommand:
mkboota"contentsofautofile"device_file_name
Example:
mkboota"hpuxdisc(8.0.10)/stand/vmunix.new"/dev/rdsk/c0t0d0
Seemkboot(1M)fordetails.
TodisplaytheAUTOfilewhenHPUXisrunning,enter:
/usr/bin/lifcp/dev/rdsk/c0t0d0:AUTO
YoucanalsodisplaythebootcommandstringintheAUTOfileattheISL>prompt:

http://docstore.mik.ua/manuals/hpux/en/59924616/ch02s01.html#bjabiggf

17/24

1/16/2016

BootingSystems

ISL>lsautofl
BootingintoSingleUserMode
Ifyouneedtobootasystemintosingleusermode,forexampletomakesurenooneelselogsonwhenyou
bootthesystemtodomaintenancework:
1. Afterpoweringonorresettingyourcomputer(ornPartition)takecontrolofthebootprocessby
hittinganykeyontheconsolekeyboardsothatautoboot/autosearchwillnotbootthesystem
automatically(iftheyarecurrentlyenabled).TheBootConsoleHandlerwilldisplayitsmainmenu.
TheBootConsoleHandler(BCH)willdisplayitsmainmenuandpromptforacommand:
MainMenu:Entercommand>
2. BootthedesireddeviceusingtheBOOTcommandattheBCHinterface,andspecifythattheboot
processstopattheISLprompt(replyytothestopattheISLpromptquestion).
MainMenu:Entercommandormenu>BOOTALTAlternateBootPath:0/0/0/3/0.6Do
youwishtostopattheISLpromptpriortobooting?(y/n)>>yInitializingboot
Device.BootIODependentcode(IODC)Revision2BootPathInitialized.HARD
Booted.ISLRevisionA.00.44Mar12,2003ISL>
3. FromtheISLprompt,issuetheSecondarySystemLoader(hpux)commandtoboottheHPUX
kernelinsingleusermode:
Example222BootHPUXinsingleusermodeonanHP9000System:
ISL>hpuxisboot/stand/vmunix
ToexittheISLpromptandreturntotheBCHinterface,issuetheEXITcommandinsteadof
specifyingtheabovehpuxloadercommand.
Refertothehpux(1M)manpageforadetailedlistofotherhpuxloaderoptions.
Example223ExampleSingleUserHPUXBoot
ISLRevisionA.00.44Mar12,2003ISL>hpuxis/stand/vmunixBoot:
disk(0/0/2/0/0.13.0.0.0.0.0;0)/stand/vmunix8241152+1736704+1402336start
0x21a0e8....INIT:OverridingdefaultlevelwithlevelsINIT:SINGLEUSER
MODEINIT:Running/sbin/sh#
Thesystemwillbootintosingleusermodewatchfortheconfirmationmessages:
INIT:Overridingdefaultlevelwithlevel`s'
INIT:SINGLEUSERMODE
4. Ifyouaccessedthesystemconsoleandserviceprocessor(managementprocessor)interfacesviaa
network,exittheconsoleandserviceprocessorinterfacesiffinishedusingthem.
ToexittheBCHenvironmenttype^B(ControlB)thisexitsthenPartitionorsystemconsoleand
returnstotheserviceprocessorMainMenu.Toexittheserviceprocessor,typeXattheMainMenu.
BootingintoLVMMaintenanceMode
TobootHPUXinLVMMaintenancemodefollowtheprocedureforbootingHPUXintosingleusermode
(SeeBootingintoSingleUserMode):
ISL>hpuxlmboot
Theboot/rootlogicalvolumesaretheonlylogicalvolumesthatareinaknownplacewhenyourLVM
configurationdatahasbeenlost.Maintenancemodeisusefulonsuchsystemsifastandardboothasfailed
duetoLVMconfigurationproblems.YoumustresolvetheLVMconfigurationproblemandthenreboot.
CAUTION:Whenyoubootyoursysteminmaintenancemode,donotactivatetherootvolume
groupanddonotchangetomultiusermode(forexample,byspecifying/sbin/init2).Ifyoudo,
youmightcorrupttherootfilesystem.
WhenyouhaverepairedorrestoredtheLVMconfigurationinformation,rebootthesystemusing
therebootcommandwiththenoption.Thisavoidsoverwritingyourdiskbasedrepairswiththe
oldinformationstillstoredinmemorybuffers.
/usr/sbin/rebootn
YoucanfindmoreinformationaboutLVMinHPUXSystemAdministratorsGuide:LogicalVolume
Management.
http://docstore.mik.ua/manuals/hpux/en/59924616/ch02s01.html#bjabiggf

18/24

1/16/2016

BootingSystems

SpeedingtheBoot:SpeedyBoot
OnmanyHPIntegrityServersandHP9000Systems,afirmwarebasedfeaturecalledSpeedyBootallows
youtobypasssomeoftheboottimesystemtestsinordertobootyoursystemmorequickly.
NOTE:HPrecommendsthatallselftestsbeperformed,butrecognizestheneedtohaveyour
systemavailableasquicklyaspossible.
Ifyouareconfidentthatyoursystemhardwareisfunctioningproperly,youmaychoosetoskipcertainboot
timesystemtestsinfavorofhavingyoursystembootupmorequickly.
TheSpeedyBootfeaturesofyoursystemallowyoutospecifywhichteststoperform(orskip)andwhetherto
dothisonlyforthenextbootorforthenextandallsubsequentboots.Thereareseveralwaystodefine
whichtestsareperformed.Whichyouusedependson:
whetheryoursystemisrunningornotwhenyouconfigureSpeedyBootsettings
whetheryoursystemisanHPIntegrityServeroranHP9000System[1]
whetheryouwanttoconfiguretheSpeedyBootsettingsforonlythenextbootorforallsubsequent
bootsaswell
whichreleaseofHPUXyouarerunning(ifyouconfigureitusingthesetbootcommand)
SpeedyBootisachievedbyreducingthenumberoffirmwareteststhatareperformedatboottime.You
specifywhichtestsareperformed.Thetestsinclude:
earlyCPUtests
lateCPUtests
memoryinitialization(HPIntegrityServersonly)
fullmemorytests
platformdependenttests(HPIntegrityServersonly)
I/Ohardwaretests(HPIntegrityServersonly)
processorhardwaretests(HP9000Systemsonly)
centralelectroniccomplextests(HP9000Systemsonly)
chipsettests(HPIntegrityServersonly)
Youcanbeindependentlyspecifywhichtestswillbeperformed:
forthenextbootonly
forallsubsequentboots
ThetestsaredescribedinSystemBootTests.
NOTE:Byturningoffsomeoralloftheboottests,youcanshortenboottime,perhaps
significantly.However,intheeventofasystempanicorbootfailure,alltestswillbeexecutedon
thesubsequentboot.
SystemBootTests
Whenyoursystemboots,itperformsthetestsdescribedinTable22.Thesearekeywordsforthehardware
teststhatareexecutedbyprocessordependentcode(PDC)orfirmwareuponabootorrebootofthe
system.
Table22SpeedyBootTests
TestName

Values

Description

all

on
off
partial

Allthelistedtests.

SELFTESTS

on
off
partial

Includestheearly_cpuandlate_cputests.Thisisequivalent
totheSELFTESTSoptioninthebootconsolehandler(BCH)
servicemenu.Thedifferenceisthatsetbootcancontrolthesub
testsseparately,whileBCHcannot.

early_cpu

on
off

Whenon,runfirmware,cache,andCPUspecifictests.
Performedoutoffirmware.Whenoff,skipthetests.

late_cpu

on
off

Whenon,runfirmware,cache,andCPUspecifictests.
Performedoutofmemoryandthereforefasterthan
theearly_cputests.Whenoff,skipthetests.

FASTBOOT

on
off

Includesthefull_memoryandPDHtestsonHP9000Systems
(PARISC).IncludesthePlatformandFull_memorytestsonHP

http://docstore.mik.ua/manuals/hpux/en/59924616/ch02s01.html#bjabiggf

19/24

1/16/2016

BootingSystems

partial

IntegrityServers.ThisisequivalenttotheFASTBOOToptioninthe
bootconsolehandler(BCH)servicemenu.Thedifferenceis
thatsetbootcancontrolthesubtestsseparately,whileBCH
cannot.Note:WhenFASTBOOTison,thetestsareperformed,
andviceversa.

on
off

Whenon,runwrite,readwrite,andreadtestsonallmemory
locations.Whenoff,onlyinitializememory.Supportedonlyon
HP9000(PARISCbased)systems.

Platform

on
off

Whenon,enablesgeneralplatformhardwaretests.Whenoff,
donotperformplatformhardwaretests.SupportedonlyonHP
IntegrityServers.

Full_memory

on
off

Whenon,enablesfulldestructivememorytests.Whenoff,do
notperformfulldestructivememorytests.SupportedonlyonHP
IntegrityServers.

PDH

on
off

Processordependenthardware.Whenon,testachecksumof
readonlymemory(ROM).Whenoff,donot.

CEC

on
off

Centralelectroniccomplex.Whenon,testlowlevelbus
convertersandI/Ochips.Whenoff,donot.

full_memory
(Notelowercasef)

(NoteUppercaseF)

CECisnotavailableonallsystems.
Memory_init

on
off

Whenon,enablesfulldestructivememorytests.Whenoff,do
notperformfulldestructivememorytests.SupportedonlyonHP
IntegrityServers.

IO_HW

on
off

IOhardwaretests.Whenon,enablessystemfirmware(orEFI
drivers)toperformallthetestsofIOhardware(forbootdevices
only).Whenoff,donotperformthesetests.Supportedonlyon
HPIntegrityServers.

Chipset

on
off

Whenon,enableschipsettests.Whenoff,donotperformchipset
tests.SupportedonlyonHPIntegrityServers.

ViewingyourSystemsSpeedyBootSettings
Ifyoursystemiscurrentlybooted,youcandisplaytheSpeedyBootsettingsusingthevoptiontothe
setbootcommand:
Example224DisplayingCurrentSpeedyBootSettingsforyourSystem(HP9000sampleoutput)
setbootv
TESTCURRENTSUPPORTEDDEFAULTNEXTBOOT

allpartialpartialpartialpartial
SELFTESTSpartialyesonpartial
early_cpuoffyesonoff
late_cpuonyesonon
FASTBOOTpartialyesonpartial
full_memoryoffyesonoff
PDHonyesonon
CECoffnooffoff
Example225DisplayingCurrentSpeedyBootSettingsforyourSystem(HPIntegrityServersample
output)
setbootv
Primarybootpath:<none>HAAlternatebootpath:0/0/0/1/0Alternatebootpath:
<none>AutobootisON(enabled)TESTCURRENTDEFAULTall
partialpartialSELFTESTSononearly_cpuononlate_cpuononFASTBOOT
ononPlatformononFull_memoryononMemory_initononIO_HWoffoff
Chipsetonon
Table23SpeedyBootStatusTableHeaders
Column

Description

Test

ThekeywordnamesoftheteststhatcanbecontrolledbySpeedyBoot.
SeeTable22.

Current

Thecurrentsettingofeachtest.onmeansthetestisnormallyexecutedoneach
boot.offmeansthetestisnormallyomittedoneachboot.partialmeanssome
ofthesubtestsarenormallyexecutedoneachboot.

Supported

Whetherthetestissupportedbythesystemfirmware.yesmeansthetestis

http://docstore.mik.ua/manuals/hpux/en/59924616/ch02s01.html#bjabiggf

20/24

1/16/2016

BootingSystems

supported.nomeansthetestisnotsupported.partialmeanssomeofthe
subtestsaresupported.
Default

Thedefaultvaluesforeachtest.on,off,andpartialarethesameas
forCurrent.

NextBoot

Thevaluesforeachtestthatwillbeusedonthenextboot.Iftheyaredifferent
fromCurrent,theCurrentvalueswillbereestablishedafterthenextboot.on,off,
andpartialarethesameasforCurrent.

ConfiguringBootTimeSystemTestsfromtheBCHMenu(HP9000SystemsOnly)
FromtheBCHConfigurationMenuusetheFASTBOOTcommandtoconfigureSpeedyBootsettingsfora
system(ornPartition).
1. AccessthesystemconsoleforyoursystemornPartitionandresetthepartitiontoreturntotheBCH
MainMenu.
Afterpoweringonorresettingyourcomputer(ornPartition)takecontrolofthebootprocessby
hittinganykeyontheconsolekeyboardsothatautoboot/autosearchwillnotbootthesystem
automatically(iftheyarecurrentlyenabled).TheBootConsoleHandlerwilldisplayitsmainmenu.
2. AttheBCHMainMenu,enterthecocommandtoentertheBCHConfigurationMenu.
3. AttheBCHConfigurationMenuusetheFASTBOOTcommandtolistorconfiguretheSpeedyBoot
settings.
EnterFASTBOOTwithnoargumentstodisplaythecurrentSpeedyBootsettingsforyoursystemor
nPartition.
NOTE:HPrecommendsthatallselftestsbeperformed,butrecognizestheneedtohave
yoursystemavailableasquicklyaspossible.
Toenablealltests,usetheFASTBOOTRUNcommandattheBCHConfigurationmenu.
Todisableanindividualtest,enter:FASTBOOTtestSKIP,wheretestisthenameoftheselftest
(PDH,EARLY,orLATE).
Toenableanindividualtest,enter:FASTBOOTtestRUN.
Fordetailsonsettingselftests,enter:HELPFASTBOOTattheBCHConfigurationMenu
4. RepeatStep3untilthesettingsreflectyourdesiredsettings,thenrebootyoursystem.
ConfiguringBootTimeSystemTestsfromtheEFIShell(HPIntegrityServersOnly)
FromtheEFIShellenvironmentusetheboottestcommandtomanagetheSpeedyBootsettingsfora
system(ornPartition).
1. AccesstheEFIShellenvironmentforyoursystem(orthenPartitionyouwanttoconfigure).
ToaccesstheEFIShell,rebootorresetyoursystem(ornPartition).Interrupttheautomaticboot
processifnecessaryandusetheup/downarrowkeystohighlighttheEFIShellmenuitemand
hitEntertoselectit.
2. IntheEFIShellenvironmentusetheboottestcommandtolist,enable,ordisableboottimesystem
testsforyoursystem(ornPartition).
Todisplaythelistofsupportedboottimesystemtests,entertheboottesthcommandattheEFI
Shellprompt:
Shell>boottesth
Usage:BOOTTEST[on|off]|[[test][on|off]]test:early_cpu,late_cpu,
platform,chipset,io_hw,mem_init,mem_testShell>
Youcanenableordisableanyoftheboottimesystemtestsbyspecifyingthenameofthetestto
asanargumenttoboottest.
Inthefollowingboottestcommandsynopsistestnameisoneofthefollowingsystemtests:
early_cpu
late_cpu
platform
chipset
http://docstore.mik.ua/manuals/hpux/en/59924616/ch02s01.html#bjabiggf

21/24

1/16/2016

BootingSystems

io_hw
mem_init
mem_test
boottest
Displaythecurrentboottimesystemtestconfiguration
boottesttestname
Displaythecurrentsettingforthespecifiedtest(testname).Forexample:boottest
mem_testdisplaysthememoryselftestsettings.
bootteston
Enableallboottimesystemtests.HPrecommendsthisbutrecognizesyourneedsmay
requiredisablingsomeboottimesystemtests.
boottestoff
Disableallboottimesystemtests.Disablingallselftestsisusuallynotrecommended.
boottesttestnameon
Enablethespecifiedtest(testname).Forexample:boottestio_hwonenablesthe
boottimeI/Ohardwareselftests.
boottesttestnameoff
Disablethespecifiedtest(testname).Forexample:boottestChipsetoffdisablesthe
Chipsetboottimesystemtest.
3. RepeatStep2untilthesettingsreflectyourdesiredsettings,thenrebootyoursystem.
ConfiguringBootTimeSystemTestsfromaBootedSystem
SpeedyBoottestsareconfiguredwiththreesetbootoptions:
v
DisplaysastatustableoftheSpeedyBoottestsettings.
ttestname=value
Changethevalueforthetesttestnameinnonvolatilememorytovalueforallfollowingboots.
ThechangesarereflectedintheCurrentandNextBootcolumnsoftheSpeedyBoottable.
testname
Oneofthefollowingkeywords,asdescribedinTable22:
all
SELFTESTS
early_cpu
late_cpu
FASTBOOT
full_memory
PDH
CEC
value
Oneof:
on
Enablethetest.
off
Disablethetest.
default
Resetthetesttothesystemdefault,whichisshownintheDefaultscolumnof
theSpeedyBoottable.
NOTE:Thetoption(lowercaset)issupportedonlyonHP9000Systems.Tochange
SpeedyBootsettingsforallsubsequentbootsonanHPIntegrityServer,usethepre
bootenvironment,theEFIshell.SeeConfiguringBootTimeSystemTestsfromtheEFI
Shell(HPIntegrityServersOnly)fordetails.
Ttestname=value
Changethevalueforthetesttestnameforthenextsystembootonly.Thechangesarereflected
intheNextBootcolumnoftheSpeedyBoottable.Thechangedoesnotmodifynonvolatile
memory,sothepermanentvalues,shownintheCurrentcolumn,arerestoredafterthe
http://docstore.mik.ua/manuals/hpux/en/59924616/ch02s01.html#bjabiggf

22/24

1/16/2016

BootingSystems

boot.testnameandvaluearethesameasforthetoption.
UsingsetboottoConfigureSpeedyBootSettings
ThefollowingextendedexampleshowstheresultsofvariouschangesontheSpeedyBootstatustable.Itis
agoodideatoincludethevoptionineachcommandsothatthetableisdisplayedafterthechangesare
made.
Letsstartoffinthedefaultstate(CECisnotsupportedinthisexamplesystem,soitsdefaultisoff,andit
cantbechanged.)
#setboottall=defaultvPrimarybootpath:10/0.0.0
Alternatebootpath:10/12/5.0.0AutobootisON(enabled)AutosearchisOFF(disabled)
TESTCURRENTSUPPORTEDDEFAULTNEXTBOOT

allpartialpartialpartialpartial
SELFTESTSonyesonon
early_cpuonyesonon
late_cpuonyesonon
FASTBOOTonyesonon
full_memoryonyesonon
PDHonyesonon
CECoffnooffoff
Ifyouhavetobootthesystemanumberoftimesduetosomesortofinstallationorupdate,youcanspeedit
upifyouturnallthetestsoff:
#setboottall=offvPrimarybootpath:10/0.0.0Alternatebootpath:10/12/5.0.0
AutobootisON(enabled)AutosearchisOFF(disabled)
TESTCURRENTSUPPORTEDDEFAULTNEXTBOOT

alloffpartialpartialoff
SELFTESTSoffyesonoff
early_cpuoffyesonoff
late_cpuoffyesonoff
FASTBOOToffyesonoff
full_memoryoffyesonoff
PDHoffyesonoff
CECoffnooffoff
Now,letschangetheprevioustosetthenormalboottodoonlythelate_cpuandthefull_memorytests,
skippingtheslowerearly_cputestsandthePDHtests:
#setboottlate_cpu=ontfull_memory=onvPrimarybootpath:10/0.0.0
Alternatebootpath:10/12/5.0.0AutobootisON(enabled)AutosearchisOFF(disabled)
TESTCURRENTSUPPORTEDDEFAULTNEXTBOOT

allpartialpartialpartialpartial
SELFTESTSpartialyesonpartial
early_cpuoffyesonoff
late_cpuonyesonon
FASTBOOTpartialyesonpartial
full_memoryonyesonon
PDHoffyesonoff
CECoffnooffoff
Finally,letssetupthenextboottotesteverything,andthentestonlylate_cpuonsubsequentboots.
#setboottfull_memory=offTall=onvPrimarybootpath:10/0.0.0
Alternatebootpath:10/12/5.0.0AutobootisON(enabled)AutosearchisOFF(disabled)
TESTCURRENTSUPPORTEDDEFAULTNEXTBOOT

allpartialpartialpartialpartial
SELFTESTSpartialyesonon
early_cpuoffyesonon
late_cpuonyesonon
FASTBOOTpartialyesonon
full_memoryonyesonon
PDHoffyesonon
CECoffnooffoff
BreakingOutoftheBootScreen
AnHPUXsystemdisplaysaninformationalscreenasitboots,showingwhatsubsystemsarebeingstarted.
http://docstore.mik.ua/manuals/hpux/en/59924616/ch02s01.html#bjabiggf

23/24

1/16/2016

BootingSystems

Normally,youshouldnottouchthekeyboarduntilyouarepromptedtologin,butoccasionally,ifsomething
hasgonewrong(forexampleifacriticalsubsystemhasfailedtostartforsomereason)youmaywantto
aborttheboot.Youcandothisbyentering
Control|
CAUTION:Youshouldnowshutdownthesystemimmediately.

[1]

SpeedyBootonHP9000SystemsissupportedonlyonsystemswithfirmwarethatsupportstheBoot
ConsoleHandler(BCH).Someolderplatformscanbeupgradedwithnewfirmwarethatsupports
SpeedyBoot.

http://docstore.mik.ua/manuals/hpux/en/59924616/ch02s01.html#bjabiggf

24/24

Vous aimerez peut-être aussi