Boot Targets and the Default Target

A headless server is set to boot into the graphical target, and its monitoring agent is tied to that target, so it is enabled but never runs. Read the targets, switch between them safely, fix the default, move the agent to the right target and prove it with a reboot.

Skill labintermediate~30 minPro

What you'll do

  • ✓Read the default target, the active targets and what a target pulls in
  • ✓Switch a running system between targets with isolate, and know which targets must never be isolated remotely
  • ✓Change the default target with set-default
  • ✓Explain how WantedBy and enable decide in which target a unit starts, and move a unit to another target
  • ✓Prove a boot configuration with a reboot

Lab outline

  1. 01Read the targets
  2. 02Switch a running system
  3. 03Fix the boot
  4. 04Prove it

Before you start

  • Operate systemd Services
  • Create and Harden a Custom systemd Service

Every lab runs on a real machine of your own in the browser — no installs, nothing to clean up — and checks your work automatically as you go.

← All Linux System Administration labs

Your first machine is
8 seconds away.

Learn by doing on real machines — and give every AI agent one of its own.

Free forever · No credit card · Cancel anytime

Boot Targets and the Default Target — Linux lab | Kube Labs