dmesg log boot msgs

Technical issues/questions of an intermediate or advanced nature.
User avatar
Ed_P
Contributor
Contributor
Posts: 8374
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

dmesg log boot msgs

Post#1 by Ed_P » 16 Jan 2024, 20:39

I don't understand these two dmesgs. Why are they different?

Code: Select all

guest@porteus:~$ grep command /var/log/dmesg

[    0.023938] Kernel command line: quiet BOOT_IMAGE=(loop)/boot/syslinux/vmlinuz from=/ISOs/Porteus/Porteus-CINNAMON-v5.01-x86_64-231229.iso volume=33 reboot=cold extramod=/porteus5.0/Modules changes=EXIT:/porteus5.0/changes/50save.dat noload=kde;jinn;lxqt;xfce;lxde;mate;open;dat.xzm;mychanges;autonet;menu1

[    0.023996] Unknown kernel command line parameters "BOOT_IMAGE=(loop)/boot/syslinux/vmlinuz from=/ISOs/Porteus/Porteus-CINNAMON-v5.01-x86_64-231229.iso volume=33 extramod=/porteus5.0/Modules changes=EXIT:/porteus5.0/changes/50save.dat noload=kde;jinn;lxqt;xfce;lxde;mate;open;dat.xzm;mychanges;autonet;menu1", will be passed to user space.

guest@porteus:~$ 
The first line starts with "quiet" and has "reboot=cold". The second line doesn't and says Unknown kernel command.

These are my grub2 boot parameters:

Code: Select all

     set bootparms="volume=33 reboot=cold extramod=$linux_folder/Modules \
       changes=EXIT:$linux_folder/changes/50save.dat \
       noload=kde;jinn;lxqt;xfce;lxde;mate;open;dat.xzm;mychanges;autonet;menu1" # ;mychanges"
They contain the "reboot=code" but not the "quiet".



My whole grub2 boot menu:

Code: Select all

     set iso="/ISOs/Porteus/Porteus-CINNAMON-v5.01-x86_64-231229.iso"

menuentry " Porteus 5.01 ISO - changes="  --class slackware   --class user-icon-porteus  {

     set bootparms="volume=33 reboot=cold extramod=$linux_folder/Modules \
       changes=EXIT:$linux_folder/changes/50save.dat \
       noload=kde;jinn;lxqt;xfce;lxde;mate;open;dat.xzm;mychanges;autonet;menu1" # ;mychanges"

     search -f $iso --set=root
     loopback loop $iso
     linux (loop)/boot/syslinux/vmlinuz      from=$iso $bootparms
     initrd (loop)/boot/syslinux/initrd.xz
     }  
Last edited by Ed_P on 17 Jan 2024, 00:47, edited 1 time in total.
Reason: Expanded grub2 menu to show the loop and from= parameters
Ed

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

dmesg log boot msgs

Post#2 by fanthom » 16 Jan 2024, 22:04

Ed,

Kernel recognizes only specific set of parameters:
https://www.kernel.org/doc/html/latest/ ... eters.html

You can add to the bootloader config pretty much any string, even 'DonaldTrump=GOAT'.

Of course Donald wont be recognized by the kernel but can be recognized by the Porteus system. Unknown parameters are the Porteus ones.

'quiet' is probably added by default in your kernel config.
(it's function can be overridden by 'debug' if you add this parameter to the bootloader config).
Please add [Solved] to your thread title if the solution was found.

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

dmesg log boot msgs

Post#3 by Ed_P » 17 Jan 2024, 00:37

fanthom wrote:
16 Jan 2024, 22:04
Kernel recognizes only specific set of parameters:
https://www.kernel.org/doc/html/latest/ ... eters.html
That's a LOT of parameters, :shock: of which "reboot=" is one and "reboot=cold" is valid. But not "BOOT_IMAGE" or "from=" or "extramod" or "changes=" or "noload" and not even "volume". :o Interesting.

Thank you fanthom. :beer:
Ed

Post Reply