👨‍💻 Gather 'round, aspiring kernel wizards! Jess Espino takes on the Herculean task of unraveling the mysteries of the Linux boot process 🥱 in only 36 minutes! Perfect for those who crave a deep dive into the world's most captivating snooze fest, because let's be honest, who doesn't dream about kernel internals? 😴🔧
https://internals-for-interns.com/posts/linux-kernel-startup/ #LinuxBoot #KernelInternals #TechEducation #DeepDive #AspiringWizards #HackerNews #ngated
The Linux Kernel Startup | Internals for Interns

Have you ever wondered what really happens between the moment you press the power button and the moment your login screen shows up? That gap—usually some seconds—hides one of the most intricate initialization sequences in computing. Today I want to walk you through it. This is the first article in a series where I’ll try to make sense of the Linux kernel internals together with you. We’ll talk about how Linux boots, how it manages processes and memory, how it deals with hardware, and so on. If you’ve ever been curious about what’s happening under the hood, you’re in the right place.

Internals for Interns

We did a few small things to polish https://linuxboot.org today.

That includes a link to our reestablished Matrix chat.

Come join the #LinuxBoot channel if you're interested! 🥳

Home

LinuxBoot is the concept of using a Linux kernel and initramfs as a bootloader. The linuxboot repository contains a build system implementing LinuxBoot primarily targeting servers and PCs, which started as NERF in January 2017 at Google. Why? Improves boot reliability by replacing lightly-tested firmware drivers with hardened Linux drivers. Improves boot time by removing unnecessary code. Typically makes boot 20 times faster. Allows customization of the initrd runtime to support site-specific needs (both device drivers as well as custom executables). Proven approach for almost 20 years in military, consumer electronics, and supercomputing systems – wherever reliability and performance are paramount. LinuxBoot Book 📖 The official documentation for LinuxBoot is the LinuxBoot Book, where you can find information on how LinuxBoot works, how to build the various flavours (e.g. coreboot/LinuxBoot or UEFI PEI/LinuxBoot), the u-root ramfs builder, etc.

LinuxBoot

Title: P2: OS Installation Memos. [2025-03-02 Sun]

- Firstly try Legacy BIOS. Don't disable anything in
kernel.

For MS Windows 🪟: configure firewall to block outgoin
and store backups at separate partition.
🤡 #dailyreport #gentoo #linux #linuxkernel #linuxboot #installation #osinstallation #microsoft #wifi

Title: P1: OS Installation Memos. [2025-03-02 Sun]

firmware analspy. https://en.wikipedia.org/wiki/Comparison_of_open-source_wireless_drivers
- Ensure that SSD is supported (NVME) in kernel
- To speedup kernel building disable:
+ Network device support > Ethernet driver support and
Wireless LAN
+ HID - > devices drivers #dailyreport #gentoo #linux #linuxkernel #linuxboot #installation #osinstallation #microsoft #wifi

Comparison of open-source wireless drivers - Wikipedia

Title: P0: OS Installation Memos. [2025-03-02 Sun]

#installation #osinstallation #microsoft #wifi
For Gentoo Linux 🐧:
- wifi/bluetooth adapter trigger loading of binary
firmware blobs from installUSB, it is better to remove
it before installation. Driver may be fully opensource
or requre #installation #osinstallation #microsoft #wifi #dailyreport #gentoo #linux #linuxkernel #linuxboot #installation #osinstallation #microsoft #wifi

Title: P3: Install Gentoo meme [2025-02-24 Mon]

- Main password should not be visible and located at
working machine. #dailyreport #gentoo #linux #administration #security #encryption #privacy #luks #dracut #linuxkernel #linuxboot #grub

Title: P2: Install Gentoo meme [2025-02-24 Mon]

- dmesg > dmesg_installcd
- cp /proc/config.gz livecd-config.gz
- zgrep CONFIG_ livecd-config.gz
- lscpu

My principles:
- Don't connect machines to each other, first steps
should be most careful.
- Don't put hard disk with different OS at the same time
in a single machine. #dailyreport #gentoo #linux #administration #security #encryption #privacy #luks #dracut #linuxkernel #linuxboot #grub

Title: P1: Install Gentoo meme [2025-02-24 Mon]

partition with deattached header. Partition looks like
not formatted, totally hidden.

Here is the first steps that you should do before
configuring Linux kernel for custom build:
- install usbutils pciutils
- lspci -k > lspci_installcd
- lsusb > lsusb_installcd
- lsmod > lsmod_installcd #dailyreport #gentoo #linux #administration #security #encryption #privacy #luks #dracut #linuxkernel #linuxboot #grub

Title: P2: P0: Install Gentoo meme [2025-02-24 Mon]

I use USB stick with encrypted password and boot
partition that unlock main SSD partition and boot. I use
BTRFS filesystem with submodules on LUKS2 encrypted #encryption #privacy #luks #dracut #linuxkernel #linuxboot #grub #dailyreport #gentoo #linux #administration #security #encryption #privacy #luks #dracut #linuxkernel #linuxboot #grub