Boot Procedure
Updated Mar 27, 2021 ·
Tasks
- Configure your system to boot in multi-user target by default.
- Persistently remove the options that hide startup messages while booting.
Solution
1. Configure mult-user target
Check the current default target:
sudo systemctl get-default
Set the multi-user target as the default:
sudo systemctl set-default multi-user.target
Verify the default target is set correctly:
sudo systemctl get-default
Ensure that the output confirms multi-user.target
as the default target.
sudo systemctl get-default
2. Hide startup messages
By default, some Linux distributions hide startup messages during boot for a cleaner boot experience. To show these messages persistently, edit the GRUB configuration file:
sudo nano /etc/default/grub
Find the line containing GRUB_CMDLINE_LINUX_DEFAULT
. Look for a line similar to:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
Remove quiet
and splash
from the line to display startup messages. After editing the file, update the GRUB configuration:
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
Or, for UEFI-based systems:
sudo grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg
After updating GRUB, reboot your system to apply the changes:
sudo reboot