-
-
Notifications
You must be signed in to change notification settings - Fork 15
BootParameters
Alexey Gladkov edited this page Jun 20, 2025
·
2 revisions
The following parameters can be passed via kernel command line.
-
init=<path>specifies the path to the init programm to be started after the initramfs has finished. -
panicenables/disables the receiving console in emergency situations. -
rescue-modulesspecifies the list of modules required to open emergency console. -
stop=<comma-separated list>specifies the list of stages to where it's necessary to open emergency console. -
rdshellopens emergency console after all services. -
rdlog=consoleall messages from services will be printed to /dev/console. -
debugshows more messages. -
quiettries to be more quiet. -
rd-preload-modulesenables/disables loading a static list of modules before udev service. -
rd.driver.blacklist=<comma-separated list>specifies the list of kernel module names that should be added to blacklist before loading any kernel modules. -
rd.driver.pre=<comma-separated list>specifies the list of kernel module names that should be preloaded.
Parameters responsible for mounting the root file system:
-
root=<DEVICE-SPEC>specifies the block device to use as the root filesystem (see device spec). -
rootflags=<options>specifies additional mount options. -
rootfstype=<type>specifies root filesystem type. -
rootdelay=<seconds>specifies how long to wait for the root filesystem. -
rootonlyignore all mountpoints except root filesystem. -
romount root filesystem read-only. -
rwmount root filesystem read-write.
These parameters may not be specified if booting occurs on the same system and
with the same configuration where the initramfs image was created. The root=,
rootfstype=, rootflags= are stored internally when generating the image.
If root= option is found in kernel command line, then all stored values are
discarded.
-
resume=<path|uuid|label>resume from a swap partition. -
resume_offsetoffset in swap partition. -
noresumenot resume and continue boot.
- Get Started
- Initramfs Runtime
- Image Generation
- Contributing
- FAQ
- Presentations