Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] grub2 defaults
Date: Tue, 25 Mar 2014 21:48:20
Message-Id: 20140325214753.7785c0c4@digimed.co.uk
In Reply to: [gentoo-user] grub2 defaults by James
1 On Tue, 25 Mar 2014 20:42:07 +0000 (UTC), James wrote:
2
3 > So I have these entries in my /etc/default/grub file:
4 >
5 > GRUB_DISTRIBUTOR="Gentoo"
6 > GRUB_DEFAULT=kernel-3.13.6-gentoo
7 > GRUB_HIDDEN_TIMEOUT=3
8 > GRUB_TIMEOUT=10
9 > GRUB_GFXMODE=1024x768
10 >
11 > I ran 'grub2-mkconfig -o /boot/grub/grub.cfg'
12 > after the last ebuild of 3.13.6-gentoo
13 >
14 >
15 > /boot shows:
16 > kernel-3.13.0-gentoo
17 > kernel-3.13.0-gentoo-r1
18 > kernel-3.13.1-gentoo
19 > kernel-3.13.6-gentoo
20 > kernel-3.13.6B-gentoo
21 > kernel-3.13.7-gentoo
22 >
23 >
24 > Obviously, I like to kept kernel experiments around a while....
25 >
26 > So when I get the Grub2 (ascii) boot menu and just select the
27 > default, it boots kernel-3.13.7-gentoo, despite
28 > 'kernel-3.13.6-gentoo' being set in as the default for Grub2?
29
30 DEFAULT, if not set to a number, matches the title or --id of a menu
31 entry, not the kernel name (you could have several entries with the same
32 kernel).
33
34 > Also, is there a nice 'gui' boot-menu for grub2 ?
35
36 Yes, GRUB2 can use themes. The starfield theme is included, uncomment the
37 GRUB_THEME setting in the defaults file.
38
39 > The is what I have read on grub2 (man pages, gentoo wiki) so additional
40 > reading, with some useful examples would also be much appreciated.
41
42 The grub info pages are more helpful than the man page.
43
44
45 --
46 Neil Bothwick
47
48 Always be sincere even if you don't mean it.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
[gentoo-user] Re: grub2 defaults James <wireless@×××××××××××.com>