Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volkerarmin@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] A tiny titillating taste of grub2
Date: Sun, 09 Jan 2011 21:09:41
Message-Id: 4d2a1a28.664bcc0a.5188.1f86@mx.google.com
In Reply to: Re: [gentoo-user] A tiny titillating taste of grub2 by Alan McKinnon
1 On Sunday 09 January 2011 22:04:44 Alan McKinnon wrote:
2 > Apparently, though unproven, at 19:48 on Sunday 09 January 2011, Dale did
3 >
4 > opine thusly:
5 > > It seems grub2 is a whopper. Check this out:
6 > >
7 > > root@fireball / # du -shc boot
8 > > 13M boot
9 > > 13M total
10 > > root@fireball / # ls -al /boot/bzImage-2.6.36-r*
11 > > -rw-r--r-- 1 root root 4201472 Dec 15 00:16 /boot/bzImage-2.6.36-r4-1
12 > > -rw-r--r-- 1 root root 4204768 Dec 19 23:11 /boot/bzImage-2.6.36-r4-2
13 > > -rw-r--r-- 1 root root 4207168 Jan 4 23:38 /boot/bzImage-2.6.36-r6-1
14 > > root@fireball / #
15 > >
16 > > So, my /boot is 13Mbs and I have three kernels there plus copies of
17 > > their config files as well. Those are full blown ones since I don't use
18 > > modules. I guess grub2 may make some people have to grow their /boot
19 > > partition a bit for all that. I'm not planning to try grub2 for a bit
20 > > yet but from the looks of it, it's a good thing I made my /boot
21 > > partition 200Mbs. o_O
22 > >
23 > > Why so much you reckon? I did a emerge -pv and it has to install three
24 > > more packages, in addition to the ones grub-static pulled in already.
25 > > Does grub2 wash dishes too? I need one of those if it does. lol
26 >
27 > It's trying to be an OS that's a bootloader as it's primary function.
28 >
29 > Think back to the days of lilo. It obviously isn't an OS and doesn't
30 > understand OS concepts - it loads an OS. When that step is done, then and
31 > only then do OS concepts come into play. lilo doesn't even understand how
32 > to find a file on a disk, that's why the lilo command had to be run to tell
33 > the bootloader which sectors on disk it had to shove into memory.
34 >
35 > This confused people. It annoyed even more people who often forgot to run
36 > lilo before rebooting. So grub came along, it had the absolute minimum of
37 > OS-like features to find and load a kernel file. It needed it's own syntax
38 > of defining drive names, then would make it's way through the read-only fs
39 > it found there to find the kernel. It supported a small number of file
40 > systems, just enough so that a 50M partition would be usable on almost any
41 > platform.
42 >
43 > grub2 now looks like GNU/grub (sarcasm intended). It's not a bootloader,
44 > it's a puny OS with one extra feature - it can bootload!
45 >
46 > It has support for jpeg, every fs under the sun, and the grub2 ebuild even
47 > has a truetype USE flag.
48 >
49 > Yes! Now my life is complete. I've been DYING for years to have a bootloader
50 > that can properly display anti-aliased fonts for the entire 2 seconds it's
51 > on- screen
52
53 and of course it uses a way to load the OS everybody else says is broken. GNU
54 ftw!