How to do it...

To begin with, you need to change the kernel options at the boot time. If you are using GRUB as the bootloader, it will by default boot the kernel with the quiet splash option. However, you don't want that to happen, so you need to change the kernel options:

  1. First, create a backup of /etc/default/grub:
  1. Now, open any editor of your choice to edit /etc/default/grub:

Find the line GRUB_CMDLINE_LINUX_DEFAULT="quiet splash and replace it with GRUB_CMDLINE_LINUX_DEFAULT="debug ignore_loglevel":

  1. Now run the command to update ...

Get Practical Linux Security Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.