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