Skip to content

Instantly share code, notes, and snippets.

@zchee
Last active November 28, 2017 16:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save zchee/7921af23941012ac282696e158440f07 to your computer and use it in GitHub Desktop.
Save zchee/7921af23941012ac282696e158440f07 to your computer and use it in GitHub Desktop.
default vesamenu.c32
timeout 600
display boot.msg
.
.
.
# omit other than label section and text
label rescue
menu indent count 5
menu label ^Rescue a CentOS system
kernel vmlinuz
append initrd=initrd.img inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 rescue quiet
label memtest
menu label Run a ^memory test
kernel memtest
label local
menu label Boot from ^local drive
localboot 0xffff
label returntomain
menu label Return to ^main menu
menu exit
label check
menu label Test this ^media & install CentOS 7
menu default
kernel vmlinuz
append initrd=initrd.img inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 rd.live.check quiet
label vesa
menu indent count 5
menu label Install CentOS 7 in ^basic graphics mode
kernel vmlinuz
append initrd=initrd.img inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 xdriver=vesa nomodeset quiet
menu label Return to ^main menu
label linux
menu label ^Install CentOS 7
kernel vmlinuz
append initrd=initrd.img inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 quiet
menu exit
.
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment