Secure OS Software for Linux
1753494 Members
5085 Online
108794 Solutions
New Discussion юеВ

Re: Admin Guide ok but how does HP-LX exactly boot ?

 
mike smith_17
Occasional Contributor

Admin Guide ok but how does HP-LX exactly boot ?

The files they describe are mostly -after- the kernal loads...what does HP-LX do differently when booting than RH Linux ?
911 - please hold...
5 REPLIES 5
Kodjo Agbenu
Honored Contributor

Re: Admin Guide ok but how does HP-LX exactly boot ?

Hi,

As far as I remember for my last HP-LX course, the boot sequence is very closed to normal RH.

Here are the differences :

=> The kernel that is loaded has been modified in order to manage compartment and enhanced access control features.

=> That HP-LX specific kernel loads /sbin/init, which has been customized by HP to understand new keywords in /etc/inittab, such as t_wait and t_respawn. Processes started using this feature are able to deal with HP-LX new compartment management features and access rules.


You may know that when you choose load the "normal" kernel at LILO prompt, the /sbin/init-tlx is loaded. This special "init" has been modified to behave as the "normal" linux init process. Therefore, it treats t_respawn and t_wait as "normal" respawn and wait.


Good luck.

Kodjo
Learn and explain...
Joubert Berger
New Member

Re: Admin Guide ok but how does HP-LX exactly boot ?

Very close Kodjo,

The modified kernel actually execs /sbin/init-tlx. init-tlx is the modified init. The reason that the "normal" kernel is booted and told to use init-tlx is because of the t_wait, t_respwan as you mentioned. If the regular /sbin/init was run, it would complain that it does not understand t_respawn and t_wait.

That is the biggest difference to the boot sequence. To follow what happens next, have a look at /etc/inittab. It exec's a few rc scripts that are specific to HPLX.
Kodjo Agbenu
Honored Contributor

Re: Admin Guide ok but how does HP-LX exactly boot ?

Hello Joubert,

Here is my /etc/lilo.conf :

image = /boot/tlinux-2.4.9-31-hptl1.5
label = tlinux
root = /dev/hda3
read-only

image = /boot/vmlinuz-2.4.2-2
label = linux
root = /dev/hda3
append = "init=/sbin/init-tlx"
read-only


That's why I say tlinux kernel uses /sbin/init and normal linux uses /sbin/init-tlx.

Regards.

Kodjo
Learn and explain...
Steven E. Protter
Exalted Contributor

Re: Admin Guide ok but how does HP-LX exactly boot ?

Does HP-LX use grub or only lilo?

Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Kodjo Agbenu
Honored Contributor

Re: Admin Guide ok but how does HP-LX exactly boot ?

Only Lilo.

Kodjo
Learn and explain...