Operating System - HP-UX
1833550 Members
3070 Online
110061 Solutions
New Discussion

Re: lvlnboot partition not working

 
SOLVED
Go to solution
rene martinez
Occasional Advisor

lvlnboot partition not working

I have created a boot partition following the instructions on the lvlnboot man page and am getting a system panic when booting from that partition. The error is "panic: unable to create /dev/ip". I am running 11.0 on a c360 W/S.

Anyone have any ideas or experience with this? Is this the best way to create an additional boot partition?

Thanks!
9 REPLIES 9
Anthony deRito
Respected Contributor
Solution

Re: lvlnboot partition not working

Have you considered the make_recovery tool that comes as part of Ignote/UX?

This is a great way of creating a boot disk and its a free tool. You can get it at:

http://software.hp.com/products/IUX/

Tony

Rick Garland
Honored Contributor

Re: lvlnboot partition not working

Do you have the necessary drivers installed and configured.

Cheryl Griffin
Honored Contributor

Re: lvlnboot partition not working

Rene,

This message indicates there is a problem with the LVM header of the disks. The boot process cannot find the kernel. Since it cannot find the kernel, it cannot find / and therefore /dev and so on.

You stated, you are attempting to create a boot partition. Is this an alternate root, or dual os system?
"Downtime is a Crime."
rene martinez
Occasional Advisor

Re: lvlnboot partition not working

This would be used as an alternate root.
Cheryl Griffin
Honored Contributor

Re: lvlnboot partition not working

Rene,

Prior to the lvlnboot commands, you would have run pvcreate and mkboot.

# pvcreate -B /dev/rdsk/cxtxdx - sets disk up for LVM
# mkboot /dev/dsk/cxtxdx - creates the boot area on the disk.
# mkboot -a "hpux (;0)/stand/vmunix" /dev/rdsk/cxtxdx
# lvlnboot ...

There is a document in the ITRC that outlines the procedure:
A4555415B Process to create alternate boot volume group (HP-UX 10.20).

Best Wishes,
Cheryl
"Downtime is a Crime."
rene martinez
Occasional Advisor

Re: lvlnboot partition not working

This may sound silly but here goes,

How do I boot from the newly created lvlnboot partition?
IT IS UNIX
Occasional Advisor

Re: lvlnboot partition not working

Hi there!

You can change the primary bootpath with the setboot cmd.
Issue the cmd without option to see what paths are active and
the you can change them with
setboot -p # for primary
setboot -a 3 for alternate

Now you can shutdown -r and it should boot from the new primary!!

Hope that helps!

Bye from

Stefano
CHRIS_ANORUO
Honored Contributor

Re: lvlnboot partition not working

Here's an example of how to mirror the root disk:
1. pvcreate -B /dev/rdsk/(2nd disk)
2. vgextend /dev/vg00 /dev/dsk/(2nd disk)
3. mkboot /dev/dsk/(2nd disk)
4. mkboot -a "hpux -lq" /dev/rdsk/(2nd disk)
5. lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/(2nd disk).
6. lvlnboot -R

Repeat step 5 for any additional logical volumes that need to be mirrored.

To your 2nd question, check above reply or while system is rebooting interrupt boot process and go through ISL prompt to boot from alternate disk.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
Cheryl Griffin
Honored Contributor

Re: lvlnboot partition not working

Rene,

Once the disk is made bootable, you can boot to the ISL, then do a SEArch for bootable devices. P#s are assigned to each bootable device, so then you would execute:
ISL> bo p1 (where p# corresponds to the new bootable disks)

You can also configure one set of disks to be the PRImary disks and the other set of disks to be the ALT disks. Then you could execute:
ISL> bo pri OR
ISL> bo alt

Best Wishes,
Cheryl
"Downtime is a Crime."