From: Gueven Bay <gueven.bay@googlemail.com>
To: kernelnewbies@kernelnewbies.org
Subject: How do the kernel boot parameters work (especially "toram")?
Date: Fri, 27 Aug 2021 13:03:22 +0200 [thread overview]
Message-ID: <CAHonXRAijsKUbAOOqdr+gGyVHXkgPx-1wWUECe4DSRsbxL0gCw@mail.gmail.com> (raw)
Hello,
With kernel boot parameters I mean the arguments you give on the grub
command line to the kernel. Just like "toram" which on some distros
work and on many doesn't.
I googled but only found webpages listing the possible boot parameters
and maybe explaining what they do, but none where it was explained
_how_ they work.
Does a boot parameter make the kernel call a script? Does a boot
parameter reference a function inside the kernel? If some distros seem
to allow a specific boot parameter what did they do to their distros
kernel to make this parameter work? And which module or which part of
the kernel takes the boot parameters as input to do the appropriate
things?
For example: It seems that Centos (8) does not suppport "toram"
(allowing to load the whole OS into RAM), at least on my machine.
Okay, what should or can I do to get my (Centos) kernel to accept
this? Writing a script? Patching something?
(Maybe my questions are not really clear, just ask me, please.)
Thanks.
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
next reply other threads:[~2021-08-27 11:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-27 11:03 Gueven Bay [this message]
2021-08-27 15:50 ` How do the kernel boot parameters work (especially "toram")? Ian Pilcher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAHonXRAijsKUbAOOqdr+gGyVHXkgPx-1wWUECe4DSRsbxL0gCw@mail.gmail.com \
--to=gueven.bay@googlemail.com \
--cc=kernelnewbies@kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).