Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] A tiny titillating taste of grub2
Date: Sun, 09 Jan 2011 12:31:06
Message-Id: 201101091410.31650.alan.mckinnon@gmail.com
In Reply to: Re: [gentoo-user] A tiny titillating taste of grub2 by Dale
1 Apparently, though unproven, at 02:44 on Sunday 09 January 2011, Dale did
2 opine thusly:
3
4 > I have not tried grub2 yet but I did fine these:
5 >
6 > https://help.ubuntu.com/community/Grub2
7 >
8 > That has a lot of info on the grub2 conf file. It is called grub.cfg if
9 > I read that correctly. There is a lot of info there. Seems a bit
10 > complicated since I don't have it installed and can really follow what
11 > they mean on things. This next one is a bit more basic tho:
12 >
13 > http://en.gentoo-wiki.com/wiki/Grub2
14 >
15 > This one seems to have a example and not quite so complicated.
16 >
17 > http://grub.enbug.org/grub.cfg
18
19 I don't quite agree with Volker's viewpoint but don't totally disagree with
20 him either. grub2 has a whole whack of bloat all of it's own. Here's what
21 Ubuntu has on 10.10:
22
23 $ ls -al /boot/
24 total 17656
25 drwxr-xr-x 3 root root 4096 2011-01-08 21:37 .
26 drwxr-xr-x 22 root root 4096 2011-01-08 21:21 ..
27 -rw-r--r-- 1 root root 705861 2010-12-02 09:07 abi-2.6.35-24-generic
28 -rw-r--r-- 1 root root 128614 2010-12-02 09:07 config-2.6.35-24-generic
29 drwxr-xr-x 3 root root 4096 2011-01-08 21:21 grub
30 -rw-r--r-- 1 root root 10752449 2010-12-28 20:57 initrd.img-2.6.35-24-generic
31 -rw-r--r-- 1 root root 165084 2010-09-24 19:14 memtest86+.bin
32 -rw-r--r-- 1 root root 167264 2010-09-24 19:14 memtest86+_multiboot.bin
33 -rw-r--r-- 1 root root 1831358 2010-12-02 09:07 System.map-2.6.35-24-generic
34 -rw-r--r-- 1 root root 1192 2010-12-02 09:10 vmcoreinfo-2.6.35-24-generic
35 -rw-r--r-- 1 root root 4294032 2010-12-02 09:07 vmlinuz-2.6.35-24-generic
36
37 $ du -sh /boot/
38 22M /boot/
39
40 Most of that is an 11M initrd and a 4.1M kernel.
41 What?? A fully modular kernel weighing in it 4.1M??
42
43 grub2 modules are 4.1M, not too bad, except by looking at filenames there iss
44 support in there for jpeg, intel 915, xfs, andrewfs, hfsplus, iso9660, jfs and
45 $DEITY knows what else. Including tar.
46
47 Methinks a modular build system is in order here. Why should I build support
48 for sparc when I know for a fact I'm building an x86 installer?
49
50
51 --
52 alan dot mckinnon at gmail dot com

Replies

Subject Author
Re: [gentoo-user] A tiny titillating taste of grub2 Dale <rdalek1967@×××××.com>
[gentoo-user] Re: A tiny titillating taste of grub2 walt <w41ter@×××××.com>