Add default debugging or emergency boot option for systemd in grub2

Solution Verified - Updated -

Issue

  • Any chance of having a debug mode option already setup in /etc/grub.d/10_linux (or wherever is appropriate) as it's tedious and prone to user errors to:
    • a) add systemd.log_level=debug systemd.log_target=kmsg log_buf_len=1M to the kernel command line; and
    • b) enable the debug-shell.service.

Environment

  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.