Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] A tiny titillating taste of grub2
Date: Sun, 09 Jan 2011 18:08:35
Message-Id: 4D29F4ED.5020000@gmail.com
In Reply to: Re: [gentoo-user] A tiny titillating taste of grub2 by Alan McKinnon
1 Alan McKinnon wrote:
2 > I don't quite agree with Volker's viewpoint but don't totally disagree with
3 > him either. grub2 has a whole whack of bloat all of it's own. Here's what
4 > Ubuntu has on 10.10:
5 >
6 > $ ls -al /boot/
7 > total 17656
8 > drwxr-xr-x 3 root root 4096 2011-01-08 21:37 .
9 > drwxr-xr-x 22 root root 4096 2011-01-08 21:21 ..
10 > -rw-r--r-- 1 root root 705861 2010-12-02 09:07 abi-2.6.35-24-generic
11 > -rw-r--r-- 1 root root 128614 2010-12-02 09:07 config-2.6.35-24-generic
12 > drwxr-xr-x 3 root root 4096 2011-01-08 21:21 grub
13 > -rw-r--r-- 1 root root 10752449 2010-12-28 20:57 initrd.img-2.6.35-24-generic
14 > -rw-r--r-- 1 root root 165084 2010-09-24 19:14 memtest86+.bin
15 > -rw-r--r-- 1 root root 167264 2010-09-24 19:14 memtest86+_multiboot.bin
16 > -rw-r--r-- 1 root root 1831358 2010-12-02 09:07 System.map-2.6.35-24-generic
17 > -rw-r--r-- 1 root root 1192 2010-12-02 09:10 vmcoreinfo-2.6.35-24-generic
18 > -rw-r--r-- 1 root root 4294032 2010-12-02 09:07 vmlinuz-2.6.35-24-generic
19 >
20 > $ du -sh /boot/
21 > 22M /boot/
22 >
23 > Most of that is an 11M initrd and a 4.1M kernel.
24 > What?? A fully modular kernel weighing in it 4.1M??
25 >
26 > grub2 modules are 4.1M, not too bad, except by looking at filenames there iss
27 > support in there for jpeg, intel 915, xfs, andrewfs, hfsplus, iso9660, jfs and
28 > $DEITY knows what else. Including tar.
29 >
30 > Methinks a modular build system is in order here. Why should I build support
31 > for sparc when I know for a fact I'm building an x86 installer?
32 >
33 >
34
35 It seems grub2 is a whopper. Check this out:
36
37 root@fireball / # du -shc /boot/
38 13M /boot/
39 13M total
40 root@fireball / # ls -al /boot/bzImage-2.6.36-r*
41 -rw-r--r-- 1 root root 4201472 Dec 15 00:16 /boot/bzImage-2.6.36-r4-1
42 -rw-r--r-- 1 root root 4204768 Dec 19 23:11 /boot/bzImage-2.6.36-r4-2
43 -rw-r--r-- 1 root root 4207168 Jan 4 23:38 /boot/bzImage-2.6.36-r6-1
44 root@fireball / #
45
46 So, my /boot is 13Mbs and I have three kernels there plus copies of
47 their config files as well. Those are full blown ones since I don't use
48 modules. I guess grub2 may make some people have to grow their /boot
49 partition a bit for all that. I'm not planning to try grub2 for a bit
50 yet but from the looks of it, it's a good thing I made my /boot
51 partition 200Mbs. o_O
52
53 Why so much you reckon? I did a emerge -pv and it has to install three
54 more packages, in addition to the ones grub-static pulled in already.
55 Does grub2 wash dishes too? I need one of those if it does. lol
56
57 Dale
58
59 :-) :-)

Replies

Subject Author
Re: [gentoo-user] A tiny titillating taste of grub2 Alan McKinnon <alan.mckinnon@×××××.com>