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” |