spacepaste

  1.  
  2. #
  3. # DO NOT EDIT THIS FILE
  4. #
  5. # It is automatically generated by grub-mkconfig using templates
  6. # from /etc/grub.d and settings from /etc/default/grub
  7. #
  8. ### BEGIN /etc/grub.d/00_header ###
  9. insmod part_gpt
  10. insmod part_msdos
  11. if [ -s $prefix/grubenv ]; then
  12. load_env
  13. fi
  14. if [ "${next_entry}" ] ; then
  15. set default="${next_entry}"
  16. set next_entry=
  17. save_env next_entry
  18. set boot_once=true
  19. else
  20. set default="0"
  21. fi
  22. if [ x"${feature_menuentry_id}" = xy ]; then
  23. menuentry_id_option="--id"
  24. else
  25. menuentry_id_option=""
  26. fi
  27. export menuentry_id_option
  28. if [ "${prev_saved_entry}" ]; then
  29. set saved_entry="${prev_saved_entry}"
  30. save_env saved_entry
  31. set prev_saved_entry=
  32. save_env prev_saved_entry
  33. set boot_once=true
  34. fi
  35. function savedefault {
  36. if [ -z "${boot_once}" ]; then
  37. saved_entry="${chosen}"
  38. save_env saved_entry
  39. fi
  40. }
  41. function load_video {
  42. if [ x$feature_all_video_module = xy ]; then
  43. insmod all_video
  44. else
  45. insmod efi_gop
  46. insmod efi_uga
  47. insmod ieee1275_fb
  48. insmod vbe
  49. insmod vga
  50. insmod video_bochs
  51. insmod video_cirrus
  52. fi
  53. }
  54. if [ x$feature_default_font_path = xy ] ; then
  55. font=unicode
  56. else
  57. insmod part_gpt
  58. insmod ext2
  59. set root='hd0,gpt2'
  60. if [ x$feature_platform_search_hint = xy ]; then
  61. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 67b768c5-a446-4614-840e-97b186ada597
  62. else
  63. search --no-floppy --fs-uuid --set=root 67b768c5-a446-4614-840e-97b186ada597
  64. fi
  65. font="/usr/share/grub/unicode.pf2"
  66. fi
  67. if loadfont $font ; then
  68. set gfxmode=auto
  69. load_video
  70. insmod gfxterm
  71. set locale_dir=$prefix/locale
  72. set lang=en_US
  73. insmod gettext
  74. fi
  75. terminal_input console
  76. terminal_output gfxterm
  77. if [ x$feature_timeout_style = xy ] ; then
  78. set timeout_style=menu
  79. set timeout=5
  80. # Fallback normal timeout code in case the timeout_style feature is
  81. # unavailable.
  82. else
  83. set timeout=5
  84. fi
  85. ### END /etc/grub.d/00_header ###
  86. ### BEGIN /etc/grub.d/10_linux ###
  87. menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-67b768c5-a446-4614-840e-97b186ada597' {
  88. load_video
  89. set gfxpayload=keep
  90. insmod gzio
  91. insmod part_gpt
  92. insmod fat
  93. set root='hd0,gpt1'
  94. if [ x$feature_platform_search_hint = xy ]; then
  95. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 FCA7-5006
  96. else
  97. search --no-floppy --fs-uuid --set=root FCA7-5006
  98. fi
  99. echo 'Loading Linux linux ...'
  100. linux /vmlinuz-linux root=UUID=67b768c5-a446-4614-840e-97b186ada597 rw quiet
  101. echo 'Loading initial ramdisk ...'
  102. initrd /initramfs-linux.img
  103. }
  104. submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-67b768c5-a446-4614-840e-97b186ada597' {
  105. menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-67b768c5-a446-4614-840e-97b186ada597' {
  106. load_video
  107. set gfxpayload=keep
  108. insmod gzio
  109. insmod part_gpt
  110. insmod fat
  111. set root='hd0,gpt1'
  112. if [ x$feature_platform_search_hint = xy ]; then
  113. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 FCA7-5006
  114. else
  115. search --no-floppy --fs-uuid --set=root FCA7-5006
  116. fi
  117. echo 'Loading Linux linux ...'
  118. linux /vmlinuz-linux root=UUID=67b768c5-a446-4614-840e-97b186ada597 rw quiet
  119. echo 'Loading initial ramdisk ...'
  120. initrd /initramfs-linux.img
  121. }
  122. menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-67b768c5-a446-4614-840e-97b186ada597' {
  123. load_video
  124. set gfxpayload=keep
  125. insmod gzio
  126. insmod part_gpt
  127. insmod fat
  128. set root='hd0,gpt1'
  129. if [ x$feature_platform_search_hint = xy ]; then
  130. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 FCA7-5006
  131. else
  132. search --no-floppy --fs-uuid --set=root FCA7-5006
  133. fi
  134. echo 'Loading Linux linux ...'
  135. linux /vmlinuz-linux root=UUID=67b768c5-a446-4614-840e-97b186ada597 rw quiet
  136. echo 'Loading initial ramdisk ...'
  137. initrd /initramfs-linux-fallback.img
  138. }
  139. }
  140. ### END /etc/grub.d/10_linux ###
  141. ### BEGIN /etc/grub.d/20_linux_xen ###
  142. ### END /etc/grub.d/20_linux_xen ###
  143. ### BEGIN /etc/grub.d/30_os-prober ###
  144. ### END /etc/grub.d/30_os-prober ###
  145. ### BEGIN /etc/grub.d/40_custom ###
  146. # This file provides an easy way to add custom menu entries. Simply type the
  147. # menu entries you want to add after this comment. Be careful not to change
  148. # the 'exec tail' line above.
  149. ### END /etc/grub.d/40_custom ###
  150. ### BEGIN /etc/grub.d/41_custom ###
  151. if [ -f ${config_directory}/custom.cfg ]; then
  152. source ${config_directory}/custom.cfg
  153. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  154. source $prefix/custom.cfg;
  155. fi
  156. ### END /etc/grub.d/41_custom ###
  157. ### BEGIN /etc/grub.d/60_memtest86+ ###
  158. ### END /etc/grub.d/60_memtest86+ ###
  159.