Skip to content

Latest commit

 

History

History
175 lines (98 loc) · 3.96 KB

File metadata and controls

175 lines (98 loc) · 3.96 KB

boot

Used to store simple-init boot options, or boot menu items

Type: KEY

Supported environments: LINUX | UEFI

boot.default

Save the default options for the boot menu, which will not be changed at runtime

Values: any subkey name under boot.configs

Type: STRING

Supported environments: LINUX | UEFI

Default:

  • On Linux: "system"
  • On UEFI: "continue"

Reference:

boot.second

Saves the second default option for the boot menu, which is not changed at runtime.

This option is automatically tried when boot.default fails to execute

Values: any subkey name under boot.configs

Type: STRING

Supported environments: LINUX

Default: "system"

Reference:

boot.current

The upcoming target boot item of the boot menu, which will be changed by the boot menu at runtime. This item can also be used to save the current boot item for next boot

When the option is not found, boot.default will be used instead

Values: any subkey name under boot.configs

Type: STRING

Supported environments: LINUX | UEFI

Default:

  • On Linuxenvironment, the kernel command line specifies root=, rootblk=, etc., it will be set to "switchroot"
  • On Linuxenvironment, the kernel command line specifies androidboot.mode=charger, etc., it will be set to "charger"

Reference:

boot.timeout

Countdown to boot menu auto-start

When it is less than or equal to 0, it will start directly without timing

Values: Seconds

Type: INTEGER

Supported environments: LINUX | UEFI

Default: 10

Reference:

boot.timeout_text

Display text for the countdown to be automatically started by the boot menu

%d will be replaced with the current countdown time remaining (can only be specified once)

Type: STRING

Supported environments: LINUX | UEFI

Default: translated "Auto boot in %d seconds"

Reference:

boot.title

Title of the boot menu

Type: STRING

Supported environments: LINUX | UEFI

Default: translated "Boot Menu"

Reference:

boot.uefi_bootmenu

Specifies whether to get boot items from the UEFI boot manager and add them to the boot menu.

Enumerated boot items are not saved.

The enumerated boot items are named uefi_bootXXXX

Values: true or false

Type: BOOLEAN

Supported environments: UEFI

Default: true

Reference:

boot.uefi_probe

Specifies whether to automatically search all partitions for possible installed operating systems and add them to the boot menu.

Found boot items are not saved.

The found boot item is named prober-X

Values: true or false

Type: BOOLEAN

Supported environments: UEFI

Default: true

Reference:

boot.console_log

Whether to display logs in the terminal at boot

Values: true or false

Type: BOOLEAN

Supported environments: UEFI

Default: true

Reference:

boot.configs

Boot items storage

Type: KEY

Supported environments: LINUX | UEFI

Detailed options: boot.configs