Skip to main content

Configuring a Default Boot Target

Hands-On Lab

 

Photo of Kenny Armstrong

Kenny Armstrong

Linux Training Architect II in Content

Length

00:30:00

Difficulty

Beginner

The LPIC-1 exam expects the candidate to know how to change a default target for a Linux computer using systemd. This exercise will assist you in your practice of determining what the default target is, and changing it to a new one.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.

Configuring a Default Boot Target

Introduction

The LPIC-1 exam expects the candidate to know how to change a default target for a Linux computer using systemd. This exercise will assist you in your practice of determining what the default target is, and changing it to a new one.

Check the Default Target

The current default target is set to multi-user.target. Use the appropriate command to verify this:

systemctl get-default

Change the Default Target

The administrator will need to change the default target so that the computer boots into a graphical desktop:

systemctl set-default graphical.target

Conclusion

Congratulations, you've completed this hands-on lab!