Comment 3 for bug 347790

Revision history for this message
Juanje Ojeda (juanje) wrote :

I've been added a new branch (lp:~guadalinex-members/grub/fix_splashimage_uuid_by_groot) where I've integrated the previous patch on the current (0.97-29ubuntu51) package.

This will fix the problem for those cases where the user, after put a splash image on /boot/grub/ run update-grub so the /boot/grub/menu.lst is regenerated and finish the splash image installation.
With the current official package the update-grub will attach the device's UUID identificator as a prefix to the image path, but Grub doesn't understand for that stanza that kind of path, just the grub device format or a relative path to a root device previously set.

For that reason in this patch we set the 'root' stanza before defining the 'splashimage_path' variable and then we remove the 'grub root device' from that path. But just in those cases where the 'grub root device' is an UUID value. Which actually will happen in all cases in Ubuntu since we move to UUID identificators instead Grub or Linux formats for the devices.