The mystery of the missing boot splash screen:
I installed Ubuntu 12.4 on my HP and had the same issue with my NVidia graphics card - the graphical boot splash screen in Ubuntu stops working and looks scrambled after the first install or update of GRUB.
I found this solution elsewhere online and it worked so I thought I'd share it.
It is all due to a little variable called $vt_handoff in the /boot/grub/grub.cfg
file that incorrectly blacklists my graphics card and decides that I am not allowed to see a graphical boot screen.
Simply edit the grub.cfg file and remove all $vt_handoff references in the code.
sudo gedit /etc/grub/grub.cfg
The BASH script to fix the issue again and again:
Here's a short bash script to do the job.
Make it executable by using chmod +x
and use the script every time after an update or upgrade.
FixBootSplash.sh :
#! /bin/bash
# Fix Ubuntu Plymouth Boot Splash
# if entry exists for $vt_handoff use sed to search and replace
# write to tmp file - move to original
checkVT=$(grep -c "\$vt_handoff" /boot/grub/grub.cfg)
if [ ! "$checkVT" -eq "0" ]
then
echo "> Found vt_handoff removing ..."
sudo sed 's/$vt_handoff//g' /boot/grub/grub.cfg > /tmp/.grub.cfg
sudo mv /boot/grub/grub.cfg /boot/grub/grub.cfg.backup
sudo mv /tmp/.grub.cfg /boot/grub/grub.cfg
fi
echo "> Done"