Gentoo Archives: gentoo-user

From: "G.Wolfe Woodbury" <redwolfe@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How do I determine the processor type? -- grub2 comments
Date: Sat, 15 Sep 2012 05:08:09
Message-Id: 50540CA5.4080406@gmail.com
In Reply to: Re: [gentoo-user] How do I determine the processor type? by Dale
1 On 09/15/2012 12:28 AM, Dale wrote:
2 > Put your kernel and such on /boot and run update-grub if I recall
3 > correctly. I installed Kubuntu for my brother and it has grub2 which
4 > has some magic sprinkled on it. I'm not sure how to tell it where to
5 > point for the root partition tho. That may require a thread here if
6 > google doesn't help. I might add, you may get better Ubuntu answers
7 > here than from the Ubuntu folks. I'll forgive you if everyone else
8 > will. ROFL Dale :-) :-)
9 grub2 is a completely rewritten animal, so it is *different*
10
11 grub2-install /dev/sd??
12
13 is the incantation to put grub2 onto the selected boot partition. Then
14
15 <editor> /etc/default/grub
16 grub2-mkconfig -o /boot/grub2/grub.cfg
17
18 is the incantation for making the basic configuration. If you have
19 multiple installations
20 on disk, emerge "os-prober" to bring in the detection of "foreign"
21 operating systems.
22 This creates the grub.cfg file, which prominently features a "DO NOT
23 EDIT" warning at the
24 top of the file; rank beginners are advised to edit /etc/defaut/grub if
25 that can make the changes
26 you want, but more advanced users can edit the grub.cfg to achieve
27 desired results.
28
29 For example, my grub.cfg has the default entry for my preferred OS to
30 boot, and then has
31 entries that bing in other configuration files for various other
32 situations. I've got two
33 Gentoo collections, the Fedora collection and the Windows7 config. the
34 grub2 "info"
35 pages are complete but a little dense and not as well organized as they
36 might be.
37
38 Good Luck.
39
40 --
41 G.Wolfe Woodbury

Replies