I followed the guide to set up a theme on my Ubuntu 11.04 but i only get a basic looking GRUB screen. See attached picture
Can anyone help please
Thanks
I followed the guide to set up a theme on my Ubuntu 11.04 but i only get a basic looking GRUB screen. See attached picture
Can anyone help please
Thanks
Last edited by drs305; September 19th, 2011 at 06:47 PM.
Back to Xorg...
Retired.
I am sorry if i am not suppose to use this thread as support but i don’t know where else i can go.
This is my out put when I run the sudo update-grub
I don't see any error messageCode:Generating grub.cfg ... Found theme: /boot/grub/themes/ubuntu/theme.txt Found linux image: /boot/vmlinuz-2.6.38-11-generic Found initrd image: /boot/initrd.img-2.6.38-11-generic Found linux image: /boot/vmlinuz-2.6.38-8-generic Found initrd image: /boot/initrd.img-2.6.38-8-generic Found memtest86+ image: /boot/memtest86+.bin Found Windows NT/2000/XP on /dev/sda1 done
Thanks
That was the line I was referring to. Grub 2 is finding your theme so that is not the problem.
As far as the support question, generally we prefer users start their own threads. Since I'm a moderator, if you wish I can move our posts to a new thread with a title such as "Grub 2 Won't Use My Theme" or something like that. Having your own thread will ensure the advice is specific to your situation and may be read more often than posts in this thread.
Mod Note: New thread created.
Last edited by drs305; September 19th, 2011 at 06:48 PM.
Back to Xorg...
Retired.
As stated in the guide, if the gfxmenu theming engine does not find even one element of your theme or if there is some mistake in your theme definition file, it will display the text screen
Can you post the contents of your theme.txt file?
The Definitive Guide to Theming GRUB2 is here.
Here is my theme.txt
ThanksCode:# GRUB2 gfxmenu Ubuntu Demo Theme # The Definitive Guide to Theming GRUB2, # using the ubuntu1 demo theme from http://www.gibibit.com # Designed for 640x480 resolution # Global Property title-text: "GRUB2 Demo Theme" title-font: "DejaVu Sans Regular 12" title-color: "B08458" #message-font: "DejaVu Sans Regular 12" #message-color: "#FFFFFF" #message-bg-color: "#020202" desktop-image: "desktop.png" desktop-color: "#000000" #terminal-box="terminal_*.png" #terminal-font="Fixed Regular 13" # Show the boot menu + boot_menu { left = 15% top = 37% width = 70% height = 42% item_font = "DejaVu Sans Bold 14" item_color = "#B08458" selected_item_color = "#FFFFFF" item_height = 32 item_padding = 0 item_spacing = 3 }
Line #9 should be:
You left out the '#' before the color value.Code:title-color: "#B08458"
If that does not help, please post the output from:
Finally, did you create your own fonts or did you use the ones from the .tar.gz file you downloaded?Code:ls -l /boot/grub/{themes/ubuntu1,fonts}
NOTE: Natty uses GRUB 1.99. I have not tested with 1.99. If you find any discrepencies with 1.99, I'dd appreciate a PM, thanks. My next re-write will surely include 1.99 and most likely whatever stable release is out at that time. I'm presently working on an in-depth tutorial for theming metacity.
The Definitive Guide to Theming GRUB2 is here.
I fixed the missing '#' but now when i reboot i just get a black screen. I don't get any selection for the os i want to boot into.
Thanks
I'm assuming you can boot the default menu item. Please post the output from:
Looking at the screenshot in your first post, I'm seeing the second menu item 'Previous Linux versions'. Is this an entry you added manually or are you chainloading GRUB2 from GRUB legacy?Code:ls -l /boot/grub/{themes/ubuntu,fonts}
Last edited by towheedm; September 28th, 2011 at 02:03 AM.
The Definitive Guide to Theming GRUB2 is here.
Here is the out put you were requesting
I did not add 'Previous Linux Version' to the menu it just showed up. Also it is a fresh load of the Ubuntu 11.04 as far as i understand it comes with GRUB2 and not GRUB legacy. Therefor it should not be chainloading but i could be wrong this is my first attempt to customize GRUB.Code:/boot/grub/fonts: total 92 -rw-r--r-- 1 root root 81350 2011-09-18 13:36 7x13.pf2 -rw-r--r-- 1 root root 3206 2011-09-19 01:25 dejavu-sans-10.pf2 -rw-r--r-- 1 root root 3471 2011-09-19 01:25 dejavu-sans-12.pf2 -rw-r--r-- 1 root root 3792 2011-09-19 01:25 dejavu-sans-bold-14.pf2 /boot/grub/themes/ubuntu: total 68 lrwxrwxrwx 1 root root 25 2011-09-18 14:02 7x13.pf2 -> /boot/grub/fonts/7x13.pf2 lrwxrwxrwx 1 root root 35 2011-09-18 14:01 dejavu-sans-10.pf2 -> /boot/grub/fonts/dejavu-sans-10.pf2 lrwxrwxrwx 1 root root 35 2011-09-18 14:01 dejavu-sans-12.pf2 -> /boot/grub/fonts/dejavu-sans-12.pf2 lrwxrwxrwx 1 root root 40 2011-09-18 22:17 dejavu-sans-bold-14.pf2 -> /boot/grub/fonts/dejavu-sans-bold-14.pf2 -rw-r--r-- 1 root root 25467 2011-09-18 01:33 desktop.png -rw-r--r-- 1 root root 2487 2011-09-18 01:33 terminal_c.png -rw-r--r-- 1 root root 1212 2011-09-18 01:33 terminal_e.png -rw-r--r-- 1 root root 1537 2011-09-18 01:33 terminal_ne.png -rw-r--r-- 1 root root 485 2011-09-18 01:33 terminal_n.png -rw-r--r-- 1 root root 1293 2011-09-18 01:33 terminal_nw.png -rw-r--r-- 1 root root 2447 2011-09-18 01:33 terminal_se.png -rw-r--r-- 1 root root 687 2011-09-18 01:33 terminal_s.png -rw-r--r-- 1 root root 2465 2011-09-18 01:33 terminal_sw.png -rw-r--r-- 1 root root 1078 2011-09-18 01:33 terminal_w.png -rw-r--r-- 1 root root 713 2011-09-23 19:18 theme.txt.back
Thanks
Bookmarks