[clue-tech] GRUB, finally.

David L. Anselmi anselmi at anselmi.us
Sat Oct 24 18:30:40 MDT 2009


Collins Richey wrote:
> I haven't dealt with grub2 yet that I know of, unless sid has switched
> over automagically?

Both testing and unstable have changed the grub package to depend on 
grub-pc, which is one of the grub2 packages.  On machines with lilo that 
doesn't do anything.  I forget what happened when I upgraded a grub 
machine.  I think it gave me a window that said it was switching and 
what kernel params did I want (quiet was the default, I don't need any 
others).

> In any case unless grub2 is light years different, there's nothing to
> do for kernel upgrades except add the appropriate menu.lst stanza.
> That shouldn't be much different than the work done now by the
> apt-kernel installation process.

So grub2 uses grub.cfg instead of menu.lst.  That is generated from 
scratch--I haven't looked at where to put customizations.  There are a 
couple of stanzas for setup that seem to have a lot of redundancy.  The 
menu entries are easy enough to see, and it picked up my two non-Linux 
partitions (though it gave them names that don't relate to how I think 
of them, no surprise).

Then there's a section for customization.  That part's obvious.  But I 
had some magic going on with lilo related to the thinkpad recovery 
partition (not that I used it) that I don't know how to re-do.

Since grub2 is modular, writing it out for use requires the correct 
pieces be assembled.  It comes with scripts to do that, so for the user 
it probably won't feel different at all.  But it seems like a lot more 
is getting done.

Dave



More information about the clue-tech mailing list