Operating System - HP-UX
1830909 Members
1715 Online
110017 Solutions
New Discussion

How to display the autoboot string

 
SOLVED
Go to solution
S.Rider
Regular Advisor

How to display the autoboot string

I can use "mkboot -a 'hpux -lq /stand/vmunix'" to put an autoexec-string out on the boot disk. But how can I display the strings that's on my vg00 boot disks current;y ?
Ride Boldly Ride, but watch out for El Dorado's
13 REPLIES 13
Tim Nelson
Honored Contributor
Solution

Re: How to display the autoboot string

lifcp /dev/rdsk/cxtxdx:AUTO -

Davis Paul
Valued Contributor

Re: How to display the autoboot string

Hi,
#lvlnboot -v :Display boot disks.
#setboot :give the boot path settings.
Best of Luck.

Regards,
Davis Paul.

Davis Paul
Valued Contributor

Re: How to display the autoboot string

Hi,
#lvlnboot -v :give your boot disk.
#setboot :give the boot path settings.
Best of Luck.

Regards,
Davis Paul.

James R. Ferguson
Acclaimed Contributor

Re: How to display the autoboot string

Hi:

# lifcp /dev/rdsk/c2t6d0:AUTO -
hpux -lq

Regards!

...JRF...
Davis Paul
Valued Contributor

Re: How to display the autoboot string

Hi,
If you need to know your system has booted from which disk, use the following-
# echo "boot_string/S" | adb k /stand/vmunix /dev/kmem
Best of Luck.

Regards,
Davis Paul.

S.Rider
Regular Advisor

Re: How to display the autoboot string

Thanks Tim & Jim - lifcp did it.

# lifcp /dev/rdsk/c0t8d0:AUTO -
hpux /stand/vpmon -a
Ride Boldly Ride, but watch out for El Dorado's
Torsten.
Acclaimed Contributor

Re: How to display the autoboot string

This only applies to pa-risc based systems (HP9000 family)!

Example:

# lifcp /dev/rdsk/c2t0d0:AUTO -

result is

hpux -lq


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: How to display the autoboot string

Be careful!

hpux /stand/vpmon -a

is the boot string to boot the virtual partition monitor (vpmon)!

You are using vPars!

See the vPars manual on how to set vPar related boot strings.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
S.Rider
Regular Advisor

Re: How to display the autoboot string

Believe me, I know I'm running vPars. Building 3 more next weekend as a matter of fact. 8-)
Ride Boldly Ride, but watch out for El Dorado's
Torsten.
Acclaimed Contributor

Re: How to display the autoboot string

And believe me, you would not believe what questions and even some lack of knowledge you can sometimes find here ... warning is the best one can do ...

;-)

Good luck!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
S.Rider
Regular Advisor

Re: How to display the autoboot string

Is there a different way to get it for Itanium servers ? There's about 30 of those in the mix here also. I was looking into efi_ls.
Ride Boldly Ride, but watch out for El Dorado's
Torsten.
Acclaimed Contributor

Re: How to display the autoboot string

Try

# efi_cp -d /dev/rdsk/c3t2d0s1 -u /EFI/HPUX/AUTO /tmp/AUTO

# cat /tmp/AUTO

and use the correct device file ;-)

This will copy the AUTO file from the EFI to the HPUX file system.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: How to display the autoboot string

Forgot to add the result should look like this:

boot vmunix -lq

(for non-vpars systems)

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!