bb31e7fe65
- git snapshot
74 lines
3.0 KiB
Diff
74 lines
3.0 KiB
Diff
From 20486a16e9f2d203a1877ff5de0b1b0bf9d74d9a Mon Sep 17 00:00:00 2001
|
|
From: Harald Hoyer <harald@redhat.com>
|
|
Date: Fri, 3 Jul 2015 14:28:55 +0200
|
|
Subject: [PATCH] man page: changed grub.conf to grub2.cfg
|
|
|
|
(cherry picked from commit 77c0b308259d3b91c536de9a49c0b99427c5924e)
|
|
---
|
|
dracut.usage.asc | 16 ++++++----------
|
|
1 file changed, 6 insertions(+), 10 deletions(-)
|
|
|
|
diff --git a/dracut.usage.asc b/dracut.usage.asc
|
|
index b4a8663..2b25588 100644
|
|
--- a/dracut.usage.asc
|
|
+++ b/dracut.usage.asc
|
|
@@ -99,10 +99,6 @@ raid with encryption and LVM on top), as long as you specify the correct
|
|
filesystem LABEL or UUID on the kernel command line for your root device, dracut
|
|
will find it and boot from it.
|
|
|
|
-The kernel command line usually can be configured in _/boot/grub/grub.conf_ or
|
|
-_/boot/grub2/grub.cfg_, if grub is your bootloader and it also can be edited in
|
|
-the real boot process in the grub menu.
|
|
-
|
|
The kernel command line can also be provided by the dhcp server with the
|
|
root-path option. See <<NetworkBoot>>.
|
|
|
|
@@ -310,7 +306,7 @@ stick and mount that. Then you can store the output for later inspection.
|
|
In all cases, the following should be mentioned and attached to your bug report:
|
|
|
|
* The exact kernel command-line used. Typically from the bootloader
|
|
-configuration file (e.g. _/etc/grub.conf_) or from _/proc/cmdline_.
|
|
+configuration file (e.g. _/boot/grub2/grub.cfg_) or from _/proc/cmdline_.
|
|
* A copy of your disk partition information from _/etc/fstab_, which might be
|
|
obtained booting an old working initramfs or a rescue medium.
|
|
* Turn on dracut debugging (see _the 'debugging dracut' section_), and attach
|
|
@@ -345,7 +341,7 @@ logging during the system boot. This section documents configuring a
|
|
serial console connection to record boot messages.
|
|
|
|
. First, enable serial console output for both the kernel and the bootloader.
|
|
-. Open the file _/etc/grub.conf_ for editing. Below the line ''timeout=5'', add
|
|
+. Open the file _/boot/grub2/grub.cfg_ for editing. Below the line ''timeout=5'', add
|
|
the following:
|
|
+
|
|
----
|
|
@@ -353,14 +349,14 @@ serial --unit=0 --speed=9600
|
|
terminal --timeout=5 serial console
|
|
----
|
|
+
|
|
-. Also in _/etc/grub.conf_, add the following boot arguemnts to the ''kernel''
|
|
+. Also in _/boot/grub2/grub.cfg_, add the following boot arguemnts to the ''kernel''
|
|
line:
|
|
+
|
|
----
|
|
console=tty0 console=ttyS0,9600
|
|
----
|
|
+
|
|
-. When finished, the _/etc/grub.conf_ file should look similar to the example
|
|
+. When finished, the _/boot/grub2/grub.cfg_ file should look similar to the example
|
|
below.
|
|
+
|
|
----
|
|
@@ -395,10 +391,10 @@ dracut offers a shell for interactive debugging in the event dracut fails to
|
|
locate your root filesystem. To enable the shell:
|
|
|
|
. Add the boot parameter ''rd.shell'' to your bootloader configuration file
|
|
-(e.g. _/etc/grub.conf_)
|
|
+(e.g. _/boot/grub2/grub.cfg_)
|
|
. Remove the boot arguments ''rhgb'' and ''quiet''
|
|
+
|
|
-A sample _/etc/grub.conf_ bootloader configuration file is listed below.
|
|
+A sample _/boot/grub2/grub.cfg_ bootloader configuration file is listed below.
|
|
+
|
|
----
|
|
default=0
|