How to enable boot messages, kernel messages and other logs of various services to be printed on screen during boot up?
5 Answers
You'd need to remove the kernel boot parameters quiet and splash from the linux line in GRUB:
- 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).
- 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.
- Go down to the line starting with
linuxand remove the parametersquietandsplash. - Now press Ctrl + x to boot.
To make this change permanent:
From a terminal (or after pressing Alt + F2) run:
gksudo gedit /etc/default/gruband enter your password.
Find the line starting with
GRUB_CMDLINE_LINUX_DEFAULTand remove the parametersquietandsplash.Save the file and close the editor.
Finally, start a terminal and run:
sudo update-grubto update GRUB's configuration file.
- 74,715
- 66,086
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.
- 5,988
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.
- 16,703
- 13,436
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
- 271