Advertisement
timcowchip

grub.cfg

Oct 25th, 2015
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.78 KB | None | 0 0
  1. #
  2. # DO NOT EDIT THIS FILE
  3. #
  4. # It is automatically generated by grub-mkconfig using templates
  5. # from /etc/grub.d and settings from /etc/default/grub
  6. #
  7.  
  8. ### BEGIN /etc/grub.d/00_header ###
  9. if [ -s $prefix/grubenv ]; then
  10. load_env
  11. fi
  12. set default="0"
  13.  
  14. if [ x"${feature_menuentry_id}" = xy ]; then
  15. menuentry_id_option="--id"
  16. else
  17. menuentry_id_option=""
  18. fi
  19.  
  20. export menuentry_id_option
  21.  
  22. if [ "${prev_saved_entry}" ]; then
  23. set saved_entry="${prev_saved_entry}"
  24. save_env saved_entry
  25. set prev_saved_entry=
  26. save_env prev_saved_entry
  27. set boot_once=true
  28. fi
  29.  
  30. function savedefault {
  31. if [ -z "${boot_once}" ]; then
  32. saved_entry="${chosen}"
  33. save_env saved_entry
  34. fi
  35. }
  36.  
  37. function load_video {
  38. if [ x$feature_all_video_module = xy ]; then
  39. insmod all_video
  40. else
  41. insmod efi_gop
  42. insmod efi_uga
  43. insmod ieee1275_fb
  44. insmod vbe
  45. insmod vga
  46. insmod video_bochs
  47. insmod video_cirrus
  48. fi
  49. }
  50.  
  51. if loadfont unicode ; then
  52. set gfxmode=auto
  53. load_video
  54. insmod gfxterm
  55. set locale_dir=$prefix/locale
  56. set lang=en_US
  57. insmod gettext
  58. fi
  59. terminal_output gfxterm
  60. set timeout=5
  61. ### END /etc/grub.d/00_header ###
  62.  
  63. ### BEGIN /etc/grub.d/10_linux ###
  64. menuentry 'GNU/Linux' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-8c6089d5-829e-4ee8-a33e-ed549c676d73' {
  65. load_video
  66. insmod gzio
  67. insmod part_msdos
  68. insmod ext2
  69. set root='hd0,msdos4'
  70. if [ x$feature_platform_search_hint = xy ]; then
  71. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 8c6089d5-829e-4ee8-a33e-ed549c676d73
  72. else
  73. search --no-floppy --fs-uuid --set=root 8c6089d5-829e-4ee8-a33e-ed549c676d73
  74. fi
  75. echo 'Loading Linux 3.18.21-NuTyX-lts ...'
  76. linux /boot/kernel-3.18.21-NuTyX-lts root=/dev/sda4 ro
  77. }
  78. submenu 'Advanced options for GNU/Linux' $menuentry_id_option 'gnulinux-advanced-8c6089d5-829e-4ee8-a33e-ed549c676d73' {
  79. menuentry 'GNU/Linux, with Linux 3.18.21-NuTyX-lts' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.18.21-NuTyX-lts-advanced-8c6089d5-829e-4ee8-a33e-ed549c676d73' {
  80. load_video
  81. insmod gzio
  82. insmod part_msdos
  83. insmod ext2
  84. set root='hd0,msdos4'
  85. if [ x$feature_platform_search_hint = xy ]; then
  86. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 8c6089d5-829e-4ee8-a33e-ed549c676d73
  87. else
  88. search --no-floppy --fs-uuid --set=root 8c6089d5-829e-4ee8-a33e-ed549c676d73
  89. fi
  90. echo 'Loading Linux 3.18.21-NuTyX-lts ...'
  91. linux /boot/kernel-3.18.21-NuTyX-lts root=/dev/sda4 ro
  92. }
  93. menuentry 'GNU/Linux, with Linux 3.18.21-NuTyX-lts (recovery mode)' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.18.21-NuTyX-lts-recovery-8c6089d5-829e-4ee8-a33e-ed549c676d73' {
  94. load_video
  95. insmod gzio
  96. insmod part_msdos
  97. insmod ext2
  98. set root='hd0,msdos4'
  99. if [ x$feature_platform_search_hint = xy ]; then
  100. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 8c6089d5-829e-4ee8-a33e-ed549c676d73
  101. else
  102. search --no-floppy --fs-uuid --set=root 8c6089d5-829e-4ee8-a33e-ed549c676d73
  103. fi
  104. echo 'Loading Linux 3.18.21-NuTyX-lts ...'
  105. linux /boot/kernel-3.18.21-NuTyX-lts root=/dev/sda4 ro single
  106. }
  107. }
  108.  
  109. ### END /etc/grub.d/10_linux ###
  110.  
  111. ### BEGIN /etc/grub.d/20_linux_xen ###
  112. ### END /etc/grub.d/20_linux_xen ###
  113.  
  114. ### BEGIN /etc/grub.d/30_os-prober ###
  115. menuentry 'Fedora release 22 (Twenty Two)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-4cc57303-96d3-4dea-8670-31d3aa91a5a4' {
  116. insmod part_msdos
  117. insmod ext2
  118. set root='hd0,msdos1'
  119. if [ x$feature_platform_search_hint = xy ]; then
  120. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 4cc57303-96d3-4dea-8670-31d3aa91a5a4
  121. else
  122. search --no-floppy --fs-uuid --set=root 4cc57303-96d3-4dea-8670-31d3aa91a5a4
  123. fi
  124. linux /boot/vmlinuz-0-rescue-2004cf2b406e4f6a838899e630e9d393 root=/dev/sda1
  125. initrd /boot/initramfs-0-rescue-2004cf2b406e4f6a838899e630e9d393.img
  126. }
  127. submenu 'Advanced options for Fedora release 22 (Twenty Two)' $menuentry_id_option 'osprober-gnulinux-advanced-4cc57303-96d3-4dea-8670-31d3aa91a5a4' {
  128. menuentry 'Fedora release 22 (Twenty Two) (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-0-rescue-2004cf2b406e4f6a838899e630e9d393--4cc57303-96d3-4dea-8670-31d3aa91a5a4' {
  129. insmod part_msdos
  130. insmod ext2
  131. set root='hd0,msdos1'
  132. if [ x$feature_platform_search_hint = xy ]; then
  133. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 4cc57303-96d3-4dea-8670-31d3aa91a5a4
  134. else
  135. search --no-floppy --fs-uuid --set=root 4cc57303-96d3-4dea-8670-31d3aa91a5a4
  136. fi
  137. linux /boot/vmlinuz-0-rescue-2004cf2b406e4f6a838899e630e9d393 root=/dev/sda1
  138. initrd /boot/initramfs-0-rescue-2004cf2b406e4f6a838899e630e9d393.img
  139. }
  140. menuentry 'Fedora release 22 (Twenty Two) (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.2.3-200.fc22.x86_64--4cc57303-96d3-4dea-8670-31d3aa91a5a4' {
  141. insmod part_msdos
  142. insmod ext2
  143. set root='hd0,msdos1'
  144. if [ x$feature_platform_search_hint = xy ]; then
  145. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 4cc57303-96d3-4dea-8670-31d3aa91a5a4
  146. else
  147. search --no-floppy --fs-uuid --set=root 4cc57303-96d3-4dea-8670-31d3aa91a5a4
  148. fi
  149. linux /boot/vmlinuz-4.2.3-200.fc22.x86_64 root=/dev/sda1
  150. initrd /boot/initramfs-4.2.3-200.fc22.x86_64.img
  151. }
  152. }
  153.  
  154. menuentry 'Frugalware 2.0.102212.g8cbf459 (Rigel)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-ee216a8e-e58d-43d4-8225-68c7ee4cc761' {
  155. insmod part_msdos
  156. insmod ext2
  157. set root='hd0,msdos3'
  158. if [ x$feature_platform_search_hint = xy ]; then
  159. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 ee216a8e-e58d-43d4-8225-68c7ee4cc761
  160. else
  161. search --no-floppy --fs-uuid --set=root ee216a8e-e58d-43d4-8225-68c7ee4cc761
  162. fi
  163. linux /boot/vmlinuz-4.2.3-fw1 root=UUID=ee216a8e-e58d-43d4-8225-68c7ee4cc761 ro audit=0 audit=0 audit=0 audit=0 quiet resume=UUID=8f842be8-f0cd-414e-bb7a-7f98e606b4f8
  164. initrd /boot/initrd-4.2.3-fw1
  165. }
  166. submenu 'Advanced options for Frugalware 2.0.102212.g8cbf459 (Rigel)' $menuentry_id_option 'osprober-gnulinux-advanced-ee216a8e-e58d-43d4-8225-68c7ee4cc761' {
  167. menuentry 'Frugalware 2.0.102212.g8cbf459 (Rigel) (on /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.2.3-fw1--ee216a8e-e58d-43d4-8225-68c7ee4cc761' {
  168. insmod part_msdos
  169. insmod ext2
  170. set root='hd0,msdos3'
  171. if [ x$feature_platform_search_hint = xy ]; then
  172. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 ee216a8e-e58d-43d4-8225-68c7ee4cc761
  173. else
  174. search --no-floppy --fs-uuid --set=root ee216a8e-e58d-43d4-8225-68c7ee4cc761
  175. fi
  176. linux /boot/vmlinuz-4.2.3-fw1 root=UUID=ee216a8e-e58d-43d4-8225-68c7ee4cc761 ro audit=0 audit=0 audit=0 audit=0 quiet resume=UUID=8f842be8-f0cd-414e-bb7a-7f98e606b4f8
  177. initrd /boot/initrd-4.2.3-fw1
  178. }
  179. menuentry 'Frugalware 2.0.102212.g8cbf459 (Rigel), with Linux 4.2.3-fw1 (console mode) (on /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.2.3-fw1--ee216a8e-e58d-43d4-8225-68c7ee4cc761' {
  180. insmod part_msdos
  181. insmod ext2
  182. set root='hd0,msdos3'
  183. if [ x$feature_platform_search_hint = xy ]; then
  184. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 ee216a8e-e58d-43d4-8225-68c7ee4cc761
  185. else
  186. search --no-floppy --fs-uuid --set=root ee216a8e-e58d-43d4-8225-68c7ee4cc761
  187. fi
  188. linux /boot/vmlinuz-4.2.3-fw1 root=UUID=ee216a8e-e58d-43d4-8225-68c7ee4cc761 ro audit=0 audit=0 audit=0 audit=0 quiet systemd.unit=multi-user.target resume=UUID=8f842be8-f0cd-414e-bb7a-7f98e606b4f8
  189. initrd /boot/initrd-4.2.3-fw1
  190. }
  191. }
  192.  
  193. ### END /etc/grub.d/30_os-prober ###
  194.  
  195. ### BEGIN /etc/grub.d/40_custom ###
  196. # This file provides an easy way to add custom menu entries. Simply type the
  197. # menu entries you want to add after this comment. Be careful not to change
  198. # the 'exec tail' line above.
  199. ### END /etc/grub.d/40_custom ###
  200.  
  201. ### BEGIN /etc/grub.d/41_custom ###
  202. if [ -f ${config_directory}/custom.cfg ]; then
  203. source ${config_directory}/custom.cfg
  204. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  205. source $prefix/custom.cfg;
  206. fi
  207. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement