0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

[Linux][directory] 起動プロセス_/boot, /etc, /lib

Last updated at Posted at 2025-01-20

起動プロセス

詳細

1. BIOS/UEFI

  • 役割: システムファームウェアがブートローダを探して実行。
  • 使用ディレクトリ: なし(ファームウェアレベルの処理)

2. ブートローダ(GRUB/GRUB2)

  • 役割: カーネルと初期RAMディスク(initrd/initramfs)を読み込む。
  • 使用ディレクトリ:
    • /boot/ → ブートローダの設定やカーネルイメージを格納。
    • /boot/grub/ → GRUB の設定ファイルやモジュール。

3. カーネル

  • 役割: カーネルをメモリにロードし、initrd を展開。
  • 使用ディレクトリ:
    • /boot/vmlinuz → カーネルイメージ。
    • /boot/initrd.img → 初期 RAM ディスク。

4. 初期化システム(init system)

  • 役割: システムの基本的な設定を行い、サービスを開始。
  • 使用ディレクトリ:
    • /etc/ → 設定ファイル全般。
    • /lib/ → 必要なライブラリ。
    • /sbin/ → システム管理ツール。
    • /usr/lib/ → その他のライブラリ。

参考リンク

Ping-t

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?