Gentoo Archives: gentoo-user

From: "mike@×××××××.us" <mike@×××××××.us>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] grub vs grub2
Date: Tue, 14 Feb 2012 20:50:59
Message-Id: 4F3AC7BA.4000500@trausch.us
In Reply to: Re: [gentoo-user] grub vs grub2 by Michael Cook
1 On 02/14/2012 02:59 PM, Michael Cook wrote:
2 > You can't edit /etc/default/grub to customize how grub-mkconfig
3 > generates grub.cfg. Mint probably has update-grub like Ubuntu does which
4 > just allows you to use that command instead of grub2-mkconfig -o
5 > /boot/grub/grub.cfg
6
7 grub-mkconfig (grub2-mkconfig in Gentoo) uses the scripts in /etc/grub.d
8 to generate the configuration file. It runs them in sequential order.
9 You can add, remove or rename the scripts in order to have them do what
10 you want.
11
12 You can also edit the 40_custom file, which will insert its contents
13 verbatim (sans its shebang and exec lines) into the configuration file
14 when grub(2)-mkconfig is run.
15
16 For the paranoid, you can put a failsafe boot option in that file.
17
18 --- Mike
19
20 --
21 A man who reasons deliberately, manages it better after studying Logic
22 than he could before, if he is sincere about it and has common sense.
23 --- Carveth Read, “Logic”

Attachments

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

Replies

Subject Author
Re: [gentoo-user] grub vs grub2 LK <linuxrocksrulers@××××××××××.com>