Welcome to the Linux Foundation Forum!
6.4. Kernel Boot Parameters
adamherst
Posts: 25
The INFO box describes the rd_LVM_LV, rd_NO_LUKS, and rd_NO_DM parameters. I can't find any reference to these in either kernel-parameters.txt or by doing man bootparam. If anyone can point me in the direction of documentation for these parameters it would be appreciated.
Thanks,
Adam
[Edit] I've made a bit of progress. I'm using Ubuntu and the rd module appars to be on Red Hat only. I did a modinfo rd on a CentOS system but none of the above are listed as parameters. Still looking for a pointer to their documentation.
0
Comments
-
The following has been added to the class:
Note the parameters starting with rd are used only on Red Hat-based systems. Some documentation can be found at https://fedoraproject.org/wiki/Dracut/Options.
***
ALl distros have custom parameters, don't get too carried away. Please note we are
always updating the class content, but we batch the uploads as it is a rather involved process to swap in new course files. So changes may take a week or two to appear.
Thanks for patient reading
0 -
Hi Jerry,
Thanks for the pointer. I was less concerned about the specifics of these parameters than the process by which, given some arbitrary parameter, I could determine 1) whether it is a valid parameter being used correctly, and 2) how to determine exactly what it does. I had thought that documentation for all boot parameters was supposed to live on the system somewhere. As a result of this exercise, I've concluded that this is not the case and access to resources external to the system is also necessary.
Thanks,
Adam
0 -
Actually you do indeed have rather complete documentation on the parameters that
are part of the kernel itself, in a file called "Documentation/kernel-parameters.txt",
which is part of the kernel source. If you have the source it is there, but all distributions have a package with a name like "kernel-doc" that includes it. Or if you google it I'm sure you can find it in a nanosecond. People put a lot of attention into this doc, and no parameter is accepted in the kernel if it is not documented.
Now any parameter passed on the kernel command line that is not understood by the kernel is passed to the first program that runs: init (whether it is the classical /sbin/init or systemd) which then interprets the parameter as it's own. For example, if you just pass "3" that is the am as forcing the system to do "init 3" which means stop at runlevel 3 (no graphics) on sysVinit systems.
You will not find the rd_* parameters, or the LUKS ones etc there; they are being passed to the first init that runs, which is associated with the initramfs. ANd every distro has its own initramfs philosophy. So whether it is you or I, if I want to understand such a parameter I google it
There is no secret sauce.
I hope this helps
0 -
Thanks Jerry. It does help. Here's hoping I always have internet access :-).
Thanks,
Adam
0
Categories
- All Categories
- 175 LFX Mentorship
- 175 LFX Mentorship: Linux Kernel
- 745 Linux Foundation IT Professional Programs
- 372 Cloud Engineer IT Professional Program
- 168 Advanced Cloud Engineer IT Professional Program
- 73 DevOps IT Professional Program - Discontinued
- 3 DevOps & GitOps IT Professional Program
- 98 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- AI & ML Training
- Blockchain & Decentralized Identity Training
- Cloud & Containers Training
- Cybersecurity Training
- DevOps & Site-Reliability Training
- Linux Kernel Development Training
- Networking Training
- Open Source Best Practice Training
- System Administration Training
- System Engineering Training
- Web & Application Development Training
- 2 LFD103-JP クラス フォーラム
- 4 LFD210-CN Class Forum
- 764 LFD259 Class Forum
- 681 LFS101 Class Forum
- 2 LFS158-JP クラス フォーラム
- 162 LFS207 Class Forum
- 3 LFS207-DE-Klassenforum
- 4 LFS207-JP クラス フォーラム
- 61 LFS241 Class Forum
- 52 LFS242 Class Forum
- 42 LFS243 Class Forum
- 19 LFS244 Class Forum
- 4 LFS250-JP クラス フォーラム
- 166 LFS253 Class Forum
- 19 LFS256 Class Forum
- 1.4K LFS258 Class Forum
- 165 LFS261 Class Forum
- 26 LFS267 Class Forum
- 792 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 87 Storage
- 768 Linux Distributions
- 81 Debian
- 67 Fedora
- 22 Linux Mint
- 13 Mageia
- 24 openSUSE
- 150 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 106 Mobile Computing
- 18 Android
- 73 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 392 Off Topic
- 121 Introductions
- 181 Small Talk
- 29 Study Material
- 945 Programming and Development
- 310 Kernel Development
- 617 Software Development
- 977 Software
- 369 Applications
- 182 Command Line
- 5 Compiling/Installing
- 68 Games
- 317 Installation
- Archived
- 2 LFD140 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)
