Skip to content

Instantly share code, notes, and snippets.

@starquake
Last active November 3, 2023 19:37
Show Gist options
  • Save starquake/856b05dc88d68e7509e23f8995f7ac5e to your computer and use it in GitHub Desktop.
Save starquake/856b05dc88d68e7509e23f8995f7ac5e to your computer and use it in GitHub Desktop.
Silent boot Debian 12

Silent Boot in Debian 12

Set this in your /etc/default/grub file:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash loglevel=3 systemd.show_status=auto rd.udev.log_level=3 vt.global_cursor_default=0"
  • quiet: Disable most log messages.
  • splash: Make sure plymouth shows the splash screen.
  • loglevel: Only show messages with loglevel 3 (KERN_ERR) or lower. Lower levels are more serious.
  • systemd.show_status=auto: Suppress succesfull messages.
  • rd.udev.log_level=3: Only show messages with loglevel 3 (KERN_ERR) or lower. Lower levels are more serious.
  • vt.global_cursor_default=0: Do not show the cursor. (Prevents blinking cursor.)

Update your group config by running this as root:

update-grub

To make sure the blinking cursor is back when logging in, run this as root:

setterm -cursor on >> /etc/issue

This adds a terminal control code in the banner that is shown above the login prompt which re-enables the cursor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment