kernel-parameters.txt

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

kernel-parameters.txt

Post#1 by Rava » 26 Oct 2022, 03:39

my cheatcodes.txt says this:
The cheatcodes listed here are only those
that are specific to Porteus (see the final note for information on
cheatcodes that apply to all linux distributions, including Porteus).
and at the end as mentioned we find this
The cheatcodes listed above are those that are unique to Porteus.
There are literally hundreds of other kernel boot parameters
that can be used. For more information on these parameters visit:
http://www.kernel.org/doc/Documentation ... meters.txt
but that's a 404:

Code: Select all

guest@porteus:/tmp$ wget http://www.kernel.org/doc/Documentation/kernel-parameters.txt
--2022-10-26 05:23:53--  http://www.kernel.org/doc/Documentation/kernel-parameters.txt
Resolving www.kernel.org (www.kernel.org)... 145.40.68.75, 2604:1380:4601:e00::1
Connecting to www.kernel.org (www.kernel.org)|145.40.68.75|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.kernel.org/doc/Documentation/kernel-parameters.txt [following]
--2022-10-26 05:23:54--  https://www.kernel.org/doc/Documentation/kernel-parameters.txt
Connecting to www.kernel.org (www.kernel.org)|145.40.68.75|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-10-26 05:23:54 ERROR 404: Not Found.
These are all things "kernel" in https://www.kernel.org/doc/Documentation/ :

Code: Select all

Index of /doc/Documentation/
[…]
kernel-hacking/                                    14-Aug-2022 23:08                   -
[…]
kernel-doc-nano-HOWTO.txt                          15-Jul-2017 22:33               10529
kernel-per-CPU-kthreads.txt                        04-Nov-2018 23:45               13644
kernel-hacking/ only contains this:

Code: Select all

Index of /doc/Documentation/kernel-hacking/

../
conf.py                                            15-Jul-2017 22:33                 217
hacking.rst                                        14-Aug-2022 23:08               31082
index.rst                                          26-Aug-2018 21:24                 140
locking.rst                                        06-Jun-2022 00:23               53174
web.archive.org to the rescue, there are 348 captures (24 Feb 2008 - 6 Oct 2022) for https://www.kernel.org/doc/Documentatio ... meters.txt
Cave! The newer ones are all 404 as well. :(

Therefore I choose an older one quite randomly:
https://web.archive.org/web/20140908094 ... meters.txt

To get the text only version use this URL:
https://web.archive.org/web/20140908094 ... meters.txt

e.g. with wget:

Code: Select all

guest@porteus:/tmp$ wget https://web.archive.org/web/20140908094611if_/https://www.kernel.org/doc/Documentation/kernel-parameters.txt
--2022-10-26 05:38:42--  https://web.archive.org/web/20140908094611if_/https://www.kernel.org/doc/Documentation/kernel-parameters.txt
Resolving web.archive.org (web.archive.org)... 207.241.237.3
Connecting to web.archive.org (web.archive.org)|207.241.237.3|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 134383 (131K) [text/plain]
Saving to: ‘kernel-parameters.txt’

kernel-parameters.t 100%[===================>] 131.23K   149KB/s    in 0.9s    

2022-10-26 05:38:44 (149 KB/s) - ‘kernel-parameters.txt’ saved [134383/134383]

guest@porteus:/tmp$ ls -o kernel-parameters.txt 
-rw-r--r-- 1 guest 134383 2014-08-16 19:00 kernel-parameters.txt
guest@porteus:/tmp$ wc kernel-parameters.txt 
  3775  18079 134383 kernel-parameters.txt
HTH.
Cheers!
Yours Rava

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3933
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

kernel-parameters.txt

Post#2 by ncmprhnsbl » 26 Oct 2022, 05:38

new place looks to be: https://www.kernel.org/doc/Documentatio ... meters.txt
which is where /usr/doc/cheatcodes.txt has it ...seems that change didn't percolate through to /boot/docs..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Ed_P
Contributor
Contributor
Posts: 8360
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

kernel-parameters.txt

Post#3 by Ed_P » 26 Oct 2022, 05:48

Rava wrote:
26 Oct 2022, 03:39
my cheatcodes.txt says this
Where do you find this file?
ncmprhnsbl wrote:
26 Oct 2022, 05:38
which is where /usr/doc/cheatcodes.txt has it
I found it. It's in /usr/doc/porteus/cheatcodes.txt.
Ed

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

kernel-parameters.txt

Post#4 by Rava » 26 Oct 2022, 07:34

And here searched in the official XFCE 5.0 iso and in /usr/doc/porteus/cheatcodes.txt :

Code: Select all

root@porteus:/# mloop /mybin/linux/porteus/5.0/x86-64/ISO/Porteus-XFCE-v5.0-x86_64.iso 
using /dev/loop11
[…]

root@porteus:/# grep kernel-parameters.txt /mnt/loop/boot/docs/cheatcodes.txt /usr/doc/porteus/cheatcodes.txt 
/mnt/loop/boot/docs/cheatcodes.txt:http://www.kernel.org/doc/Documentation/kernel-parameters.txt
/usr/doc/porteus/cheatcodes.txt:https://www.kernel.org/doc/Documentation/admin-guide/kernel-parameters.txt
It indeed did not percolate.

Added in 6 minutes 24 seconds:
At least there is only one more difference, but that one might cause issues:

Code: Select all

root@porteus:/# diff /mnt/loop/boot/docs/cheatcodes.txt /usr/doc/porteus/cheatcodes.txt 
402c402
<        the value specified (0-100).  You will be able to raise
---
>        the value specified (1-100).  You will be able to raise
486c486
< http://www.kernel.org/doc/Documentation/kernel-parameters.txt
---
> https://www.kernel.org/doc/Documentation/admin-guide/kernel-parameters.txt
Added in 2 minutes 5 seconds:
No, it won't, volume=0 is still valid as grep -C 3 tells us

Code: Select all

root@porteus:/# grep -C 3 "the value specified (1" /usr/doc/porteus/cheatcodes.txt
volume=some_value

   ... This parameter sets the system's Master Volume channel to
       the value specified (1-100).  You will be able to raise
       or lower the volume after you boot up as normal.
       The default value is 45.
       Example: 'volume=0' will boot into your chosen GUI silently.
:)

Added in 10 minutes 43 seconds:
And in case someone was curious, there is quiete the difference between my older now renamed into kernel-parameters-OLD.txt and the most recent one under the different URL:

Code: Select all

guest@porteus:/tmp$ wget https://www.kernel.org/doc/Documentation/admin-guide/kernel-parameters.txt
--2022-10-26 09:49:52--  https://www.kernel.org/doc/Documentation/admin-guide/kernel-parameters.txt
Resolving www.kernel.org (www.kernel.org)... 145.40.68.75, 2604:1380:4601:e00::1
Connecting to www.kernel.org (www.kernel.org)|145.40.68.75|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 252154 (246K) [text/plain]
Saving to: ‘kernel-parameters.txt’

kernel-parameters.t 100%[===================>] 246.24K   659KB/s    in 0.4s    

2022-10-26 09:49:53 (659 KB/s) - ‘kernel-parameters.txt’ saved [252154/252154]

guest@porteus:/tmp$ ls -o kernel-parameters*
-rw-r--r--   1 guest  134383 2014-08-16 19:00 kernel-parameters-OLD.txt
-rw-r--r--   1 guest  252154 2022-10-17 00:41 kernel-parameters.txt
With a size difference that huge I do not do a diff. B)
Cheers!
Yours Rava

Post Reply