SYSTEMD-FIRSTBOOT(1) systemd-firstboot SYSTEMD-FIRSTBOOT(1) (NAME) systemd-firstboot, systemd-firstboot.service - (SYNOPSIS) systemd-firstboot [OPTIONS...] systemd-firstboot.service (DESCRIPTION) systemd-firstboot.service << >> (First Boot) (factory reset) . systemd(1) machine-id(5) systemd.preset(5) (preset) . systemd-firstboot.service . ConditionFirstBoot=yes /etc/ systemd.unit(5) . . systemd-firstboot . : o (machine ID) o LANG= LC_MESSAGES o o o o (machine tags) o o ('root') . . localectl(1) timedatectl(1) hostnamectl(1) . systemd-firstboot (mount) . systemd-firstboot . (OPTIONS) : --root=root . root . . 216. --image=path . . --root= . GPT UAPI.2 Discoverable Partitions Specification[1]. systemd-nspawn(1) . 246. --locale=LOCALE, --locale-messages=LOCALE LANG= LC_MESSAGES . "de_DE.UTF-8". locale.conf(5) . 216. --keymap=KEYMAP . "de-latin1". "KEYMAP" vconsole.conf(5) . 236. --timezone=TIMEZONE . "Europe/Berlin". localtime(5) . 216. --hostname=HOSTNAME . DNS . hostname(5) . 216. --setup-machine-id . machine-id(5) . --root= --image= . machine-id systemd- machine-id-commit.service(8) . 216. --machine-id=ID . --setup-machine-id . 216. --machine-tags=TAG[:TAG...] (:) . . (ASCII) "-" "." . TAGS= machine-info(5) . tags hostnamectl(1) ConditionMachineTag=/AssertMachineTag= systemd.unit(5) . . 261. --root-password=PASSWORD, --root-password-file=PATH, --root-password-hashed=HASHED_PASSWORD . passwd(5) shadow(5) . : --root-password= --root-password-file= --root-password-hashed= . shadow(5) . (plaintext) ps(1) . 216. --root-shell=SHELL . passwd(5) . 246. --kernel-command-line=CMDLINE . /etc/kernel/cmdline kernel- install(8) . 246. --prompt-locale, --prompt-keymap, --prompt-timezone, --prompt-hostname, --prompt-root-password, --prompt-root-shell . . 216. --prompt . --prompt-locale --prompt-keymap --prompt-timezone --prompt-hostname --prompt-root-password --prompt-root-shell . 216. --prompt-keymap-auto TTY --prompt-keymap . . 259. --copy-locale, --copy-keymap, --copy-timezone, --copy-root-password, --copy-root-shell . --root= --image= . 216. --copy . --copy-locale --copy-keymap --copy-timezone --copy-root-password --copy-root-shell . 216. --force . systemd-firstboot . systemd-firstboot "root" /etc/passwd /etc/shadow . 246. --reset systemd-firstboot . . systemd-firstboot . 254. --delete-root-password . . 246. --welcome= . . false . 246. --chrome= . (chrome) false . 259. --mute-console= . true systemd-firstboot . false . 259. -h, --help . --version . (CREDENTIALS) systemd-firstboot ImportCredential=/LoadCredential=/SetCredential= ( systemd.exec(5) ). : passwd.hashed-password.root, passwd.plaintext-password.root . systemd-sysusers.service(8) . 249. passwd.shell.root . systemd- sysusers.service(8) . 249. firstboot.locale, firstboot.locale-messages . 249. firstboot.keymap . vconsole.keymap systemd-vconsole- setup.service(8) : firstboot.keymap ( ) /etc/vconsole.conf systemd-vconsole-setup vconsole.keymap ( vconsole.conf ). 249. firstboot.timezone . 249. firstboot.hostname . . system.hostname . 261. firstboot.machine-tags (:) --machine-tags= . TAGS= /etc/machine-info ( ) . . 261. systemd-firstboot.service . /etc/ "systemd" : # systemd-nspawn --image=... --set-credential=firstboot.locale:de_DE.UTF-8 ... . . (EXIT STATUS) 0 . (KERNEL COMMAND LINE) systemd.firstboot= on . off systemd-firstboot.service . 233. (SEE ALSO) systemd(1), locale.conf(5), vconsole.conf(5), localtime(5), hostname(5), machine-id(5), shadow(5), systemd-machine-id-setup(1), localectl(1), timedatectl(1), hostnamectl(1) (NOTES) 1. UAPI.2 Discoverable Partitions Specification https://uapi- group.org/specifications/specs/discoverable_partitions_specification systemd 261.2 SYSTEMD-FIRSTBOOT(1)