Keep getting error message when saving

Asked by Ace on 2016-04-21

Every time I try to save a background image, I keep getting the message below. I also did a fresh install of Ubuntu 16.04 64 bit, and still getting the same message. I am able to set background images on my other computers. What could be causing this error?

failed running 'grub-mkconfig -o "/boot/grub/grub.cfg"' output:
Generating grub configuration file ...
using custom appearance settings
Found background image: /home/coppy/Mom & Dad 1955.png
Found linux image: /boot/vmlinuz-4.4.0-21-generic
Found initrd image: /boot/initrd.img-4.4.0-21-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda1
error: syntax error.
error: Incorrect command.
error: syntax error.
Syntax error at line 109
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub/grub.cfg.new file attached.
done

Question information

Language:
English Edit question
Status:
Answered
For:
Grub Customizer Edit question
Assignee:
No assignee Edit question
Last query:
2016-04-21
Last reply:
2016-04-22

The image name is the problem!

While Grub Customizer saves the image path correctly, the grub scripts (shipped by debian and ubuntu) are doing it wrong.

You have to remove spaces and the "&" from file name.

Can you help with this problem?

Provide an answer of your own, or ask Ace for more information if necessary.

To post a message you must log in.