This is an in-depth analysis of the design and implementation of the open-source project mkinitramfs. The project uses Python to refactor the initramfs boot logic, packaging the Linux system and Python runtime into a single EFI file, enabling direct booting without a bootloader. It also leverages OverlayFS technology to deliver a complete distribution experience identical to a traditional Linux installation within a single-file operating system architecture.