System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove entry from setboot ?

Jerry_109
Super Advisor

How to remove entry from setboot ?

HP-UX B.11.31 U ia64 hp server rx764
###########################

How do I remove "HA Alternate bootpath" from setboot ?

# setboot
Primary bootpath : 1/0/0/3/0.0x6.0x0 (/dev/rdisk/disk3)
HA Alternate bootpath : 1/0/4/1/0/6/1 (LAN Interface)
Alternate bootpath : 1/0/1/1/0/4/1.0x6.0x0 (/dev/rdisk/disk5)

Autoboot is ON (enabled)
Hyperthreading : ON
: ON (next boot)
5 REPLIES
sujit kumar singh
Honored Contributor

Re: How to remove entry from setboot ?

Hi Jerry,


not sure hoe can u remove the HAA alternate entry totally but u can put the alternate entry map to it.

#setboot -a /dev/rdisk/disk3 -b on

This shall help ur alternate boot that is present to point to the HA Altenate.

Other thing is that if u can access the EFI shell when u next time reboot the server from EFI Boot options maintenance menu u can change the priorities of the boot settings.

Let me loom out at few more places.


Sujit

sujit kumar singh
Honored Contributor

Re: How to remove entry from setboot ?

hello Jerry



Slight modification in earlier post with the command option for setboot


#setboot -h /dev/rdisk/disk3 -b on

This shall help ur alternate boot that is present to point to the HA Altenate.

Sorry for the error.

Sujit

Johnson Punniyalingam
Honored Contributor

Re: How to remove entry from setboot ?

Hi Jerry,

Once its set the first time, you cannot null it out again. To my knowledge

you need to rebuilt the machine to clear,

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
Matti_Kurkela
Honored Contributor

Re: How to remove entry from setboot ?

This is an Itanium machine, so the list of boot paths is managed by the EFI configuration.

EFI allows an unlimited number of boot settings; it's just the HP-UX "setboot" tool that specifies three boot paths. This is to emulate the behaviour of older PA-RISC hardware.

In PA-RISC world, the standard solution would be to set the unwanted boot path to a copy of some valid boot path.

With the EFI of the Itanium machines, there may be other ways, depending on your system firmware version. At least with the BL860c Itanium blades you can interrupt the automatic boot and access a boot menu editor, which can add and delete boot menu options at will.

HP-UX setboot command only recognizes the first three boot options and names them "primary", "HA alternate" and "alternate", though.

MK
MK
sujit kumar singh
Honored Contributor

Re: How to remove entry from setboot ?

ya the only way o reemove the boot entries would be only from the EFI ... Thinks so ..

From the OS ince u have set the boot entries u can change only ...


any other suggestions are welcome ....


Sujit