Root file system loading method and related apparatus
By using a ROMFS image file as the root file system, the virtual address corresponding to the initial physical address is directly used as the starting address of the block device, reducing copy operations and solving the problem of excessively long kernel startup time under the RAMDISK mechanism, thus achieving fast kernel startup.
WO2026153462A1PCT designated stage Publication Date: 2026-07-23HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Filing Date
- 2026-01-16
- Publication Date
- 2026-07-23
AI Technical Summary
Technical Problem
Existing technologies, under the RAMDISK mechanism, result in excessively long boot times due to multiple image file copying operations during kernel startup, failing to meet the requirements for fast startup.
Method used
By using a ROMFS image file as the root file system, the virtual address corresponding to the initial physical address is directly used as the starting address of the block device, reducing copy operations and improving boot speed by utilizing the read-only nature of the ROMFS image file.
Benefits of technology
By reducing copy operations, the kernel startup time is shortened, enabling fast kernel startup in read-only application scenarios that require rapid startup.
✦ Generated by Eureka AI based on patent content.
Smart Images

Figure CN2026072972_23072026_PF_FP_ABST
Abstract
Disclosed in the embodiments of the present application are a root file system loading method and a related apparatus. In the method, a part of a virtual memory is simulated as a random access memory disk (RAMDISK) mechanism used by a block device. First, a read-only memory file system (ROMFS) mirror image file on an initial physical address is acquired; and then, a virtual address corresponding to the initial physical address of the ROMFS mirror image file is directly used as the starting address of the block device, such that the copy operation of copying the ROMFS mirror image file to the block device is executed on the initial physical address, thereby formatting the block device. Then, a kernel can be booted by means of mounting the ROMFS mirror image file in the block device as a root file system. By using the ROMFS image file as a root file system and reducing copy operations during a boot process, the kernel boot time is shortened in read‑only application scenarios requiring fast boot, thereby achieving fast kernel boot.
Need to check novelty before this filing date? Find Prior Art