Доброго всем дня.
Есть проблема, два дня бьюсь-крыша съехала уже.
Хочу темы подцепить к GRUB2.
Делал как по инструкции
http://linuxsam.livejournal.com/99444.html но когда запускаю sudo update-grub получаю вот что
*****@******1:~$ sudo update-grub
[sudo] password for ******:
Updating /boot/grub/grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.31-17-generic
Found initrd image: /boot/initrd.img-2.6.31-17-generic
Found memtest86+ image: /memtest86+.bin
/etc/grub.d/40_custom: line 12: loadfont: command not found
/etc/grub.d/40_custom: line 13: loadfont: command not found
/etc/grub.d/40_custom: line 14: loadfont: command not found
/etc/grub.d/40_custom: line 15: loadfont: command not found
/etc/grub.d/40_custom: line 16: loadfont: command not found
/etc/grub.d/40_custom: line 17: loadfont: command not found
insmod: can't read 'vbe': No such file or directory
insmod: can't read 'png': No such file or directory
insmod: can't read 'coreui': No such file or directory
/etc/grub.d/40_custom: line 22: load_config: command not found
сам файл /etc/grub.d/40_custom вот так выглядит
#!/bin/bash
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib${libdir}/grub/grub-mkconfig_lib
#exec tail -n +3 $0
# This file is an example on how to add custom entries
set gfxmode="640x480"
set gfxfont="Unifont Regular 16"
loadfont /boot/grub/themes/fonts/unifont.pf2
loadfont /boot/grub/themes/fonts/aqui.pf2
loadfont /boot/grub/themes/fonts/edges.pf2
loadfont="/boot/grub/themes/fonts/lime.pf2"
loadfont="/boot/grub/themes/fonts/7x13B.pf2"
loadfont="/boot/grub/themes/fonts/smoothansi.pf2"
loadfont="/boot/grub/themes/fonts/Helvetica-Bold-14.pf2"
insmod /boot/grub/vbe.mod
insmod png
insmod coreui
load_config /boot/grub/themes/winter/theme.txt
Сам grub2 без этих украшательств работает стабильно, правда все делаю на виртуальной машине (ubuntu 9.10), получалось даже фоновый рисунок изменить , но мне хочется все таки понять почему у меня она не работает?
П.С.
Гугли на эту тему 2 дня, но ничего не нашел. Прошу откликнуться на эту просьбу не дайте сдохнуть от буссоницы возле компа