Search notes:

Linux boot process

Interesting source files and functions

arch/x86/boot/header.S start_of_setup
arch/x86/boot/main.c main
arch/x86/boot/compressed/head_64.S startup_64 or startup_32?
arch/x86/boot/compressed/misc.c decompress_kernel
init/main.c start_kernel()

Log files

Messages and errors occuring during the boot process are written into /var/log/boot.log. Other messages are written to /var/log/dmesg.

TODO

initramfs

initramfs is a fileystem that solves a chicken-egg problem: the kernel is supposed to load storage drivers, but those are located on disk which cannot be access without the storage drivers already loaded.
This filesystem contains the essential drivers and is loaded into memory as part of the boot process.

See also

Apparently, /etc and /usr is needed in the boot process. Thus, they need to be in the root partition.
booting Linux
Booting a PC

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Linux/ke...', 1788389921, '216.73.217.21', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Linux/kernel/boot-process(68): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78