1825454 Members
3823 Online
109681 Solutions
New Discussion юеВ

vmunix

 
SOLVED
Go to solution
Shivkumar
Super Advisor

vmunix

Is hpux has only one kernel file /stand/vmunix ? Or some other files also forms the part of the kernel ?

Thanks,
Shiv
6 REPLIES 6
Yogeeraj_1
Honored Contributor
Solution

Re: vmunix

hi,

yes! the file /stand/vmunix is the current running kernel!

In order to make a change to a kernel, we would change to the directory /stand/build where all work in creating a new kernel is performed and issue the "system_prep" command...

(page 65 on marty's book!)

regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Rajeev  Shukla
Honored Contributor

Re: vmunix

When the system boots its only the kernel that is loaded into the memory but you need files in /stand like system file
Thayanidhi
Honored Contributor

Re: vmunix

Hi,
/stand/vmunix is kernel image which gets loaded while booting. /stand/vmunix.prev is the previous kernel (backup of old kernel).
Though this is the only file, other files are required to make kernel, boot the system, ioconfig...etc. During the kernel load it may need several other files. So a system cannot boot just with /stand/vmunix

Regds
TT
Attitude (not aptitude) determines altitude.
Mahesh Kumar Malik
Honored Contributor

Re: vmunix

Hi Shiv

Yes, /stand/vmunix is the only kernel file in hp-ux which is loaded by default at system power ON. /stand/vmunix.prev is the backup copy created whenever any change is made to kernel. System can also be booted using the backup copy in case main kernel file is corrupted.

Regards
Mahesh
Indira Aramandla
Honored Contributor

Re: vmunix

Hi Shiv,

Location of the kernel file :-

The root directory contains both the boot program and the file containing the kernel for the system. The name of this kernel file varies from one manufacturer's machine to another, but will usually include the letters nix.
Eg:-

ls /*nix*

-rwxr----- 1 root 1558734 Sep 24 1992 /vmunix

This lists details of any files in the root directory with the characters nix in their name. In this example it lists vmunix - a common name for the kernel file.

VMUNIX is HP-UX default Kernel file. This file locate at directory /stand/vmunix.


IA
Never give up, Keep Trying
Cem Tugrul
Esteemed Contributor

Re: vmunix

Hi Shiv,
/stand/vmunix is the current running on the system,/stand/vmunix.prev is the backup
when you have done any changes kernel;

Good Luck,



Our greatest duty in this life is to help others. And please, if you can't