Bug#419157: grub: preseed for some menu.lst options.

Robert Millan rmh at aybabtu.com
Sat May 5 10:42:39 UTC 2007


reassign 419157 grub2
thanks

On Sun, Apr 15, 2007 at 10:41:33PM +0200, Robert Millan wrote:
> 
> We're about to replace update-grub completely with a new, modular
> implementation designed with extensibility in mind.  This is a grub2-only
> migration, but then again we're going to replace grub with grub2 anyway ;-)
> 
> Would you please either look at my current proposal in grub-devel, or wait
> a while untill it's committed upstream and pulled into the package ?

So, it just happened.  Please get grub2 1.95+20070505-1 and tell us if/how
much this suits your needs.

As you can see, variables are fed via /etc/default/grub now.  And if you need
more specific stuff, you can deploy modules in /etc/grub.d/.

> On Fri, Apr 13, 2007 at 10:21:15PM -0300, Gustavo Franco wrote:
> > I would like to see grub with preseed support (debconf) for at least
> > kopt,

I forgot about this one, but I just commited it to upstream CVS as
GRUB_CMDLINE_LINUX.

> > groot,

AFAICT, overriding this is no longer necessary.  grub-probe detects the root
device (/dev/foo) and root drive ((hdX,Y)) during update-grub run.

Unless I'm missing something, that is.

> > and memtest,

This is the responsability of the memtest package now.  It would provide
/etc/grub.d/20_memtest86+ or something like that, which interfaces with the
rest of update-grub.

> > xen related options

Probably the same, but I'm not entirely sure if it can be done without
modifiing /etc/grub.d/10_linux.

> > but all of them that
> > update-grub deals with would be great. With this feature in place
> > debian-desktop will be able to use splashy and maybe a grub background

There's a very complete framework for platform-independant video access in
grub2, plus a TGA file loader.  I think this would be enough for graphical
support, but I haven't had time to look into how using it, hence update-grub
doesn't use it atm.

When it's enabled, we can have a variable override for /etc/default/grub
that defines which background to use.

-- 
Robert Millan

My spam trap is honeypot at aybabtu.com.  Note: this address is only intended
for spam harvesters.  Writing to it will get you added to my black list.




More information about the Pkg-grub-devel mailing list