grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Grub2 background images


From: BandiPat
Subject: Re: Grub2 background images
Date: Tue, 03 Feb 2009 20:03:04 -0500
User-agent: Thunderbird 2.0.0.18 (X11/20081105)

Felix Zielcke wrote:
Am Dienstag, den 03.02.2009, 15:22 -0500 schrieb BandiPat:

Now on to my questions. I have built the new svn as a Zenwalk package. When updating Grub2 with new versions, is it advisable to run grub-install again, so that new or revised files get copied to your /boot/grub directory or is just upgrading all that is necessary for grub2 to take advantage of the new stuff?

Yes you need to run grub-install to really update it.

Next, I followed your instructions Felix, but am still not able to get a background image to display. I will include my grub.cfg, so you guys might look at that. Thanks again for all the help! Since switching over to Grub2, it has been stable & reliable with my XFS partitions. I'm actually thinking it might be a good time for you guys to release another version. 1.97 would be good, but I honestly think 2.0beta1 is obtainable. It's a good program.

There was already some talk about releasing 1.97 but it has stopped.

grub.cfg follows:

Your config is generated without the graphical terminal stuff.
It should look like this:

if loadfont /usr/share/grub/ascii.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  terminal_output gfxterm
fi
insmod png
backgroung_image /boot/grub/ZenGrub.png

===========
Ok, it's getting better! I can see the changes made with the above code you gave me, but I can still not get a background image to display. I even reduced a picture down to 640x480-256 to see if maybe the picture was too large. Can I change the size from 640x480 to say 800x600 or 1024x768 for the gfxterm?

Here is my new grub.cfg file:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from  and settings from /usr/etc/default/grub
#

### BEGIN /usr/etc/grub.d/00_header ###
set default=0
set timeout=10
if loadfont /usr/share/grub/ascii.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  terminal_output gfxterm
fi
insmod png
backgroung_image /boot/grub/Zen-splash.png
terminal console
### END /usr/etc/grub.d/00_header ###

### BEGIN /usr/etc/grub.d/10_freebsd ###
### END /usr/etc/grub.d/10_freebsd ###

### BEGIN /usr/etc/grub.d/10_hurd ###
### END /usr/etc/grub.d/10_hurd ###

### BEGIN /usr/etc/grub.d/10_linux ###
menuentry "GNU/Linux, Zenwalk 6.0" {
        set root=(hd0,2)
        search --fs-uuid --set aa0d3fde-d609-45b8-9af9-081d159768ef
        linux   /boot/vmlinuz root=/dev/sda2 ro splash=silent vga=794
                initrd (hd0,2)/boot/initrd.splash
}

menuentry "GNU/Linux, Zenwalk Text" {
        set root=(hd0,2)
        search --fs-uuid --set aa0d3fde-d609-45b8-9af9-081d159768ef
        linux   /boot/vmlinuz root=/dev/sda2 3 ro splash=silent vga=794
                initrd (hd0,2)/boot/initrd.splash
}

menuentry "Memory Test (memtest86+)" {
                set root=(hd0,2)
                linux (hd0,2)/boot/memtest86+-1.70.bin
}

menuentry "GNU/Linux, Linux 2.6.28.2 (single-user mode)" {
        set root=(hd0,2)
        search --fs-uuid --set aa0d3fde-d609-45b8-9af9-081d159768ef
        linux   /boot/vmlinuz root=/dev/sda2 ro single
}
### END /usr/etc/grub.d/10_linux ###

### BEGIN /usr/etc/grub.d/30_os-prober ###
### END /usr/etc/grub.d/30_os-prober ###

### BEGIN /usr/etc/grub.d/40_custom ###
# This file is an example on how to add custom entries
### END /usr/etc/grub.d/40_custom ###

Thanks as always,
Pat




reply via email to

[Prev in Thread] Current Thread [Next in Thread]