Liangxu Linux
Liangxu Linux
Jun 23, 2025 · Fundamentals

How to Build a Minimal Root Filesystem for Embedded Linux with BusyBox

This guide explains how to create a minimal root filesystem for an embedded Linux board using BusyBox, covering flash file system options, required directory structure, cross‑compilation setup, building and installing BusyBox, adding init scripts, creating a ramdisk image, and configuring U‑Boot to boot from NFS or ramdisk.

Filesystembusyboxcross-compilation
0 likes · 17 min read
How to Build a Minimal Root Filesystem for Embedded Linux with BusyBox
Liangxu Linux
Liangxu Linux
Jan 25, 2025 · Operations

Auto‑Create a User on Boot by Editing rootfs shadow & passwd Files

This guide explains how to automatically add a user with a preset password on an embedded Linux device at boot by manually creating the user once, extracting its entries from /etc/shadow and /etc/passwd, and inserting those entries into the buildroot target filesystem before flashing.

AutomationEmbedded Linuxbuildroot
0 likes · 4 min read
Auto‑Create a User on Boot by Editing rootfs shadow & passwd Files
Liangxu Linux
Liangxu Linux
Oct 27, 2024 · Fundamentals

How to Build a Custom Root Filesystem for Embedded Linux with BusyBox

This guide explains the concepts of Linux file systems, compares root and regular file systems, lists common embedded flash file systems, outlines required root‑FS directories, and provides a step‑by‑step procedure—including cross‑compilation, BusyBox configuration, mounting, and ramdisk creation—to build and test a minimal root filesystem for an embedded device.

CrossCompilationLinuxbusybox
0 likes · 16 min read
How to Build a Custom Root Filesystem for Embedded Linux with BusyBox
Liangxu Linux
Liangxu Linux
Dec 11, 2023 · Fundamentals

How to Squeeze Extra RAM on a Resource‑Constrained Embedded Linux Device

This article examines memory usage on a Junzheng T31ZC embedded Linux board, breaks down physical and kernel allocations, and presents practical techniques—such as trimming kernel symbols, stripping ELF files, optimizing rootfs, and manually dropping caches—to reclaim valuable RAM without adding hardware.

Linuxdrop_cachesembedded
0 likes · 13 min read
How to Squeeze Extra RAM on a Resource‑Constrained Embedded Linux Device
Open Source Linux
Open Source Linux
May 9, 2022 · Operations

How to Slash Embedded Linux Boot Time on BeagleBone Black by 1.5 Seconds

This article walks through practical techniques—compiler tuning, application trimming, init and rootfs optimization, kernel configuration tweaks, and U‑Boot Falcon mode—to reduce the boot time of a BeagleBone Black Linux system from over nine seconds to just 2.4 seconds, while also shrinking the filesystem size.

BeagleBone BlackEmbedded LinuxKernel Tuning
0 likes · 10 min read
How to Slash Embedded Linux Boot Time on BeagleBone Black by 1.5 Seconds
Programmer DD
Programmer DD
Jan 23, 2021 · Mobile Development

How a 16‑Year‑Old Turned a Broken iPhone 7 into an Ubuntu Server

Teen developer Daniel Rodriguez repurposes a non‑functional iPhone 7 by jailbreaking it, building a custom Ubuntu 20.04 root filesystem, compiling a tailored kernel, and using projectsandcastle and PongoOS to boot Linux, effectively turning the device into a networked ARM64 server.

KernelLinuxPongoOS
0 likes · 9 min read
How a 16‑Year‑Old Turned a Broken iPhone 7 into an Ubuntu Server
Liangxu Linux
Liangxu Linux
Jan 20, 2021 · Fundamentals

Master Embedded Linux: From Cross‑Compilation to Bootloader and RootFS

This guide walks through the complete workflow of embedded Linux system porting, covering the rationale and setup of a cross‑compilation environment, bootloader selection and migration, kernel configuration and build, and root filesystem creation, while offering practical commands, tool recommendations, and troubleshooting tips.

Embedded Linuxbootloadercross-compilation
0 likes · 33 min read
Master Embedded Linux: From Cross‑Compilation to Bootloader and RootFS