Linux

Grub: How to Make screen splash longer

This guide will show you how to make screen splash longer. This usually happen when one of vps customer showing dracut or current kernel is error somehow. That’s why we need to reload earlier version of kernel. But the question is, the splash screen kernel selection is too fast!

So the solution is boot the VPS to rescue mode and set the timeout splash screen longer. Default is 5 seconds. I would suggest 10 seconds or 20 seconds.

Set Rescue Mode

Go to SolusVM > Rescue Mode > Choose Kernel 4.x > Login to that temporary kernel SSH.

Mount the Disk

Now attach the disk to current kernel path. Create the temporary folder first for mounting point. We are goint to mount it to /mnt for example.

mount /dev/vda1 /mnt

Backup the configuration

Now we need to backup current configuration just in case. In this case, the command should be like these :

cp -p /mnt/boot/grub2/grub.cfg /mnt/boot/grub2/grub.cfg-BAK
cp -p /mnt//etc/default/grub /etc/default/grub-BAK

Modify the Grub Files

Now go to /mnt/boot/grub2/grub.cfg and modify timeout=5 to some points you are at comfort level. Use nano text editor. Save it. REMEMBER to rename timeout=5 to higher value ie. timeout=30

Then go to /mnt/etc/default/grub and modify timeout=5 to something else higher. ie. timeout=30. Save it.

Reboot

Unload the Rescue Mode and boot to main kernel. Click Disable. Now you should have enough time to load earlier kernel version Linux.

Leave a Reply

Your email address will not be published. Required fields are marked *