A Python-Runtime-Based initramfs and Single-File Linux Implementation

Keynote
  • Xinyi Shen A Linux/Python user and student at Shanghai Jincai High School

    Exploring Linux distro building and machine learning. Over 6 years of learning Python, honored in competitions including the Shanghai Youth S&T Innovation Contest and the Lanqiao Cup, with projects shared on GitHub.

    shen-xin-yi

Abstract

An in-depth look at the design and implementation of the open source project mkinitramfs.

Details

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.