Control has passed from firmware to the bootloader.
Select the normal Linux boot entry.
Which action belongs to the bootloader?
A bootloader loads the selected kernel and initramfs into memory and passes kernel command-line arguments such as root=.
Detailed explanation
Incorrect. Mounting user home directories is a later filesystem and user-space task.
Incorrect. Mounting user home directories is a later filesystem and user-space task.
Incorrect. depmod rebuilds module dependency data in user space.
Incorrect. depmod rebuilds module dependency data in user space.
Correct. Loading the kernel and initramfs and passing arguments are bootloader responsibilities.
Correct. Loading the kernel and initramfs and passing arguments are bootloader responsibilities.
Incorrect. systemd resolves unit dependencies after PID 1 starts.
Incorrect. systemd resolves unit dependencies after PID 1 starts.
Try it yourself
An example you can run in a temporary verification environment.
cat /proc/cmdlineExpected result
現在のカーネルへ渡されたコマンドライン(環境により異なる)Key points
- Load the kernel
- Load initramfs
- Pass kernel arguments
Notes
- Environment: Linux / procfs
- 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.