From nipos, 6 Months ago, written in Plain Text.
Embed
  1. # Config file for Syslinux -
  2. # /boot/syslinux/syslinux.cfg
  3. #
  4. # Comboot modules:
  5. #   * menu.c32 - provides a text menu
  6. #   * vesamenu.c32 - provides a graphical menu
  7. #   * chain.c32 - chainload MBRs, partition boot sectors, Windows bootloaders
  8. #   * hdt.c32 - hardware detection tool
  9. #   * reboot.c32 - reboots the system
  10. #
  11. # To Use: Copy the respective files from /usr/lib/syslinux to /boot/syslinux.
  12. # If /usr and /boot are on the same file system, symlink the files instead
  13. # of copying them.
  14. #
  15. # If you do not use a menu, a 'boot:' prompt will be shown and the system
  16. # will boot automatically after 5 seconds.
  17. #
  18. # Please review the wiki: https://wiki.archlinux.org/index.php/Syslinux
  19. # The wiki provides further configuration examples
  20.  
  21. DEFAULT arch
  22. PROMPT 0        # Set to 1 if you always want to display the boot: prompt
  23. TIMEOUT 50
  24. # You can create syslinux keymaps with the keytab-lilo tool
  25. #KBDMAP de.ktl
  26.  
  27. # Menu Configuration
  28. # Either menu.c32 or vesamenu32.c32 must be copied to /boot/syslinux
  29. UI menu.c32
  30. #UI vesamenu.c32
  31.  
  32. # Refer to http://syslinux.zytor.com/wiki/index.php/Doc/menu
  33. MENU TITLE Arch Linux
  34. #MENU BACKGROUND splash.png
  35. MENU COLOR border       30;44   #40ffffff #a0000000 std
  36. MENU COLOR title        1;36;44 #9033ccff #a0000000 std
  37. MENU COLOR sel          7;37;40 #e0ffffff #20ffffff all
  38. MENU COLOR unsel        37;44   #50ffffff #a0000000 std
  39. MENU COLOR help         37;40   #c0ffffff #a0000000 std
  40. MENU COLOR timeout_msg  37;40   #80ffffff #00000000 std
  41. MENU COLOR timeout      1;37;40 #c0ffffff #00000000 std
  42. MENU COLOR msg07        37;40   #90ffffff #a0000000 std
  43. MENU COLOR tabmsg       31;40   #30ffffff #00000000 std
  44.  
  45. # boot sections follow
  46. #
  47. # TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
  48. #
  49. #-*
  50.  
  51. LABEL arch
  52.     MENU LABEL Arch Linux
  53.     LINUX ../vmlinuz-linux
  54.     APPEND root=/dev/md0 rw md=0,/dev/sda3,/dev/sdb3
  55.     INITRD ../initramfs-linux.img
  56.  
  57. LABEL archfallback
  58.     MENU LABEL Arch Linux Fallback
  59.     LINUX ../vmlinuz-linux
  60.     APPEND root=/dev/md0 rw md=0,/dev/sda3,/dev/sdb3
  61.     INITRD ../initramfs-linux-fallback.img
  62.  
  63. #LABEL windows
  64. #        MENU LABEL Windows
  65. #        COM32 chain.c32
  66. #        APPEND hd0 1
  67.  
  68. LABEL hdt
  69.         MENU LABEL HDT (Hardware Detection Tool)
  70.         COM32 hdt.c32
  71.  
  72. LABEL reboot
  73.         MENU LABEL Reboot
  74.         COM32 reboot.c32
  75.  
  76. LABEL poweroff
  77.         MENU LABEL Poweroff
  78.         COM32 poweroff.c32