archlinux启动过程

本文详细介绍了rc.init文件的启动过程,包括加载配置文件、初始化虚拟文件系统、启动基础服务等关键步骤,并概述了硬件配置及文件系统的挂载流程。

rc.init文件启动过程

  1. sources the /etc/rc.conf script.
  2. sources the /etc/rc.d/functions script.
  3. displays a welcome message.
  4. mounts various virtual file systems.
  5. creates dummy device files.
  6. starts minilogd.
  7. outputs messages from dmesg.
  8. configures the hardware clock.
  9. empties the /proc/sys/kernel/hotplug file.
  10. starts udev and checks for udev events .
  11. starts the loopback interface.
  12. loads modules from the MODULES array defined in rc.conf.
  13. configures RAID and encrypted filesystem mappings.
  14. runs a forced check of partitions (fsck) if the /etc/fstab file contains instructions to do so.
  15. mounts local partitions and swap (networked drives are not mounted before a network profile is up).
  16. activates swap areas.
  17. sets the hostname, locale and system clock as defined in rc.conf.
  18. removes various leftover/temporary files, such as /tmp/*.
  19. configures the locale, console, and keyboard mappings.
  20. sets the console font.
  21. writes output from dmesg to /var/log/dmesg.log.

References

https://wiki.archlinux.org/index.php/Arch_Boot_Process

转载于:https://www.cnblogs.com/sunt/articles/2288648.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值