Operating System - HP-UX
1834392 Members
2040 Online
110066 Solutions
New Discussion

error message : no boot logical volume configured

 
Radhakrishnan Venkatara
Trusted Contributor

error message : no boot logical volume configured

hi all,

we found in of our system is giving the error in lvlnboot -v command

# lvlnboot -v
Boot Definitions for Volume Group /dev/L1:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c4t1d0 (0/3/0/0.1.0)
/dev/dsk/c4t2d0 (0/3/0/0.2.0)
/dev/dsk/c4t3d0 (0/3/0/0.3.0) -- Boot Disk
/dev/dsk/c6t1d0 (0/7/0/0.1.0)
/dev/dsk/c6t2d0 (0/7/0/0.2.0)
/dev/dsk/c6t3d0 (0/7/0/0.3.0) -- Boot Disk
No Boot Logical Volume configured
Root: root on: /dev/dsk/c4t3d0
Swap: swap1 on: /dev/dsk/c4t3d0
Dump: swap1 on: /dev/dsk/c4t3d0, 0

it is not showing the boot volume.

i tried lvlnboot to set the boot volume but it gives the following error.

# lvlnboot -b /dev/L1/stand
lvlnboot: Boot volume should be the first logical volume on the physical volume

I cannot reboot my system. how can i set the boot volume ?

whether i can do it using recovery cd . or without rebooting is there any way.

please throw some light on it.

radhakrishnan
Negative thinking is a highest form of Intelligence
3 REPLIES 3
Bill McNAMARA_1
Honored Contributor

Re: error message : no boot logical volume configured

try
lvlnboot -b /dev/vg00/lvol1
lvlnboot -r /dev/vg00/lvol3
lvlnboot -s /dev/vg00/lvol2
lvlnboot -d /dev/vg00/lvol2

(although this is a default config)

see your
mount -p and/or /etc/fstab
output for correct / and /stand definitions.

Later,
Bill

It works for me (tm)
Michael Steele_2
Honored Contributor

Re: error message : no boot logical volume configured

Some people make /stand a sub directory of / (root), perhaps they are use to this configuration from another UNIX flavor, and it will continue to work as long as it is contiguous and it should be if root is contiguous. What are lvol 1 and lvol2, etc? Both 1 and 2 should be contiguous while the others don't have to be.

So do you have /stand/vmunix?

Check bootlif:

lifls -C /dev/rdsk/cXtYdZ

Note the "rdsk"

lifcp /dev/rdsk/cXtYdZ:AUTO -

Note the hpux string and attach.

So besides noting that this is atypical and issue a warning to others of the HP-UX preference???.
Support Fatherhood - Stop Family Law
omars
Advisor

Re: error message : no boot logical volume configured

Hi radhakrishnan,

You basially do not have boot utilities in your hard disk , although you have configured as
bootable.

So put in boot utilities by typing:

a.) mkboot /dev/rdsk/c4t3d0
b.) mkboot -a "hpux (;0)/stand/vmunix" /dev/rdsk/c4t3d0

c.) lvlnboot -b /dev/L1/boot

d.) lvlnboot -Rv

e.) reboot

This will solve your problems.
Solution is delivered.

rgds,
omari.

Nothing is too late to learn