Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the boot process of solaris?

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article is to share with you about the guiding process of solaris, the editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.

1. Solaris boot process (take sparc as an example, there is no grub boot)

1. Boot PROM (Power-on hardware self-Test process)

two。 Bootstrap process

Kernel directories: / kernel and / usr/kernel

3. Kernel initialization process

-Kernel read / etc/system file (kernel parameter configuration file)

-the kernel initializes its own loading module

-the kernel starts the / etc/init process, and / etc/init is the link of / sbin/init

4. Init process

Init reads / etc/inittab to determine the running level, and the solaris level is serial, that is, runlevel 1 in runlevel 2, and then to runlevel 3. As for the run level, it is described below.

5. Svc.startd process

Start various system services

II. Operating level

Default run levels for various systems: redhat 5, solaris 3, mac os x 3, AIX 2, etc.

There are 8 running levels of solaris

0 hardware maintenance mode console access enters OBP state / etc/rc0.d command script: / sbin/rc0

1 Management status is only available for root users. Single user / etc/rc1.d command script: / sbin/rc1

2 the first multi-user status, nfs and other networks are not available. Multi-user / etc/rc2.d command script: / sbin/rc2

3 multi-user, network available multi-user / etc/rc3.d command script: / sbin/rc3

4 user customization does not specify no directory

5 turn off power status console access / etc/rc5.d command script: / sbin/rc5

6 shut down and restart single user / etc/rc6.d command script: / sbin/rc6

S manage tasks or repair system files console access / etc/rcS.d command script: / sbin/rcS

For script files in the / etc/rc#.d directory, K starts with kill,S and starts with start. Ignore any other opening files. K and S must be capitalized and executed in the following numerical order, such as S10 over S12. If the user wants to create a startup script in the / etc/rc#.d directory, and the script ends with .sh, the start stop parameter is not required, otherwise the start and stop parameters need to be submitted.

View runlevel: runlevel or who-r

Switch runlevel: init n (there are several commands for linux: init telinit initctl, etc.)

Init Q or init Q is the init process to reread and process the inittab file immediately

The above is how the guiding process of solaris is, and the editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report