You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

grub.cfg.template 1.4 KiB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. if loadfont $prefix/font.pf2 ; then
  2. set gfxmode=640x480
  3. insmod efi_gop
  4. insmod efi_uga
  5. insmod video_bochs
  6. insmod video_cirrus
  7. insmod gfxterm
  8. insmod jpeg
  9. insmod png
  10. terminal_output gfxterm
  11. fi
  12. background_image /boot/grub/splash.png
  13. set menu_color_normal=white/black
  14. set menu_color_highlight=dark-gray/white
  15. set timeout=15
  16. menuentry "${DISTRO} (defaults) US English" {
  17. set gfxpayload=keep
  18. linux /live/vmlinuz boot=live ${ifnames_opt} ${netconfig_opt} ${username_opt}
  19. initrd /live/initrd.img
  20. }
  21. menuentry "${DISTRO} (defaults) UK English" {
  22. set gfxpayload=keep
  23. linux /live/vmlinuz boot=live ${ifnames_opt} ${netconfig_opt} ${username_opt} lang=en_GB
  24. initrd /live/initrd.img
  25. }
  26. menuentry "${DISTRO} (defaults) Espanol" {
  27. set gfxpayload=keep
  28. linux /live/vmlinuz boot=live ${ifnames_opt} ${netconfig_opt} ${username_opt} lang=es_ES
  29. initrd /live/initrd.img
  30. }
  31. submenu 'Advanced options ...' {
  32. menuentry "${DISTRO} (load to RAM)" {
  33. set gfxpayload=keep
  34. linux /live/vmlinuz boot=live toram ${ifnames_opt} ${netconfig_opt} ${username_opt}
  35. initrd /live/initrd.img
  36. }
  37. menuentry "${DISTRO} (failsafe)" {
  38. set gfxpayload=keep
  39. linux /live/vmlinuz boot=live nocomponents=xinit noapm noapic nolapic nodma nosmp forcepae nomodeset vga=normal ${ifnames_opt} ${netconfig_opt} ${username_opt}
  40. initrd /live/initrd.img
  41. }
  42. menuentry "Memory test" {
  43. kernel /live/memtest
  44. }
  45. }