Alan McKinnon wrote:
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?


It seems grub2 is a whopper.  Check this out:

r...@fireball / # du -shc /boot/
13M     /boot/
13M     total
r...@fireball / # ls -al /boot/bzImage-2.6.36-r*
-rw-r--r-- 1 root root 4201472 Dec 15 00:16 /boot/bzImage-2.6.36-r4-1
-rw-r--r-- 1 root root 4204768 Dec 19 23:11 /boot/bzImage-2.6.36-r4-2
-rw-r--r-- 1 root root 4207168 Jan  4 23:38 /boot/bzImage-2.6.36-r6-1
r...@fireball / #

So, my /boot is 13Mbs and I have three kernels there plus copies of their config files as well. Those are full blown ones since I don't use modules. I guess grub2 may make some people have to grow their /boot partition a bit for all that. I'm not planning to try grub2 for a bit yet but from the looks of it, it's a good thing I made my /boot partition 200Mbs. o_O

Why so much you reckon? I did a emerge -pv and it has to install three more packages, in addition to the ones grub-static pulled in already. Does grub2 wash dishes too? I need one of those if it does. lol

Dale

:-)  :-)

Reply via email to