gitlabEdit

square-slidersKernel Arguments

How do the kernel arguments work? And how do they affect the kernel?

Kernel Arguments are command-line parameters to the simulator that changes the behavior of the kernel according to the available arguments listed below:

  • attach: Attaches a Visual Studio debugger to the current instance of the kernel (Windows only)

  • quiet: Starts the kernel quietly

  • maintenance: Starts the kernel in maintenance mode which behaves like safe mode but with additional features turned off

  • safe: Starts the kernel in safe mode which disables all mods

  • testInteractive: Opens the interactive test facade selection

  • debug: Enables debug mode

  • terminaldebug: Enables terminal debug mode

  • reset: Wipes all settings and resets the kernel to factory settings

  • bypasssizedetection: Bypasses the 80x24 console size detection

  • noaltbuffer: Prevents the kernel from using the alternative buffer

  • noprebootsplash: Prevents the kernel from displaying the pre-boot splash

  • lang <lang>: Selects a pre-boot environment language

  • verbosepreboot: Shows extra pre-boot messages

Each argument is provided the ArgumentInfo class that defines the argument and its properties.

circle-exclamation

The arguments are parsed each time the kernel starts up or gets rebooted. If there are any switches or argument parameters, they'll get parsed using the ProvidedArgumentsInfo class.

circle-info

To learn more about ProvidedArgumentsInfo, click on the below link:

Command-Line Arguments