- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to find out if a system have dual boot?
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
Discussions
Discussions
Discussions
Forums
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
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
тАО02-15-2002 06:05 AM
тАО02-15-2002 06:05 AM
How to find out if a system have dual boot?
How do I find out if my hp box has dual boot of hp ux of 11.x and 11.x without rebooting it?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2002 06:15 AM
тАО02-15-2002 06:15 AM
Re: How to find out if a system have dual boot?
If i understood well, You mean that You have two disk and You want to check if sevcond one is bootable.
1.setboot
will show You alternate path for booting
2. lifls -l /dev/dsk/cxtxdx
will show lif, if HPUX exist OK
3. lifcp /dev/dsk/cxtxdx:AUTO -
will show string for booting should be hpux
if 1),2),3) looks like above
probably You can boot from alternate path
hope it help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2002 06:21 AM
тАО02-15-2002 06:21 AM
Re: How to find out if a system have dual boot?
lvlnboot -v will display boot disks:-
root@N-0/sysadmin>lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t6d0 (0/0/2/0.6.0) -- Boot Disk
/dev/dsk/c2t6d0 (0/0/2/1.6.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c1t6d0
/dev/dsk/c2t6d0
Root: lvol3 on: /dev/dsk/c1t6d0
/dev/dsk/c2t6d0
Swap: lvol2 on: /dev/dsk/c1t6d0
/dev/dsk/c2t6d0
Dump: lvol2 on: /dev/dsk/c1t6d0, 0
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2002 06:59 AM
тАО02-15-2002 06:59 AM
Re: How to find out if a system have dual boot?
See lvlnboot -v
see the man page for lvlnboot.
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2002 07:12 AM
тАО02-15-2002 07:12 AM
Re: How to find out if a system have dual boot?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2002 07:43 AM
тАО02-15-2002 07:43 AM
Re: How to find out if a system have dual boot?
If you mean
I have a server set up to boot 11.00 off of one disk and 11.11 off another disk, and I want to tell what version is on what disk?
then not easily... You could try something like this (untested!):
Identify all the disks on your system:
lssf /dev/dsk/* | grep -v \?\?\? | awk '{ print $NF}'
Now for each disk see if it has a LIF area
lifls /dev/dsk/cXtYdZ
If it returns LIF data that includes a HPUX file then its a bootable disk - now try:
lifcp /dev/dsk/cXtydZ:HPUX - | what
This returns version info for the HPUX bootstrap program...
My 11.00 boxes return:
reloc_it.c $Date: 1999/04/20 14:25:10 $Revision: r11ros/cup_ros_ep3_pb/3 PATCH_11.00 (PHKL_18325)
conf.c $Date: 1999/04/20 14:24:28 $Revision: r11ros/cup_ros_ep3_pb/3 PATCH_11.00 (PHKL_18325)
hpux_rel.c $Date: 1999/04/20 14:24:44 $Revision: r11ros/cup_ros_ep3_pb/4 PATCH_11.00 (PHKL_18325)
exec.c $Date: 1999/04/20 14:24:36 $Revision: r11ros/cup_ros_ep3_pb/2 PATCH_11.00 (PHKL_18325)
malloc.c $Date: 1999/04/20 14:25:02 $Revision: r11ros/cup_ros_ep3_pb/2 PATCH_11.00 (PHKL_18325)
pif.c $Date: 1999/10/28 10:22:26 $Revision: r11ros/3 PATCH_11.00 (PHKL_20169)
iodc_util.c $Date: 1999/04/20 14:24:48 $Revision: r11ros/cup_ros_ep3_pb/2 PATCH_11.00 (PHKL_18325)
machdep.c $Date: 1999/04/20 14:24:52 $Revision: r11ros/cup_ros_ep3_pb/4 PATCH_11.00 (PHKL_18325)
flags.c $Date: 1999/04/20 14:24:40 $Revision: r11ros/cup_ros_ep3_pb/3 PATCH_11.00 (PHKL_18325)
srt0.s $Date: 1999/04/20 14:25:15 $Revision: r11ros/cup_ros_ep3_pb/3 PATCH_11.00 (PHKL_18325)
X11.00.U HP-UX() #1: Oct 26 1999 09:57:35
sys.c $Date: 97/10/31 16:19:11 $ $Revision: 1.73.106.8 $ PATCH_11.00 (PHKL_13052)
Note all the references to 11.00 and lots of patches
My 11.11 boxes return:
X11.01.F HP-UX() #1: Aug 20 2000 09:46:02
Note this is 11.01 (rather than 11.11)
I'll leave it to others who actually have a dual boot setup to determine how reliable this is (I'm not even sure if the LIF format is compatible between 11.00 and 11i)
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2002 07:54 AM
тАО02-15-2002 07:54 AM
Re: How to find out if a system have dual boot?
1. A secret message from the HPUX development team or just a coincidence?
# xd /stand/rootconf
0000000 dead beef 0041 cb60 0003 f000
000000c
2. The 'hp internal' names for all their servers:
lifcp /dev/dsk/cXtYdZ:CONFIGDATA - | more
Why don't they keep these names? Ther so much better than the letter and number combinations we end up with! If only I'd known that my knackered old 715/50 had the code name SCORPIO!!
Cheers
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2002 08:58 AM
тАО02-15-2002 08:58 AM
Re: How to find out if a system have dual boot?
I tried setboot and lifls according to your response and got the following output. lifls complained about file not found. Does it mean the system doesn't have an alternate boot?
1) setboot
root-hpux(/root) $ setboot
Primary bootpath : 8/4.8.0
Alternate bootpath : 8/4.5.0
Autoboot is ON (enabled)
Autosearch is ON (enabled)
2) lifls
root-hpux(/root) $ lifls -l /dev/dsk/cxtxdx
lifls(open): No such file or directory
lifls: Can't list /dev/dsk/cxtxdx; file not opened
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2002 09:05 AM
тАО02-15-2002 09:05 AM
Re: How to find out if a system have dual boot?
lvlnboot -v
not literally cxtxdx
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2002 12:04 PM
тАО02-15-2002 12:04 PM