Operating System - HP-UX
1833589 Members
3525 Online
110061 Solutions
New Discussion

Re: where is a boot disk?

 
SOLVED
Go to solution
gigiz
Valued Contributor

where is a boot disk?

Hello ...
I want to say if whit a system up and running,
exist a system command to say which is a disk used at start up to boot a system .I know setboot, lvlnboot.
5 REPLIES 5
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: where is a boot disk?

echo "boot_string/s" | adb -k /stand/vmunix /dev/kmem

This asks the kernel directly what was used to boot.
If it ain't broke, I can fix that.
Steven E. Protter
Exalted Contributor

Re: where is a boot disk?

[3745#] lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t5d0 (8/4.5.0) -- Boot Disk
/dev/dsk/c1t15d0 (8/12.15.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c0t5d0
/dev/dsk/c1t15d0
Root: lvol3 on: /dev/dsk/c0t5d0
/dev/dsk/c1t15d0
Swap: lvol2 on: /dev/dsk/c0t5d0
/dev/dsk/c1t15d0
Dump: lvol2 on: /dev/dsk/c0t5d0, 0

lvlnboot: Volume group not activated.
Cannot display volume group "/dev/vg02".


The command above works.

to find out which little green light it is, use the dd command to light up the disk, device by device.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Torsten.
Acclaimed Contributor

Re: where is a boot disk?

To be able to boot, a disk needs to have a loader (ISL initial system loader) and some additional files in a special area on the disks, called lif area.

You may check if your disk have this area (created with pvcreate -B) and what files are there:

lifls -l /dev/rdsk/c1t6d0
volume ISL10 data size 7984 directory size 8 02/05/10 16:25:44
filename type start size implement created
===============================================================
HPUX -12928 584 848 0 02/05/10 16:25:44
ISL -12800 1432 306 0 00/11/08 20:49:59
AUTO -12289 1744 1 0 00/11/08 20:49:59
PAD -12290 1752 1580 0 00/11/08 20:50:00
LABEL BIN 3336 8 0 71/03/14 04:26:46

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!   
Kent Ostby
Honored Contributor

Re: where is a boot disk?

setboot -v will tell you where its going to boot next time around as well as allow you update paths and boot options.
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
gigiz
Valued Contributor

Re: where is a boot disk?

OK