File tree 3 files changed +19
-7
lines changed
3 files changed +19
-7
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,13 @@ DESCRIPTION
18
18
19
19
Create an initramfs <image > for the kernel with the version <kernel version >.
20
20
If <kernel version > is omitted, then the version of the actual running
21
- kernel is used. If <image > is omitted or empty, then the default location
22
- /boot/initramfs-<kernel version >.img is used.
21
+ kernel is used. If <image > is omitted or empty, depending on bootloader
22
+ specification, the default location can be
23
+ _/efi/<machine-id>/<kernel-version>/initrd_ ,
24
+ _/boot/<machine-id>/<kernel-version>/initrd_ ,
25
+ _/boot/efi/<machine-id>/<kernel-version>/initrd_ ,
26
+ _/lib/modules/<kernel-version>/initrd_ or
27
+ _/boot/initramfs-<kernel-version>.img_ .
23
28
24
29
dracut creates an initial image used by the kernel for preloading the block
25
30
device modules (such as IDE, SCSI or RAID) which are needed to access the root
Original file line number Diff line number Diff line change @@ -5,9 +5,13 @@ To create a initramfs image, the most simple command is:
5
5
6
6
This will generate a general purpose initramfs image, with all possible
7
7
functionality resulting of the combination of the installed dracut modules and
8
- system tools. The image is /boot/initramfs-_++<kernel version>++_ .img and
9
- contains the kernel modules of the currently active kernel with version
10
- _++<kernel version>++_ .
8
+ system tools. The image, depending on bootloader specification, can be
9
+ _/efi/_ ++<machine-id>++_/_++<kernel-version>++ _/initrd_ ,
10
+ _/boot/_ ++<machine-id>++_/_++<kernel-version>++ _/initrd_ ,
11
+ _/boot/efi/_ ++<machine-id>++_/_++<kernel-version>++ _/initrd_ ,
12
+ _/lib/modules/_ ++<kernel-version>++ _/initrd_ or
13
+ _/boot/initramfs-_ ++<kernel-version>++ _.img_ and contains the kernel modules of
14
+ the currently active kernel with version _++<kernel-version>++_ .
11
15
12
16
If the initramfs image already exists, dracut will display an error message, and
13
17
to overwrite the existing image, you have to use the -- force option.
Original file line number Diff line number Diff line change @@ -13,12 +13,15 @@ SYNOPSIS
13
13
--------
14
14
*lsinitrd* ['OPTION...' ] [<image > [<filename > [<filename > [... ] ]]]
15
15
16
- *lsinitrd* ['OPTION...' ] -k <kernel- version >
16
+ *lsinitrd* ['OPTION...' ] -k <kernel version >
17
17
18
18
DESCRIPTION
19
19
-----------
20
20
lsinitrd shows the contents of an initramfs image. if <image > is omitted, then
21
- lsinitrd uses the default image _/boot/<machine-id>/<kernel-version>/initrd_ or
21
+ lsinitrd uses the default image _/efi/<machine-id>/<kernel-version>/initrd_ ,
22
+ _/boot/<machine-id>/<kernel-version>/initrd_ ,
23
+ _/boot/efi/<machine-id>/<kernel-version>/initrd_ ,
24
+ _/lib/modules/<kernel-version>/initrd_ or
22
25
_/boot/initramfs-<kernel-version>.img_ .
23
26
24
27
OPTIONS
You can’t perform that action at this time.
0 commit comments