Guest User

grub.cfg

a guest
May 17th, 2014
331
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.13 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. insmod part_gpt
  10. insmod part_msdos
  11. if [ -s $prefix/grubenv ]; then
  12. load_env
  13. fi
  14. set default="0"
  15.  
  16. if [ x"${feature_menuentry_id}" = xy ]; then
  17. menuentry_id_option="--id"
  18. else
  19. menuentry_id_option=""
  20. fi
  21.  
  22. export menuentry_id_option
  23.  
  24. if [ "${prev_saved_entry}" ]; then
  25. set saved_entry="${prev_saved_entry}"
  26. save_env saved_entry
  27. set prev_saved_entry=
  28. save_env prev_saved_entry
  29. set boot_once=true
  30. fi
  31.  
  32. function savedefault {
  33. if [ -z "${boot_once}" ]; then
  34. saved_entry="${chosen}"
  35. save_env saved_entry
  36. fi
  37. }
  38.  
  39. function load_video {
  40. if [ x$feature_all_video_module = xy ]; then
  41. insmod all_video
  42. else
  43. insmod efi_gop
  44. insmod efi_uga
  45. insmod ieee1275_fb
  46. insmod vbe
  47. insmod vga
  48. insmod video_bochs
  49. insmod video_cirrus
  50. fi
  51. }
  52.  
  53. if loadfont unicode ; then
  54. set gfxmode=auto
  55. load_video
  56. insmod gfxterm
  57. set locale_dir=$prefix/locale
  58. set lang=fr_FR
  59. insmod gettext
  60. fi
  61. terminal_input console
  62. terminal_output gfxterm
  63. set timeout=5
  64. ### END /etc/grub.d/00_header ###
  65.  
  66. ### BEGIN /etc/grub.d/10_linux ###
  67. menuentry 'Arch GNU/Linux, avec Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-991db2aa-2955-4c3f-ac76-fc8a8a990d47' {
  68. load_video
  69. set gfxpayload=keep
  70. insmod gzio
  71. insmod part_msdos
  72. insmod ext2
  73. set root='hd0,msdos3'
  74. if [ x$feature_platform_search_hint = xy ]; then
  75. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 68380464-469b-48ee-a428-083ec7d6cb81
  76. else
  77. search --no-floppy --fs-uuid --set=root 68380464-469b-48ee-a428-083ec7d6cb81
  78. fi
  79. echo 'Chargement de Linux core repo kernel…'
  80. linux /vmlinuz-linux root=/dev/mapper/vgroup-root cryptdevice=/dev/sda4:vgroup ro init=/bin/systemd i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1
  81. echo 'Chargement du disque mémoire initial…'
  82. initrd /initramfs-linux.img
  83. }
  84. menuentry 'Arch GNU/Linux, avec Linux lts kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-lts kernel-true-991db2aa-2955-4c3f-ac76-fc8a8a990d47' {
  85. load_video
  86. set gfxpayload=keep
  87. insmod gzio
  88. insmod part_msdos
  89. insmod ext2
  90. set root='hd0,msdos3'
  91. if [ x$feature_platform_search_hint = xy ]; then
  92. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 68380464-469b-48ee-a428-083ec7d6cb81
  93. else
  94. search --no-floppy --fs-uuid --set=root 68380464-469b-48ee-a428-083ec7d6cb81
  95. fi
  96. echo 'Chargement de Linux lts kernel…'
  97. linux /vmlinuz-linux-lts root=/dev/mapper/vgroup-root cryptdevice=/dev/sda4:vgroup ro init=/bin/systemd i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1
  98. echo 'Chargement du disque mémoire initial…'
  99. initrd /initramfs-linux-lts.img
  100. }
  101. menuentry 'Arch GNU/Linux, with Linux lts kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-lts kernel-fallback-991db2aa-2955-4c3f-ac76-fc8a8a990d47' {
  102. load_video
  103. set gfxpayload=keep
  104. insmod gzio
  105. insmod part_msdos
  106. insmod ext2
  107. set root='hd0,msdos3'
  108. if [ x$feature_platform_search_hint = xy ]; then
  109. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 68380464-469b-48ee-a428-083ec7d6cb81
  110. else
  111. search --no-floppy --fs-uuid --set=root 68380464-469b-48ee-a428-083ec7d6cb81
  112. fi
  113. echo 'Chargement de Linux lts kernel…'
  114. linux /vmlinuz-linux-lts root=/dev/mapper/vgroup-root cryptdevice=/dev/sda4:vgroup ro init=/bin/systemd i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1
  115. echo 'Chargement du disque mémoire initial…'
  116. initrd /initramfs-linux-lts-fallback.img
  117. }
  118. menuentry 'Arch GNU/Linux, with Linux core repo kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-fallback-991db2aa-2955-4c3f-ac76-fc8a8a990d47' {
  119. load_video
  120. set gfxpayload=keep
  121. insmod gzio
  122. insmod part_msdos
  123. insmod ext2
  124. set root='hd0,msdos3'
  125. if [ x$feature_platform_search_hint = xy ]; then
  126. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 68380464-469b-48ee-a428-083ec7d6cb81
  127. else
  128. search --no-floppy --fs-uuid --set=root 68380464-469b-48ee-a428-083ec7d6cb81
  129. fi
  130. echo 'Chargement de Linux core repo kernel…'
  131. linux /vmlinuz-linux root=/dev/mapper/vgroup-root ro quiet init=/bin/systemd i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1
  132. echo 'Chargement du disque mémoire initial…'
  133. initrd /initramfs-linux-fallback.img
  134. }
  135.  
  136. ### END /etc/grub.d/10_linux ###
  137.  
  138. ### BEGIN /etc/grub.d/20_linux_xen ###
  139. ### END /etc/grub.d/20_linux_xen ###
  140.  
  141. ### BEGIN /etc/grub.d/20_memtest86+ ###
  142. menuentry "Memory test (memtest86+)" --class memtest86 --class gnu --class tool {
  143. insmod part_msdos
  144. insmod ext2
  145. set root='hd0,msdos3'
  146. if [ x$feature_platform_search_hint = xy ]; then
  147. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 68380464-469b-48ee-a428-083ec7d6cb81
  148. else
  149. search --no-floppy --fs-uuid --set=root 68380464-469b-48ee-a428-083ec7d6cb81
  150. fi
  151. linux16 ($root)/memtest86+/memtest.bin
  152. }
  153. ### END /etc/grub.d/20_memtest86+ ###
  154.  
  155. ### BEGIN /etc/grub.d/30_os-prober ###
  156. ### END /etc/grub.d/30_os-prober ###
  157.  
  158. ### BEGIN /etc/grub.d/40_custom ###
  159. # This file provides an easy way to add custom menu entries. Simply type the
  160. # menu entries you want to add after this comment. Be careful not to change
  161. # the 'exec tail' line above.
  162. ### END /etc/grub.d/40_custom ###
  163.  
  164. ### BEGIN /etc/grub.d/41_custom ###
  165. if [ -f ${config_directory}/custom.cfg ]; then
  166. source ${config_directory}/custom.cfg
  167. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  168. source $prefix/custom.cfg;
  169. fi
  170. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment