grub2-efi.cfg 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. set default="1"
  2. function load_video {
  3. if [ x$feature_all_video_module = xy ]; then
  4. insmod all_video
  5. else
  6. insmod efi_gop
  7. insmod efi_uga
  8. insmod ieee1275_fb
  9. insmod vbe
  10. insmod vga
  11. insmod video_bochs
  12. insmod video_cirrus
  13. fi
  14. }
  15. load_video
  16. set gfxpayload=keep
  17. insmod gzio
  18. insmod part_gpt
  19. insmod ext2
  20. set timeout=60
  21. ### END /etc/grub.d/00_header ###
  22. search --no-floppy --set=root -l '@ISOLABEL@'
  23. ### BEGIN /etc/grub.d/10_linux ###
  24. menuentry 'Install @PRODUCT@ @VERSION@' --class red --class gnu-linux --class gnu --class os {
  25. linux @KERNELPATH@ @ROOT@ ro
  26. initrd @INITRDPATH@
  27. }
  28. menuentry 'Test this media & install @PRODUCT@ @VERSION@' --class red --class gnu-linux --class gnu --class os {
  29. linux @KERNELPATH@ @ROOT@ rd.live.check
  30. initrd @INITRDPATH@
  31. }
  32. submenu 'Troubleshooting -->' {
  33. menuentry 'Install @PRODUCT@ @VERSION@ in text mode' --class red --class gnu-linux --class gnu --class os {
  34. linux @KERNELPATH@ @ROOT@ inst.text
  35. initrd @INITRDPATH@
  36. }
  37. menuentry 'Rescue a @PRODUCT@ system' --class red --class gnu-linux --class gnu --class os {
  38. linux @KERNELPATH@ @ROOT@ inst.rescue
  39. initrd @INITRDPATH@
  40. }
  41. }