Investigate a severe root-filesystem boot problem in a state even more minimal than rescue.
Which target is generally the most minimal?
emergency.target is more minimal than rescue.target and is used for severe boot failures and recovery work.
Detailed explanation
Incorrect. graphical.target is a full GUI-oriented state.
Incorrect. graphical.target is a full GUI-oriented state.
Incorrect. multi-user.target starts a broader multi-user environment.
Incorrect. multi-user.target starts a broader multi-user environment.
Incorrect. rescue.target provides more services than emergency.target.
Incorrect. rescue.target provides more services than emergency.target.
Correct. emergency.target is the minimal emergency environment.
Correct. emergency.target is the minimal emergency environment.
Try it yourself
An example you can run in a temporary verification environment.
systemctl cat emergency.target 2>/dev/null | head || trueExpected result
emergency.targetのunit定義の一部Key points
- emergency.target
- rescue.target
- Minimal environment
Notes
- Environment: systemd unit定義の読み取り
- 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.