2 ms·
Many thanks for the detailed response. This is probably the part that was missing in my mind >The kernel cmdline specifies which disk contains the root filesys
by Havoc 3y ago
Many thanks for the detailed response. This is probably the part that was missing in my mind
>The kernel cmdline specifies which disk contains the root filesystem.
- jakogut 3y agoAbsolutely. It's a part of the kernel I find very interesting. Here's a related bit from the kernel docs that describes the initramfs and switch_root in more detail. https://www.kernel.org/doc/Documentation/filesystems/ramfs-rootfs-initramfs.rst https://www.kernel.org/doc/Documentation/filesystems/ramfs-r... Interestingly, there's even a mechanism for leaving programs running even after exiting the initramfs.