How to solve the annoying grub splash bug on Trisquel 5.5 and 6.0

1 reply [Last post]
aliasbody
Offline
Joined: 09/14/2012

Hello everyone,

I posted this solution as a bug in the Issues page in order to try to solve this situation. But for those that have this annoying bug here is the workaround.

(PS: this is a simple copy-past from the bugreport).

I've noticed that on 2 of my 3 computers where Trisquel is installed I have the same problem. The splash screen doesn't appear normally. Either it is divided in multiple parts or doesn't appear (in this case I only see 3 weird lines).

Here is what I see in most cases :

So I started to see where this could come from (since it happens on my two computers with Nvidia but not on the one with Intel). I started to update the kernel (installing the jxself 3.7's one) and it doesn't have this bug. But this isn't a definitive solution.

I've installed Aptosid just to test and saw that the stock kernel from Trisquel using aptosid grub would load normally.So I started to search on grub and I've found this line:

menuentry 'Trisquel GNU/Linux, with Linux-Libre 3.2.0-31-generic' --class trisquel --class gnu-linux --class gnu --class os {
   recordfail
   gfxmode $linux_gfx_mode
   insmod gzio
   insmod part_msdos
   insmod ext2
   set root='(hd0,msdos3)'
   search --no-floppy --fs-uuid --set=root 01fd22de-b9bd-4948-8948-8969e4f96ef3
   linux    /boot/vmlinuz-3.2.0-31-generic root=UUID=01fd22de-b9bd-4948-8948-8969e4f96ef3 ro   quiet splash $vt_handoff
   initrd    /boot/initrd.img-3.2.0-31-generic
 }

This is the original line from Trisquel's Grubd. The aptosid's grub is almost similar except for :

   recordfail
   gfxmode $linux_gfx_mode
   insmod gzio

That aren't there. recordfail and insmod gzio couldn't be since they have nothing to do (directly or indirectly) with the splash screen. So I tried just to comment the second line before restarting.

And this was the result:

So I hope this helped anyone out there. The real "problem" with this solution is that we need to change it at every kernel update. There is a file on the /etc/grub.d/ list called 10_linux that has a reference to the gfxmode line. Maybe this one could be modified to reflect this but I don't know how and what since it is very different from the Arch Linux Grub configuration files.

lembas
Offline
Joined: 05/13/2010

You might want to report this in Ubuntu.