- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Auto_adm and Modifying Kernel Prompt
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2005 08:38 PM
04-10-2005 08:38 PM
Auto_adm and Modifying Kernel Prompt
But every time i make an alteration ignite will not boot from it.
Ive listed what i do below in the hope someone can tell me what i am doing wrong.
/opt/ignite/boot/boot_lif is the default bootlif i use.
lifcp boot_lif:AUTO -
hpux KernelPrompt "Choose Operating System to Install :" 120 1
reset
"target OS is B.11.00" boot (;0)/boot/Rel_B.11.00/INSTALL
"target OS is B.11.11" boot (;0)/boot/Rel_B.11.11/INSTALL
"target OS is B.11.23 PA" boot (;0)/boot/Rel_B.11.23/WINSTALL
"Exit" reboot
I want to reduce the timeout to 60 and set the default to 2.
lifcp boot_lif:AUTO - > /tmp/bcfg
cd /tmp
auto_adm -f bcfg -O CONF -o bcfg1
vi bcfg1 so it looks like:
timeout = 60
default = 2
message = Choose Operating System to Install :
label = target OS is B.11.00
bootcmd = boot
boot = (;0)
image = /boot/Rel_B.11.00/INSTALL
label = target OS is B.11.11
bootcmd = boot
boot = (;0)
image = /boot/Rel_B.11.11/INSTALL
label = target OS is B.11.23 PA
bootcmd = boot
boot = (;0)
image = /boot/Rel_B.11.23/WINSTALL
auto_adm -f bcfg1 -O ISL -o AUTO
cat AUTO:
hpux KernelPrompt "Choose Operating System to Install :" 60 2
reset
"target OS is B.11.00" boot (;0)/boot/Rel_B.11.00/INSTALL
"target OS is B.11.11" boot (;0)/boot/Rel_B.11.11/INSTALL
"target OS is B.11.23 PA" boot (;0)/boot/Rel_B.11.23/WINSTALL
"Exit" reboot
lifrm /opt/ignite/boot/boot_lif:AUTO
lifcp AUTO /opt/ignite/boot/boot_lif:
lifcp /opt/ignite/boot/boot_lif:AUTO -
hpux KernelPrompt "Choose Operating System to Install :" 60 2
reset
"target OS is B.11.00" boot (;0)/boot/Rel_B.11.00/INSTALL
"target OS is B.11.11" boot (;0)/boot/Rel_B.11.11/INSTALL
"target OS is B.11.23 PA" boot (;0)/boot/Rel_B.11.23/WINSTALL
"Exit" reboot
When i boot the new server to be built if comes back with:
Booting...
Boot IO Dependent Code (IODC) revision 3
IPL error: bad IPL checksum.
Error Reading IPL
.... FAILED.
If i put the original boot_lif back it works ok!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2005 08:58 PM
04-10-2005 08:58 PM
Re: Auto_adm and Modifying Kernel Prompt
I have been playing around with altering the boot_lif:
>>
If i put the original boot_lif back it works ok!!!
>>
I now have a decade of experience on platform and don't play around with this. 120 seconds is so long to wait?
Waiting for BH's take on this.
Sorry, no answer from me, good luck.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2005 09:09 PM
04-10-2005 09:09 PM
Re: Auto_adm and Modifying Kernel Prompt
Can you post the result of
# lifls -l lif_name
for your boot LIF, before and after you make your change and I'll try an explain it a bit better.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2005 09:13 PM
04-10-2005 09:13 PM
Re: Auto_adm and Modifying Kernel Prompt
lifls -l boot_lif
volume ISL10 data size 859365 directory size 2 04/09/08 22:01:48
filename type start size implement created
===============================================================
ISL -12800 16 242 0 04/09/08 22:39:10
AUTO -12289 264 2 0 04/09/08 22:39:10
HPUX -12928 272 1024 0 04/09/08 22:39:10
AFTER CHANGE:
lifls -l boot_lif
volume ISL10 data size 859365 directory size 2 04/09/08 22:01:48
filename type start size implement created
===============================================================
ISL -12800 16 242 0 04/09/08 22:39:10
AUTO ASCII 258 2 0 05/04/11 10:13:09
HPUX -12928 272 1024 0 04/09/08 22:39:10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2005 09:25 PM
04-10-2005 09:25 PM
Re: Auto_adm and Modifying Kernel Prompt
You've also changed the type of the AUTO file from -12289 to ASCII.
So try
lifcp -K2 -T-12289 AUTO /opt/ignite/boot/boot_lif:
And post the resulting 'lifls -l' for your 'after' LIF.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2005 09:53 PM
04-10-2005 09:53 PM
Re: Auto_adm and Modifying Kernel Prompt
volume ISL10 data size 859365 directory size 2 04/09/08 22:01:48
filename type start size implement created
===============================================================
ISL -12800 16 242 0 04/09/08 22:39:10
AUTO -12289 264 2 0 05/04/11 10:52:03
HPUX -12928 272 1024 0 04/09/08 22:39:10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2005 09:59 PM
04-10-2005 09:59 PM
Re: Auto_adm and Modifying Kernel Prompt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2005 10:33 PM
04-10-2005 10:33 PM
Re: Auto_adm and Modifying Kernel Prompt
Booting...
Boot IO Dependent Code (IODC) revision 3
HARD Booted.
ISL Revision A.00.44 Mar 12, 2003
Auto-execute file input string exceeds 2048 characters -- autoboot aborted.
ISL>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2005 10:49 PM
04-10-2005 10:49 PM
Re: Auto_adm and Modifying Kernel Prompt
Can you check the contents of your AUTO file to make sure you aren't missing any closing quotes or anything. Compar it to the original one. (Or post it here)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2005 10:57 PM
04-10-2005 10:57 PM
Re: Auto_adm and Modifying Kernel Prompt
lifcp /opt/ignite/boot/boot_lif:AUTO -
=hpux KernelPrompt "Choose Operating System to Install :" 60 2resetK:"target OS is B.11.00" boot (;0)/boot/Rel_B.11.00/INSTALL :"target OS is B.11.11" boot (;0)/boot/Rel_B.11.11/INSTALL >"target OS is B.11.23 PA" boot (;0)/boot/Rel_B.11.23/
the format has changed.Its all compact.
The one thing i have noticed is that when i do: lifcp /opt/ignite/boot/boot_lif.bkp:AUTO - > /tmp/cfg88
If i more/vi this file it appears ok, but if i do a cat -vet /tmp/cfg88 i get lots of characters at the end:
hpux KernelPrompt "Choose Operating System to Install :" 120 1$
reset$
"target OS is B.11.00" boot (;0)/boot/Rel_B.11.00/INSTALL $
"target OS is B.11.11" boot (;0)/boot/Rel_B.11.11/INSTALL $
"target OS is B.11.23 PA" boot (;0)/boot/Rel_B.11.23/WINSTALL $
"Exit" reboot$
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
These characters disappear if i use auto_adm to format the command via ISL/CONF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2005 11:12 PM
04-10-2005 11:12 PM
Re: Auto_adm and Modifying Kernel Prompt
# lifcp /opt/ignite/boot/boot_lif.bkp:AUTO - | xd -c
Should look like:
If you want to look at the AUTO file now, do
# lifcp -T1 /opt/ignite/boot/boot_lif.bkp:AUTO -
It's the -K2 that is critical, if you don't like the format, stop using the -T-12289.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 12:18 AM
04-11-2005 12:18 AM
Re: Auto_adm and Modifying Kernel Prompt
0000000 h p u x K e r n e l P r o m p
0000010 t " C h o o s e O p e r a t
0000020 i n g S y s t e m t o I n
0000030 s t a l l : " 6 0 2 \n r e
0000040 s e t \n " t a r g e t O S i
0000050 s B . 1 1 . 0 0 " b o o t
0000060 ( ; 0 ) / b o o t / R e l _ B .
0000070 1 1 . 0 0 / I N S T A L L \n "
0000080 t a r g e t O S i s B . 1
0000090 1 . 1 1 " b o o t ( ; 0 ) /
00000a0 b o o t / R e l _ B . 1 1 . 1 1
00000b0 / I N S T A L L \n " t a r g e
00000c0 t O S i s B . 1 1 . 2 3
00000d0 P A " b o o t ( ; 0 ) / b o
00000e0 o t / R e l _ B . 1 1 . 2 3 / W
00000f0 I N S T A L L \n " E x i t "
0000100 r e b o o t \n
0000107
what else would i need to change to make it bootabke by ignite?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 12:36 AM
04-11-2005 12:36 AM
Re: Auto_adm and Modifying Kernel Prompt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 12:47 AM
04-11-2005 12:47 AM
Re: Auto_adm and Modifying Kernel Prompt
# lifcp -K2 /tmp/AUTO boot_lif:
# lifcp boot_lif:AUTO -
hpux KernelPrompt "Choose Operating System to Install :" 60 2
reset
"target OS is B.11.00" boot (;0)/boot/Rel_B.11.00/INSTALL
"target OS is B.11.11" boot (;0)/boot/Rel_B.11.11/INSTALL
"target OS is B.11.23 PA" boot (;0)/boot/Rel_B.11.23/WINSTALL
"Exit" reboot
Boot IO Dependent Code (IODC) revision 3
IPL error: bad IPL checksum.
Error Reading IPL
.... FAILED.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 01:29 AM
04-11-2005 01:29 AM
Re: Auto_adm and Modifying Kernel Prompt
And post the result of
lifcp -T1 /opt/ignite/boot/boot_lif:AUTO -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 01:41 AM
04-11-2005 01:41 AM
Re: Auto_adm and Modifying Kernel Prompt
# lifcp -T1 boot_lif:AUTO -
=hpux KernelPrompt "Choose Operating System to Install :" 60 2resetK:"target OS is B.11.00" boot (;0)/boot/Rel_B.11.00/INSTALL :"target OS is B.11.11" boot (;0)/boot/Rel_B.11.11/INSTALL >"target OS is B.11.23 PA" boot (;0)/boot/Rel_B.11.23/"Exit" reboot ÿ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 02:23 AM
04-11-2005 02:23 AM
Re: Auto_adm and Modifying Kernel Prompt
If you want to look at the AUTO file
# lifcp -a /opt/ignite/boot/boot_lif:AUTO -
Not -T1 !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 02:29 AM
04-11-2005 02:29 AM
Re: Auto_adm and Modifying Kernel Prompt
hpux KernelPrompt "Choose Operating System to Install :" 60 2
reset
"target OS is B.11.00" boot (;0)/boot/Rel_B.11.00/INSTALL
"target OS is B.11.11" boot (;0)/boot/Rel_B.11.11/INSTALL
"target OS is B.11.23 PA" boot (;0)/boot/Rel_B.11.23/WINSTALL
"Exit" reboot
your help is much appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 04:14 AM
04-11-2005 04:14 AM
Re: Auto_adm and Modifying Kernel Prompt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 08:22 PM
04-11-2005 08:22 PM
Re: Auto_adm and Modifying Kernel Prompt
< hpux KernelPrompt "Choose Operating System to Install :" 60 2
---
> ux KernelPrompt "Choose Operating System to Install :" 120 1
but still won't boot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 09:32 PM
04-11-2005 09:32 PM
Re: Auto_adm and Modifying Kernel Prompt
That was a cut-and-paste error, it really started with 'hpux' not 'ux' didn't it?
When you say it still won't boot, what is it complaining about this time?
What media are you tring to boot from (i.e. where are you copying your LIF to)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 10:54 PM
04-11-2005 10:54 PM
Re: Auto_adm and Modifying Kernel Prompt
when i boot from the ignite server i get the same error as before:
Main Menu: Enter command or menu > boot lan.11.11.11.11 install
Interact with IPL (Y, N, or Cancel)?> n
Booting...
Boot IO Dependent Code (IODC) revision 3
IPL error: bad IPL checksum.
Error Reading IPL
.... FAILED.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2005 04:58 AM
04-12-2005 04:58 AM
Re: Auto_adm and Modifying Kernel Prompt
Try using auto_adm to write directly into the LIF file. auto_adm automatigically detects if the target file is a LIF.
# save copy of original boot_lif
$ cp boot_lif boot_lif.orig
# create your AUTO file as you have been doing
# now, instead of lifcp, try auto_adm to write the AUTO file into the LIF
$ auto_adm -f AUTO -o boot_lif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2005 08:31 PM
04-12-2005 08:31 PM
Re: Auto_adm and Modifying Kernel Prompt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2005 09:17 PM
04-12-2005 09:17 PM
Re: Auto_adm and Modifying Kernel Prompt
i still get the same error.
Booting...
Boot IO Dependent Code (IODC) revision 3
IPL error: bad IPL checksum.
Error Reading IPL
.... FAILED.
I build all servers from ignite server.
It works fine.
I just wanted to fine tune and thought it would be easy to alter the menu system.....little did i know how hard it would be.
At the moment, depsite all suggestions, if i alter the original bootlif:AUTO, no server will boot from it.