- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to see the boot string I typed
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
10-03-2008 04:31 AM
10-03-2008 04:31 AM
But short of rebooting, I can't find a way confirm what I typed.
I'll say it another way. I setup a box 2 years ago. It's working fine. I can't reboot it. It's in use. How can I see the boot string?
(Stuff you'd ask: rp4440, hpux11.23 install March 2006. Two internal boot disks.)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2008 04:55 AM
10-03-2008 04:55 AM
Solutionhttp://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1212314
If you are trying to see what you entered interactively at last boot, try the 10 point answer from this thread:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1094592
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2008 05:25 AM
10-03-2008 05:25 AM
Re: how to see the boot string I typed
#lifcp /dev/rdsk/c*t*d*:AUTO -
#lvlnboot -v
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2008 06:53 AM
10-03-2008 06:53 AM
Re: how to see the boot string I typed
I could not find those forums entry via google, or forum search. My luck at searching is poor.
lvlnboot -v
setboot -v
yep. nice, commands.
They don't answer my question. But what the hey. At least I know where the boot disk is....if I forgot about it.
lifcp cxtxdx? No. Not lifcp c*t*d* either.
so the REAL answer is:
# lifcp /dev/rdsk/c2t6d0:AUTO -
Where (and here is the big key) c2t6d0 is the boot disk I want to look at.
(and another key point)
The output of this command goes to the screen.
(and the third thing...I'll assume this for now).
....and nothing crashes when I run this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2008 10:16 AM
10-03-2008 10:16 AM
Re: how to see the boot string I typed
This is syadmin shorthand for: replace with the device file name of your boot disk, possibly clearer when written as: c#t#d# or maybe
If you are new to any Unix system, it is always a good idea to run the command:
man lifcp
or
man lvlnboot
to see what it does and what the options are. To answer your questions:
> I can't find a way confirm what I typed.
Not possible. Your keystrokes were sent to the processor firmware, no HP-UX is running, no logs, nothing. The only thing you can look at is the AUTO file contents using lifcp and that will tell you what will be run when the system boots up automatically but not what you typed on the keyboard.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2008 12:38 PM
10-03-2008 12:38 PM
Re: how to see the boot string I typed
"> lifcp cxtxdx
This is syadmin shorthand for: replace with the device file name of your boot disk, possibly clearer when written as: c#t#d# or maybe
ME: More like changing it from opaque to clear.
"If you are new to any Unix system, it is always a good idea to run the command:
man lifcp or man lvlnboot"
ME: I put the question in the forum because I expected people would provide a nice, short, simple answer. A man page won't do that. Honestly I love these forums because people provide better, clearer answers and man pages.
"> I can't find a way confirm what I typed.
Not possible. Your keystrokes were sent to the processor firmware, no HP-UX is running, no logs, nothing. The only thing you can look at is the AUTO file contents using lifcp and that will tell you what will be run when the system boots up automatically but not what you typed on the keyboard."
ME: Close enough. ....well.....
That's an answer. This AUTO thing is a file. It holds the boot string I typed in. I can pull out the contents of that AUTO file using this lifcp command. And I can find out which disks are bootable with the lvlnboot -v command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2008 02:09 PM
10-03-2008 02:09 PM
Re: how to see the boot string I typed
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1227219
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2008 09:16 AM
10-05-2008 09:16 AM
Re: how to see the boot string I typed
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2008 10:45 PM
10-05-2008 10:45 PM
Re: how to see the boot string I typed
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c3t6d0 (10/0/15/1.6.0) -- Boot Disk
/dev/dsk/c3t5d0 (10/0/15/1.5.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c3t6d0
/dev/dsk/c3t5d0
Root: lvol3 on: /dev/dsk/c3t6d0
/dev/dsk/c3t5d0
Swap: lvol2 on: /dev/dsk/c3t6d0
/dev/dsk/c3t5d0
Dump: lvol2 on: /dev/dsk/c3t6d0, 0
sandeep as root@suxde900 [/var/adm]
unix # lifcp /dev/rdsk/c3t5d0:AUTO -
hpux