Gentoo Archives: gentoo-user

From: Peter Humphrey <peter@××××××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Grub2 and use-flags
Date: Fri, 18 Jun 2010 17:04:57
Message-Id: 201006181746.41294.peter@humphrey.ukfsn.org
In Reply to: [gentoo-user] Grub2 and use-flags by Kevin O'Gorman
1 On Friday 18 June 2010 16:17:12 Kevin O'Gorman wrote:
2 > I'm running grub 2 it seems. I don't know when that started, or what
3 > difference it makes compared to legacy grub. I guess I don't need to
4 > know. But a recent post had me looking at use-flags, and I was a bit
5 > surprised to find (ncurses -static). If this refers to the part of
6 > grub that I run when setting up or tweaking while Linux is already
7 > running, I guess that's sensible. But does it have any effect on
8 > the boot sequence (because both of those would strike me as badly
9 > broken).
10 >
11 > I also wonder what -custom-cflags would be used for, and I don't get
12 > any sensible answer from flagedit(1).
13 >
14 > Just an inquiring mind...
15 >
16 > [I] sys-boot/grub
17 > Available versions: 0.92-r1 0.94-r1 0.96-r1 0.96-r2 ~0.96-r3
18 > ~0.97 0.97-r2 0.97-r3 0.97-r4 0.97-r5 0.97-r6 ~0.97-r8 0.97-r9
19 > **1.98 **9999 {custom-cflags debug multislot ncurses netboot static
20 > truetype} Installed versions: 0.97-r9(06:16:18 AM
21 > 03/03/2010)(ncurses -custom-cflags -netboot -static)
22 > Homepage: http://www.gnu.org/software/grub/
23 > Description: GNU GRUB 2 boot loader
24
25 I see the same version availability on my box, but I'm running grub-
26 static 0.97-r9. The reason is that, months and years ago, the dynamic
27 version did not interpret TAB but just moved the cursor. I don't know
28 whether that's been fixed.
29
30 The fact that grub-static says it's the legacy boot loader, and that
31 it's at the same version as you quote, makes me wonder whether the
32 dynamically linked version really is grub 2 - it seems to be lacking
33 several files that are in the grub 2 in (I think) Ubuntu.
34
35 --
36 Rgds
37 Peter.