{
    "mode": "man",
    "parameter": "systemd-debug-generator",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/systemd-debug-generator/8/json",
    "generated": "2026-05-30T06:05:17Z",
    "synopsis": "/lib/systemd/system-generators/systemd-debug-generator",
    "sections": {
        "NAME": {
            "content": "systemd-debug-generator - Generator for enabling a runtime debug shell and masking specific\nunits at boot\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "/lib/systemd/system-generators/systemd-debug-generator\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "systemd-debug-generator is a generator that reads the kernel command line and understands\nthree options:\n\nIf the systemd.mask= or rd.systemd.mask= option is specified and followed by a unit name,\nthis unit is masked for the runtime, similar to the effect of systemctl(1)'s mask command.\nThis is useful to boot with certain units removed from the initial boot transaction for\ndebugging system startup. May be specified more than once.  rd.systemd.mask= is honored only\nby initial RAM disk (initrd) while systemd.mask= is honored only in the main system.\n\nIf the systemd.wants= or rd.systemd.wants= option is specified and followed by a unit name, a\nstart job for this unit is added to the initial transaction. This is useful to start one or\nmore additional units at boot. May be specified more than once.  rd.systemd.wants= is honored\nonly by initial RAM disk (initrd) while systemd.wants= is honored only in the main system.\n\nIf the systemd.debugshell or rd.systemd.debugshell option is specified, the debug shell\nservice \"debug-shell.service\" is pulled into the boot transaction and a debug shell will be\nspawned during early boot. By default, /dev/tty9 is used, but a specific tty can also be set,\neither with or without the /dev/ prefix. Note that the shell may also be turned on\npersistently by enabling it with systemctl(1)'s enable command.  rd.systemd.debugshell= is\nhonored only by initial RAM disk (initrd) while systemd.debugshell is honored only in the\nmain system.\n\nsystemd-debug-generator implements systemd.generator(7).\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "systemd(1), systemctl(1), kernel-command-line(7)\n\n\n\nsystemd 249                                                               SYSTEMD-DEBUG-GENERATOR(8)",
            "subsections": []
        }
    },
    "summary": "systemd-debug-generator - Generator for enabling a runtime debug shell and masking specific units at boot",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "systemd",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/systemd/1/json"
        },
        {
            "name": "systemctl",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/systemctl/1/json"
        },
        {
            "name": "kernel-command-line",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/kernel-command-line/7/json"
        },
        {
            "name": "SYSTEMD-DEBUG-GENERATOR",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/SYSTEMD-DEBUG-GENERATOR/8/json"
        }
    ]
}