Operating System - HP-UX
1832983 Members
2784 Online
110048 Solutions
New Discussion

How to know which disk/kernel I booted from.

 
M. FRANGEUL
Advisor

How to know which disk/kernel I booted from.

Hello !
How to know which disk, I booted from, on a HP 9000 (RP5470) with HP-UX B11.00.
I Have two disks using MirrorDisk in a Volume Group vg00.

I think, that I could see it in the file :
/var/adm/syslog/syslog/log but not at all.

Thank's
7 REPLIES 7
Peter Godron
Honored Contributor

Re: How to know which disk/kernel I booted from.

Hi,
when the machine starts up, it will have a primary and/or secondary boot path set.
You can also modify path at startup.

Please also read(0 for 38 answers):
http://forums1.itrc.hp.com/service/forums/helptips.do?#34

Regards
Pete Randall
Outstanding Contributor

Re: How to know which disk/kernel I booted from.

Peter told you how to tell which disk. Here is how to tell which kernel:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=550991


Pete

Pete
Pete Randall
Outstanding Contributor

Re: How to know which disk/kernel I booted from.

Oh, I should add that the setboot command will tell you your primary and alternate bootpaths:

# setboot
Primary bootpath : 10/0/15/1.6.0
Alternate bootpath : 10/0/15/0.6.0

Autoboot is ON (enabled)
Autosearch is OFF (disabled)


Pete

Pete
RAC_1
Honored Contributor

Re: How to know which disk/kernel I booted from.

echo 'boot_string/S' | adb /stand/vmunix /dev/mem
There is no substitute to HARDWORK
M. FRANGEUL
Advisor

Re: How to know which disk/kernel I booted from.

I know that, but the system is already started and I search the way to know on what disk the system has booted.
That's all.

Thank's
Pete Randall
Outstanding Contributor

Re: How to know which disk/kernel I booted from.

You know, you might got a lot more help if you would assign points to the people who take the time to try to help you. It's the only reward they get!

Anyway, here's your answer:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=207082


Pete

Pete
M. FRANGEUL
Advisor

Re: How to know which disk/kernel I booted from.

Ok, excuse me but I'am french, and I don't control very well english.

I have run the command : echo "boot_string/S"|adb /stand/vmunix /dev/mem
and I have the error :
Error from elf64_getehdr(application core file)
Not a Elf file : Not a Elf header
with the response.

Is it normal ?
Thank's again at all.