Skip to content

Instantly share code, notes, and snippets.

@tzbob
Created September 19, 2013 13:52
Show Gist options
  • Save tzbob/6623822 to your computer and use it in GitHub Desktop.
Save tzbob/6623822 to your computer and use it in GitHub Desktop.
# Config file for Syslinux -
# /boot/syslinux/syslinux.cfg
#
# Comboot modules:
# * menu.c32 - provides a text menu
# * vesamenu.c32 - provides a graphical menu
# * chain.c32 - chainload MBRs, partition boot sectors, Windows bootloaders
# * hdt.c32 - hardware detection tool
# * reboot.c32 - reboots the system
# * poweroff.com - shutdown the system
#
# To Use: Copy the respective files from /usr/lib/syslinux to /boot/syslinux.
# If /usr and /boot are on the same file system, symlink the files instead
# of copying them.
#
# If you do not use a menu, a 'boot:' prompt will be shown and the system
# will boot automatically after 5 seconds.
#
# Please review the wiki: https://wiki.archlinux.org/index.php/Syslinux
# The wiki provides further configuration examples
default arch
prompt 0 # Set to 1 if you always want to display the boot: prompt
timeout 0
# Menu Configuration
# Either menu.c32 or vesamenu32.c32 must be copied to /boot/syslinux
ui menu.c32
menu title clevo w740su
menu clear
menu color border 0 * * none
menu color screen 0 * * none
menu color title 0 * * none
menu color unsel 0 * * none
menu color hotkey 0 * * none
menu color sel 7 * * none
menu color hotsel 7 * * none
menu color disabled 0 * * none
menu color tabmsg 0 * * none
menu color cmdmark 0 * * none
menu color cmdline 0 * * none
menu color timeout_msg 0 * * none
menu color timeout 0 * * none
menu color help 0 * * none
menu color msg07 0 * * none
# boot sections follow
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*
label -
menu label operating systems
menu disable
label arch
menu indent 4
menu label arch
linux ../vmlinuz-linux
append root=/dev/sdb1 ro logo.nologo quiet resume=/dev/sdb2 resume_offset=6098944
initrd ../initramfs-linux.img
label windows
menu indent 4
menu label windows
com32 chain.c32
append hd0 3
menu separator
label -
menu label management
menu disable
label archfallback
menu indent 4
menu label fallback
linux ../vmlinuz-linux
append root=/dev/sdb1 ro
initrd ../initramfs-linux-fallback.img
label hdt
menu indent 4
menu label hdt
com32 hdt.c32
label reboot
menu indent 4
menu label reboot
com32 reboot.c32
label off
menu indent 4
menu label shutdown
comboot poweroff.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment