Apparently, though unproven, at 02:44 on Sunday 09 January 2011, Dale did 
opine thusly:

> I have not tried grub2 yet but I did fine these:
> 
> https://help.ubuntu.com/community/Grub2
> 
> That has a lot of info on the grub2 conf file.  It is called grub.cfg if 
> I read that correctly.  There is a lot of info there.  Seems a bit 
> complicated since I don't have it installed and can really follow what 
> they mean on things.  This next one is a bit more basic tho:
> 
> http://en.gentoo-wiki.com/wiki/Grub2
> 
> This one seems to have a example and not quite so complicated.
> 
> http://grub.enbug.org/grub.cfg

I don't quite agree with Volker's viewpoint but don't totally disagree with 
him either. grub2 has a whole whack of bloat all of it's own. Here's what 
Ubuntu has on 10.10:

$ ls -al /boot/
total 17656
drwxr-xr-x  3 root root     4096 2011-01-08 21:37 .
drwxr-xr-x 22 root root     4096 2011-01-08 21:21 ..
-rw-r--r--  1 root root   705861 2010-12-02 09:07 abi-2.6.35-24-generic
-rw-r--r--  1 root root   128614 2010-12-02 09:07 config-2.6.35-24-generic
drwxr-xr-x  3 root root     4096 2011-01-08 21:21 grub
-rw-r--r--  1 root root 10752449 2010-12-28 20:57 initrd.img-2.6.35-24-generic
-rw-r--r--  1 root root   165084 2010-09-24 19:14 memtest86+.bin
-rw-r--r--  1 root root   167264 2010-09-24 19:14 memtest86+_multiboot.bin
-rw-r--r--  1 root root  1831358 2010-12-02 09:07 System.map-2.6.35-24-generic
-rw-r--r--  1 root root     1192 2010-12-02 09:10 vmcoreinfo-2.6.35-24-generic
-rw-r--r--  1 root root  4294032 2010-12-02 09:07 vmlinuz-2.6.35-24-generic

$ du -sh /boot/
22M     /boot/

Most of that is an 11M initrd and a 4.1M kernel.
What?? A fully modular kernel weighing in it 4.1M??

grub2 modules are 4.1M, not too bad, except by looking at filenames there iss 
support in there for jpeg, intel 915, xfs, andrewfs, hfsplus, iso9660, jfs and 
$DEITY knows what else. Including tar.

Methinks a modular build system is in order here. Why should I build support 
for sparc when I know for a fact I'm building an x86 installer?


-- 
alan dot mckinnon at gmail dot com

Reply via email to