On 1 July 2010 18:54, <step...@hyarros.com> wrote: > Something I forgot to mention that's important -- (sorry for the spam) > -- GRUB tries to initalize with 800x600 regardless of what $gfxmode is > set to. > > set gfxmode=1024x768 > > will still result in GRUB trying to initalize the video as 800x600 > after the 'boot' command is issued. > > -stephen
This thread probably fits better in the grub help forum, nevertheless I will share some of my experience in case it helps. A few weeks ago I managed to add graphical boot to my PC. It took me a few hours to figure out how to do it because of lack of documentation. So I had to read a bunch of shell scripts, as well as some C code, and see how they string together. I found one page of useful information, though it is partly out of date: http://grub.enbug.org/gfxterm The gist of the story is that to enable graphical boot, which is what you appear to be trying to do as you are using "set gfxmode", you need to have fonts available for grub. Moreover they must be in Unicode. That is where the link I provided above was useful to me, it showed how to create the fonts. As I have Windows on my PC, I grabbed one of the Microsoft fonts, arialuni.ttf, and converted it to pf2. Alternatively you can try to create it yourself from GNU unifont, and still a third possibility, if you have Ubuntu installed, is to use unicode.pf2 that is installed in /boot/grub. Whichever way you obtain the fonts file, you need to make it accessible to grub, and let it know where you put it. In my case I created an "extra" directory off /boot/grub where I put the fonts file as well as the background image. The next step is to edit the grub default file. I use the default upstream location, so the file would be: /usr/local/etc/default/grub Note that if you built and installed grub from upstream sources that file is not installed automatically, you have to create it and then add contents to it. I am pasting below the contents of my file, expunged of comments. Note the last line where I tell grub where to find the fonts: GRUB_DEFAULT=0 GRUB_TIMEOUT=4 GRUB_CMDLINE_LINUX_DEFAULT="quiet rhgb" GRUB_CMDLINE_LINUX="rootfstype=ext4" GRUB_TERMINAL_OUTPUT=gfxterm GRUB_GFXMODE=1280x1024x32 GRUB_GFXPAYLOAD_LINUX=1280x1024x32 GRUB_FONT=/boot/grub/extra/arialuni.pf2 I also have a nice background image that I got from Gnome Art. I could say how I made it work with grub but it is outside the scope of your question. _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel