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

Re: configuring grub



On Fri, Aug 16, 2013 at 11:02:20AM +0200, François Patte wrote:
> Bonjour,
> 
> I tried to change the screen resolution and the splash screen in grub:
> 
> 1- edited /etc/default/grub
> GRUB_GFXMODE=1280x1024

That should work.

> 
> GRUB_BACKGROUND="/usr/share/images/grub/Windbuchencom.tga"
> 
> 2- run grub-update (it says that it has found the image, then done...)

The correct command is "update-grub" or "update-grub2" (they're
essentially the same).

> 
> 3- rebooted and..... nothing has changed! Resolution is still ugly and
> no splashscreen (the splashscreen is for fun, I don't need it) But I
> want to change the resolution (it is the default resolution of my screens)

It's possible that grub can't switch to the resolution. Many graphics
cards allow access to the basic VGA, SuperVGA etc modes (640x480,
800x600, 1024x768) through the VESA BIOS. To get higher resolutions
(including, perhaps, the native mode of an LCD panel) requires the full
driver.

> 
> 4- I had a look to the file  /boot/grub/grub.cfg
> The location of the image had been wrongly written:
> share/images/grub/Windbuchencom.tga but the resolution is correctly set.

"share/images..." probably indicates you've got /usr on a separate
partition. Remember that grub doesn't use a full unix-style tree, but
uses a forest (a bit more like Windows, really) of individual
partitions. So the TGA file would likely be in (hd1,2)share/images... or
similar.

> 
> What to do?
> 
> In /etc/default/grub it is recommended to check the resolution using
> vbeinfo, I have no vbeinfo program and I cannot find one, what is the
> package with this program?

That would be the "grub-pc" or equivalent package. Basically, the
instruction is to boot into grub press 'c' at the menu (to give you a
command line) then enter "set pager=1" (return) "vbeinfo" (return).

> 

Attachment: signature.asc
Description: Digital signature


Reply to: