Bug#495754: grub-pc: Support for screen resolutions other than 640x480 is not simple enough
fzielcke at z-51.de
Fri Aug 22 07:39:22 UTC 2008
Am Donnerstag, den 21.08.2008, 17:20 -0700 schrieb Olaf Mandel:
> I don't care what the variable is called. But I think the default value
> (640x480) should be defined in update-grub, not in 00_header. Otherwise,
> it needs to be redefined in 05_debian_theme. Also, the default may be
> decided by calling one of the following:
Oh, I just looked again at my patch on that other bugreport,
the update-grub part is the wrong way.
Luckly making patches for upstream is a bit easier (just `svn diff')
If it would be already exported in update-grub the patch isn't needed
That's the way it works:
/etc/default/grub is read in
update-grub then exports all the variables so the /etc/grub.d/ scripts
can access them.
upstream just doestn't provide a sample /etc/default/grub that's the
debian specific part in there.
> I feel that these commands may be too long/cumbersome to put in the
> "user-visible" /etc/grub.d/* files.
You could make a function in /usr/lib/grub/update-grub_lib
> I do not know how GRUB2 is _supposed_ to behave if the picture
> dimensions are smaller (different) from the resolution of the gfxmode.
> But at least on my machine it shows a far too small picture in the upper
> left corner.
Me neither I just stick with the default 640*480 and the default Debian
Your whole idea doestn't sound that bad.
Maybe your report should just be merged with the desktop-grub symlink
one to have the whole discussion only at one place.
However I'm still a bit new to this whole grub business, so I think it's
just better if I leave the whole topic more to Robert.
He has more experience then me, so he probable sees more the problems
which could arise.
More information about the Pkg-grub-devel