Silent boot

From ArchWiki
Revision as of 05:45, 18 November 2012 by Hendry (talk | contribs) (remove grub nonense, that console= stuff does not work)
Jump to navigation Jump to search

This page is for those who prefer to limit the verbosity of their system to a strict minimum, either for aesthetics or other reasons. Following this guide will remove all text from the bootup process.


Your /boot/syslinux/syslinux.cfg should look something like:

   $ grep APPEND /boot/syslinux/syslinux.cfg | head -n1
   APPEND root=/dev/sda1 ro 5 init=/usr/lib/systemd/systemd quiet vga=current

vga=current is the magic kernel argument not to do something crazy like:

Configure your systemd getty service like so:

   x220:~$ grep ExecStart /usr/lib/systemd/system/getty@.service
   ExecStart=-/sbin/agetty -i -a YOUR_USERNAME %I 38400

To remove lastlog message you need to comment out _lastlog_ in /etc/pam.d/login:

    #session                optional

To hide any kernel messages from the console use this tip:

   $ grep ^kernel.printk /etc/sysctl.conf 
   kernel.printk = 3 3 3 3

Outstanding Issues: