simpleboot.cfg 4.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. #
  2. # example/simpleboot.cfg
  3. # https://gitlab.com/bztsrc/simpleboot
  4. #
  5. # Copyright (C) 2023 bzt (bztsrc@gitlab), MIT license
  6. #
  7. # Permission is hereby granted, free of charge, to any person obtaining a copy
  8. # of this software and associated documentation files (the "Software"), to
  9. # deal in the Software without restriction, including without limitation the
  10. # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
  11. # sell copies of the Software, and to permit persons to whom the Software is
  12. # furnished to do so, subject to the following conditions:
  13. #
  14. # The above copyright notice and this permission notice shall be included in
  15. # all copies or substantial portions of the Software.
  16. #
  17. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  18. # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  19. # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL ANY
  20. # DEVELOPER OR DISTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  21. # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
  22. # IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  23. #
  24. # @brief Example configuration file for Simpleboot
  25. #
  26. # HINT: running `simpleboot -vv` (with at least 2 'v's) will validate the
  27. # input, which includes a boot configuration file syntax check too.
  28. #
  29. # ------------------------------------------------------------------------------
  30. # With the `kernel` you can tell what file to load, and what arguments to pass.
  31. # The path must be an absolute one (no `.` nor `..`), and its root is relative
  32. # to the boot partition. If directories used, then the separator is `/` (on UEFI
  33. # too). A space separates the path from the command line, so if you need a space
  34. # in the path, you must escape it with a backslash, like `my\ kernel`. The name
  35. # match is upper-case lower-case INsensitive.
  36. kernel vmlinuz-linux console=ttyS0,115200 console=tty0
  37. #kernel mykernel
  38. #kernel core.exe
  39. #kernel boot/bzImage quiet
  40. #kernel EFI/boot/3rd\ Party.elf
  41. # ------------------------------------------------------------------------------
  42. # You can load further files with the module directive. Same syntax as with
  43. # `kernel`, first argument is a path, the rest optional parameters for you.
  44. module initrd
  45. #module boot/rootfs.tgz arch=any some other arguments
  46. # ------------------------------------------------------------------------------
  47. # The framebuffer is always set up, by default at 800 x 600 x 32bpp. You can
  48. # change this with the following line.
  49. framebuffer 1024 768 16
  50. #framebuffer 1920 1080 32
  51. # ------------------------------------------------------------------------------
  52. # Of course you can display a boot splash logo. It has to be in RLE compressed
  53. # indexed (color-mapped) TGA format. If the first argument isn't starting with
  54. # a `#` hashmark, then there's only one argument, then that's the logo file.
  55. # If the first argument starts with a `#`, then a HTML color notation follows,
  56. # which sets the background color. In this case the second argument is the path.
  57. bootsplash #1177FF logo.tga
  58. #bootsplash logo.tga
  59. #bootsplash #00FF00 boot/images/my\ splash\ screen.tga
  60. # ------------------------------------------------------------------------------
  61. # By default the boot messages are surpressed, "quiet" mode. You can increase
  62. # the verbosity level to see more and more details.
  63. verbose 1
  64. #verbose 3
  65. # ------------------------------------------------------------------------------
  66. # By default all kernels started on the boot-strap processor only. However with
  67. # this directive you can turn on SMP and run the kernel on all CPU cores in
  68. # parallel (only for 64-bit Multiboot2 kernels).
  69. #multicore
  70. # ------------------------------------------------------------------------------
  71. # All commands have a variant prefixed by `backup`. If you press any key during
  72. # boot, then the boot process will restart, only this time the prefixed commands
  73. # will be used, and unprefixed ones skipped. Normally it's the other way around,
  74. # prefixed versions are skipped.
  75. backupkernel oldkernel
  76. backupmodule oldinitrd
  77. backupframebuffer 640 480 32
  78. # use red background color when loading backup
  79. backupbootsplash #FF7711 logo_backup.tga