The root filesystem is on LVM, so storage drivers and tools are needed before the real root filesystem is available.
What is the role of initramfs?
initramfs is an in-memory early userspace that provides drivers and tools needed to locate and mount the final root filesystem.
Detailed explanation
Incorrect. User home directories are stored on the normal root or data filesystems.
Incorrect. User home directories are stored on the normal root or data filesystems.
Incorrect. UEFI firmware is separate from initramfs.
Incorrect. UEFI firmware is separate from initramfs.
Incorrect. initramfs is temporary early userspace, not a permanent service environment.
Incorrect. initramfs is temporary early userspace, not a permanent service environment.
Correct. It supplies the early drivers and processing needed to make the real root available.
Correct. It supplies the early drivers and processing needed to make the real root available.
Try it yourself
An example you can run in a temporary verification environment.
ls -1 /boot/initr* 2>/dev/null | head || trueExpected result
閲覧可能ならinitramfs/initrd imageの候補Key points
- Early userspace
- Root filesystem
- Storage driver
Notes
- Environment: 一般的なLinux boot構成
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.