
GRUB, or the Grand Unified Bootloader, is a crucial component of many Linux systems. It allows users to choose between multiple operating systems or kernel configurations at boot time. One common GRUB setting is the “quiet splash” option, which suppresses most boot messages and displays a splash screen instead. However, there might be times when you want to remove this option to view the full boot messages. This article will guide you through the process of permanently removing “quiet splash” from GRUB.
To permanently remove the "quiet splash" option from GRUB, you need to edit the GRUB configuration file located at /etc/default/grub
. Simply open the file in a text editor with root privileges, remove "quiet splash" from the GRUB_CMDLINE_LINUX_DEFAULT
parameter, save the file, and update GRUB using the sudo update-grub
command.
Understanding GRUB and “quiet splash”
Before we proceed, it’s important to understand what GRUB and “quiet splash” are. GRUB is the bootloader used by Ubuntu and many other Linux distributions. It’s the first software that runs when your computer starts and is responsible for loading the kernel of your operating system and then transferring control to it.
The “quiet splash” option is a boot parameter used by GRUB. The “quiet” option suppresses most of the kernel messages during boot up. The “splash” option enables the splash screen that is seen during boot up.
Accessing the GRUB Configuration File
To permanently remove “quiet splash”, you need to edit the GRUB configuration file. This file is located at /etc/default/grub
and can be opened using a text editor with root privileges. Here’s how:
- Open a terminal by pressing
Ctrl+Alt+T
. - Type the following command to open the GRUB configuration file in the gedit text editor:
sudo gedit /etc/default/grub
The sudo
command allows you to run programs with the security privileges of another user (by default, the superuser). gedit
is a text editor which comes pre-installed with the GNOME desktop environment.
If you’re using a version of Ubuntu newer than 12.10, you may need to use sudo -i gedit /etc/default/grub
instead.
Editing the GRUB Configuration File
Once you’ve opened the GRUB configuration file, you’ll see a line that looks like this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
This line may also contain additional options. The GRUB_CMDLINE_LINUX_DEFAULT
parameter defines the kernel parameters that GRUB will use by default.
To disable the “quiet splash” option, remove “quiet splash” from this line so it becomes:
GRUB_CMDLINE_LINUX_DEFAULT=""
After making this change, save the file and close the text editor.
Updating GRUB
The final step is to update GRUB so that it uses the new configuration. This can be done by running the following command in the terminal:
sudo update-grub
The update-grub
command is a script which searches for kernel images and creates a new grub configuration file.
Conclusion
By following these steps, you can permanently remove the “quiet splash” boot option from GRUB. This will allow you to view the full kernel output during boot, which can be useful for troubleshooting system issues. Remember to be careful when editing system files, as incorrect changes can cause system instability or boot failures. Always make sure to back up any files before editing them.
The "quiet splash" option in GRUB suppresses most of the kernel messages during boot up and enables a splash screen to be displayed instead.
You can access the GRUB configuration file by opening a terminal and typing sudo gedit /etc/default/grub
. This will open the file in the gedit text editor with root privileges.
Once you have opened the GRUB configuration file, locate the line GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
. Remove "quiet splash" from this line so it becomes GRUB_CMDLINE_LINUX_DEFAULT=""
. Save the file and close the text editor.
To update GRUB with the new configuration, run the command sudo update-grub
in the terminal. This will search for kernel images and create a new GRUB configuration file.
Removing the "quiet splash" option allows you to view the full kernel output during boot, which can be helpful for troubleshooting system issues. It provides more detailed information about the boot process.