1 |
2016-09-07 0:07 GMT+03:00 Rich Freeman <rich0@g.o>: |
2 |
> On Tue, Sep 6, 2016 at 4:57 PM, gevisz <gevisz@×××××.com> wrote: |
3 |
>> |
4 |
>> It seems that now I should edit /boot/grub/grub.cfg directly |
5 |
>> without even knowing its commands. |
6 |
>> |
7 |
> |
8 |
> Well, if nothing else you can certainly read it and see what it is |
9 |
> putting in there. If you page down you'll hit the actual menus which |
10 |
> are readable enough. |
11 |
> |
12 |
> While the autogenerated menus are fairly complex, the reality is that |
13 |
> grub2 is able to handle simple configuration files the same way that |
14 |
> grub1 was. The format is slightly different though. So, that is |
15 |
> always a fallback. However, I'd check /etc/defaults/grub to make sure |
16 |
> you don't have it set to suppress UUIDs. That will, obviously, |
17 |
> suppress UUIDs. |
18 |
# Copyright 1999-2015 Gentoo Foundation |
19 |
# Distributed under the terms of the GNU General Public License v2 |
20 |
# $Id$ |
21 |
# |
22 |
# To populate all changes in this file you need to regenerate your |
23 |
# grub configuration file afterwards: |
24 |
# 'grub2-mkconfig -o /boot/grub/grub.cfg' |
25 |
# |
26 |
# See the grub info page for documentation on possible variables and |
27 |
# their associated values. |
28 |
|
29 |
GRUB_DISTRIBUTOR="Gentoo" |
30 |
|
31 |
# Default menu entry |
32 |
GRUB_DEFAULT=0 |
33 |
GRUB_HIDDEN_TIMEOUT=0 |
34 |
GRUB_HIDDEN_TIMEOUT_QUIET=true |
35 |
# Boot the default entry this many seconds after the menu is displayed |
36 |
GRUB_TIMEOUT=7 |
37 |
#GRUB_TIMEOUT_STYLE=menu |
38 |
|
39 |
# Append parameters to the linux kernel command line |
40 |
#GRUB_CMDLINE_LINUX="" |
41 |
# |
42 |
# Examples: |
43 |
# |
44 |
# Boot with network interface renaming disabled |
45 |
# GRUB_CMDLINE_LINUX="net.ifnames=0" |
46 |
# |
47 |
# Boot with systemd instead of sysvinit (openrc) |
48 |
# GRUB_CMDLINE_LINUX="init=/usr/lib/systemd/systemd" |
49 |
|
50 |
# Append parameters to the linux kernel command line for non-recovery entries |
51 |
#GRUB_CMDLINE_LINUX_DEFAULT="" |
52 |
|
53 |
# Uncomment to disable graphical terminal (grub-pc only) |
54 |
#GRUB_TERMINAL=console |
55 |
|
56 |
# The resolution used on graphical terminal. |
57 |
# Note that you can use only modes which your graphic card supports via VBE. |
58 |
# You can see them in real GRUB with the command `vbeinfo'. |
59 |
#GRUB_GFXMODE=640x480 |
60 |
|
61 |
# Set to 'text' to force the Linux kernel to boot in normal text |
62 |
# mode, 'keep' to preserve the graphics mode set using |
63 |
# 'GRUB_GFXMODE', 'WIDTHxHEIGHT'['xDEPTH'] to set a particular |
64 |
# graphics mode, or a sequence of these separated by commas or |
65 |
# semicolons to try several modes in sequence. |
66 |
#GRUB_GFXPAYLOAD_LINUX= |
67 |
|
68 |
# Path to theme spec txt file. |
69 |
# The starfield is by default provided with use truetype. |
70 |
# NOTE: when enabling custom theme, ensure you have required font/etc. |
71 |
#GRUB_THEME="/boot/grub/themes/starfield/theme.txt" |
72 |
|
73 |
# Background image used on graphical terminal. |
74 |
# Can be in various bitmap formats. |
75 |
#GRUB_BACKGROUND="/boot/grub/mybackground.png" |
76 |
|
77 |
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to kernel |
78 |
#GRUB_DISABLE_LINUX_UUID=true |
79 |
|
80 |
# Uncomment to disable generation of recovery mode menu entries |
81 |
#GRUB_DISABLE_RECOVERY=true |
82 |
|
83 |
# Uncomment to disable generation of the submenu and put all choices on |
84 |
# the top-level menu. |
85 |
# Besides the visual affect of no sub menu, this makes navigation of the |
86 |
# menu easier for a user who can't see the screen. |
87 |
#GRUB_DISABLE_SUBMENU=y |
88 |
|
89 |
# Uncomment to play a tone when the main menu is displayed. |
90 |
# This is useful, for example, to allow users who can't see the screen |
91 |
# to know when they can make a choice on the menu. |
92 |
#GRUB_INIT_TUNE="60 800 1" |