Questions tagged [root-filesystem]

The root filesystem (/) contains the kernel and utilities needed to boot a system.

The root filesystem is the filesystem containing the root directory /. Other filesystems can subsequently be attached as subtrees of this. The program is loaded from the root filesystem and may kickstarts a process to mount other filesystems.

Traditionally the root filesystem is the first to be mounted. On Linux, it is common to first mount another filesystem from an image in memory, either or . This initial filesystem contains additional software which may be needed to access the root filesystem, for example if the device containing the root filesystem requires additional drivers, or if the root filesystem is encrypted and the user must enter a passphrase to decrypt it. Once the root filesystem is accessible, it is mounted and the normal boot process starts with .

280 questions
1
vote
0 answers

Is it possible to have (at least some of) root directory contents moved to subdirectory?

Is there any technique or tool that makes it possible to have everything but home directories moved to /linux-5.10 for example and still have the system behaving like if chrooted into that directory? ls / /linux-5.10 /root /home which…
1
vote
1 answer
0
votes
2 answers

Contents of /var/run persist across reboots

Does it mean my distro is broken (it's a custom distro for a board I'm using, it could easily be buggy)? Can I tweak this behaviour?