How to enable boot messages to be printed on screen during boot up?

141,218

Solution 1

You'd need to remove the kernel boot parameters quiet and splash from the linux line in GRUB:

  1. Start your system and wait for the GRUB menu to show (if you don't see a GRUB menu, press and hold the left Shift key right after starting the system).
  2. Now highlight the kernel you want to use, and press the e key. You should be able to see and edit the commands associated with the highlighted kernel.
  3. Go down to the line starting with linux and remove the parameters quiet and splash.
  4. Now press Ctrl + x to boot.


To make this change permanent:

  1. From a terminal (or after pressing Alt + F2) run:

    gksudo gedit /etc/default/grub
    

    and enter your password.

  2. Find the line starting with GRUB_CMDLINE_LINUX_DEFAULT and remove the parameters quiet and splash.

  3. Save the file and close the editor.

  4. Finally, start a terminal and run:

    sudo update-grub
    

    to update GRUB's configuration file.

Solution 2

Edit you bootloader kernel command-line and remove quiet argument. You may also want to remove splash argument to disable graphical animation during boot to be able to see the console with messages.

Solution 3

In more recent releases, including 12.04 and 12.10 it is also necessary to either delete, or change the GFXMODE line to text, as well as removing quiet and splash. (See the other answers.)

When making the changes permanent find the commented line:

#GRUB_GFXMODE=640x480

and remove the beginning #, so it is no longer a comment, and also set its value to text.

With the latter change the menu will be white on black in a larger text font, and therefore hold fewer entries, but the messages should be visible once an item is selected for booting.

Solution 4

Press Esc during the initial stage of booting.

Solution 5

Remove these 3 words/variable from linux command line:

quiet splash $vt_handoff

End add the argument to force verbosing:

debug

My linux line looks like this:

linux /boot/vmlinuz-4.15.0-142-generic root=UUID=14xxee5-1e84-4xx5-9e17-a6xx5 ro debug
Share:
141,218

Related videos on Youtube

nixnotwin
Author by

nixnotwin

Updated on September 17, 2022

Comments

  • nixnotwin
    nixnotwin over 1 year

    How to enable boot messages, kernel messages and other logs of various services to be printed on screen during boot up?

    • Melebius
      Melebius about 4 years
      Voting to reopen. Both this and the target question are not specific but the answers here also provide a non-permanent solution (which is the only available if boot does not succeed.)
  • Albert
    Albert about 4 years
    I this still the recommended way? I remember that there is a keyboard shortcut you can press already during the boot process, during the splash screen, which will switch to the boot messages.
  • Sergio Abreu
    Sergio Abreu over 2 years
    There is a variable $vt_handoff passed as argument in the linux line, that must be removed manually and update-grub readds it... so the solution is editing grub.cfg manually also.