MKINITRAMFS.CMDLINE(7) | Miscellaneous Information Manual | MKINITRAMFS.CMDLINE(7) |
mkinitramfs.cmdline
—
mkinitramfs' kernel command-line parameters
The mkinitramfs(8) utility provides a way to control configuration dynamically via kernel parameters without needing to regenerate initramfs image.
List of builtin breakpoints:
Hooks can provide their own breakpoints. See source code of hooks for more information.
Initramfs must contain blkid utility for ability to use UUID, LABEL, PARTUUID. Note: PARTUUID only supported in util-linux' blkid(8).
Initramfs must contain appropriate hooks for ability to use below parameters.
The parameters for LVM hook are as follows:
This option will be ignored if lvm_name/lvm_group was specified.
lvm_group (see below) must be specified.
The parameters for LUKS hook are as follows:
Useful for SSD's, but you must know that security will be decreased.
Specify root option argument:
vmlinuz initrd=\initramfs root=/dev/sda1 [...]
Disable “discards” for LUKS and LVM:
vmlinuz initrd=\initramfs luks_discard= lvm_discard= [...]
Pass arguments to real init:
vmlinuz initrd=\initramfs [...] -- arguments
May 22, 2024 | Zeppe-Lin |