boot_process
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| boot_process [2026-02-22 03:51 UTC (3 months ago)] – whitetailani | boot_process [2026-02-26 06:02 UTC (3 months ago)] (current) – Added newlines after steps 3 and 4 to fix formatting benjamin | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| 1. U-Boot starts up and loads the kernel from the [[storage# | 1. U-Boot starts up and loads the kernel from the [[storage# | ||
| - | 2. systemd attempts to mount the [[storage# | + | 2. The kernel loads systemd from / |
| - | 3. The kernel calls to /sbin/init, which later calls '' | + | 3. systemd attempts to mount the [[storage# |
| - | 4a. / | + | 4. The kernel calls to /sbin/init, which later calls '' |
| - | 4b. initexec.sh ensures necessary directories are created, then checks and sets the device' | + | 5a. / |
| - | 4c. It calls a function '' | + | 5b. initexec.sh ensures necessary directories are created, then checks and sets the device' |
| - | 4d. It checks if '' | + | 5c. It calls a function '' |
| - | 4e. It calls every script located in / | + | 5d. It checks if '' |
| + | 5e. It calls every script located in / | ||
| It is trivially easy to hijack this init sequence by modifying initexec.sh or just inserting a script into / | It is trivially easy to hijack this init sequence by modifying initexec.sh or just inserting a script into / | ||
boot_process.1771732306.txt.gz · Last modified: by whitetailani
