1835067 Members
2985 Online
110073 Solutions
New Discussion

kernal build failure

 
Shawn Miller_2
Frequent Advisor

kernal build failure

I need to install an old os (hp 9.04). When installing it fails. The error is, ERROR:Cannot configure kernal: /etc/regen failed. What would be my next step in resolving this.
1 REPLY 1
Carsten Krege
Honored Contributor

Re: kernal build failure

You know that 9.04 is no longer supported and not certified for Y2K, don't you?

Below the procedure how to build the kernel when you are using LVM!

# cd /etc/conf/gen

Generate new kernel "system" file:

# cp S800 S800.sav
# /system/TOOL/get_kgenfile /hp-ux > S800

Edit it:
# vi S800

If you are using LVM (and only in this case!)Make sure you replace the following lines:

root on default section 1;
swap on default section 2;

by

root on lvol;
swap on lvol;

Build a new kernel:
# uxgen S800

Verify that there is a new kernel:
# ll ../S800/hp-ux

Save the old kernel:
# mv /hp-ux /SYSBCKUP

Move new kernel into place:
# mv ../S800/hp-ux /hp-ux

Reboot:
# shutdown -r 0


This is only a suggestion about a possible cause. Since this could be anything and since the HPUX 9.x knowledge got really stale, you are pretty much on your own. Good luck.

Carsten

-------------------------------------------------------------------------------------------------
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG