1832241 Members
2886 Online
110041 Solutions
New Discussion

HP UX can't boot

 
Wissam Elassal
Advisor

HP UX can't boot

Hello ,
I am running an HP UX 11.23, that does not boot, since my /dev/root file is corrupted, (but I have a copy of it named /dev/root1). While booting, the system prompts the msg "cannot open /dev/root: no such device or address". I wd like to know if there is a way to make the system boot.

Thank you
12 REPLIES 12
skt_skt
Honored Contributor

Re: HP UX can't boot

try booting in LVM maintenance mode and perform fcsk on root file systems..
Aneesh Mohan
Honored Contributor

Re: HP UX can't boot

While booting..interrupt the autoboot and do the below steps.

ISL>hpux -lm -is

#fsck -F vxfs -o full /dev/vg00/rlvol3


If its not getting resolve please do restore the OS using ignite recovery image ( hopes u may have ignite recovery image )


Thanks ,

Aneesh
whiteknight
Honored Contributor

Re: HP UX can't boot


Wissam,

try to boot up using lvm maintainence mode, or boot up using recovery CD?

WK
Problem never ends, you must know how to fix it
tkc
Esteemed Contributor

Re: HP UX can't boot

this should be an itanium server. at the efi shell, try booting from the shell, e.g.

fs2:\>hpux

Then you will get the HPUX prompt.
Other boot options available :

HPUX> boot -is for single user mode
HPUX> boot -lq for LVM quorum mode
HPUX> boot -lm for maintenance mode boot
HPUX> boot -tm for failsave mode (no DLKMs etc,)
HPUX> boot backup for booting backup kernel configuration
HPUX> boot vmunix.prev for booting previous kernel
Wissam Elassal
Advisor

Re: HP UX can't boot

Thanks you, I have tried all the proposed boot option but at the end, the keyboard seems to be not recognized, after kernel starts booting.
Well, i also don't have a recovery CD.
I know that if I can get into my hard drive and rename my bckup file from dev/root1 to dev/root my problem will be solved.
lawrenzo
Trusted Contributor

Re: HP UX can't boot

wissam,

when you say you have /dev/root1 saved what do you mean?

is this just a directory or another filesystem containing /dev/root1?

what caused the server not to boot? where you performing some reconfiguration?

Thanks

Chris
hello
Aneesh Mohan
Honored Contributor

Re: HP UX can't boot

Hi,

>I know that if I can get into my hard drive and rename my bckup file from dev/root1 to dev/root my problem will be solved

I think the below steps may help you to accomplish the above requirement.

Installed your problem root disk on other unix machine

Do the below steps on 2nd unix machine ,where u have installed the root disk of 1st
#mkdir /dev/vgtest
#mknod /dev/vgtest/group c 64 0x080000
#vgimport -v /dev/vgtest /dev/dsk/cxtyd0
#vgchange -a y vgtest
#mkdir /test
#mount /dev/vgtest/lvol3 /test

Do the changes


# vgchange -a n vgtest
#vgexport vgtest


Aneesh
Wissam Elassal
Advisor

Re: HP UX can't boot

/dev/root is in fact a file. I remember that i have changed its name by mistake so now unix is not able to find it at boot
Wissam Elassal
Advisor

Re: HP UX can't boot

Now, can we consider another alternative, I have another HP-UX server that is more or less similar that the one that crashed. Is there a way to create a recovery DVD from the first server and use it to recover system files of the second? Is it possible and if yes how can generate the CD ?

Thank you
Wissam Elassal
Advisor

Re: HP UX can't boot

I also have an ignite recovery tape for my production server, can I use it to recover my demo sever which is similar? if yes, the question in my mind is, will I have all me installed softwares and data back after a successful recovery, in other words i would like to recover only the corrupted files in my server ?

Thank you very much
SGUX
Valued Contributor

Re: HP UX can't boot

can't you try to boot this server with the core-OS-DVD and boot in Recovery Mode and then try to fix the problem ?
You won't lose installed software then. You build a new kernel and boot the server. After this you can restore from backup.
Wissam Elassal
Advisor

Re: HP UX can't boot

Hi,
So it is not possible to restore my system files without loosing my installed softwares using an IGNITE recovery tape?