Zaibon

Untitled

Mar 28th, 2012
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.61 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. set have_grubenv=true
  11. load_env
  12. fi
  13. set default="0"
  14. if [ "${prev_saved_entry}" ]; then
  15. set saved_entry="${prev_saved_entry}"
  16. save_env saved_entry
  17. set prev_saved_entry=
  18. save_env prev_saved_entry
  19. set boot_once=true
  20. fi
  21.  
  22. function savedefault {
  23. if [ -z "${boot_once}" ]; then
  24. saved_entry="${chosen}"
  25. save_env saved_entry
  26. fi
  27. }
  28.  
  29. function recordfail {
  30. set recordfail=1
  31. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  32. }
  33.  
  34. function load_video {
  35. insmod vbe
  36. insmod vga
  37. insmod video_bochs
  38. insmod video_cirrus
  39. }
  40.  
  41. insmod part_msdos
  42. insmod ext2
  43. set root='(hd0,msdos6)'
  44. search --no-floppy --fs-uuid --set=root eb2792c3-cfee-458e-a954-2c9ef8037e6d
  45. if loadfont /usr/share/grub/unicode.pf2 ; then
  46. set gfxmode=auto
  47. load_video
  48. insmod gfxterm
  49. insmod part_msdos
  50. insmod ext2
  51. set root='(hd0,msdos6)'
  52. search --no-floppy --fs-uuid --set=root eb2792c3-cfee-458e-a954-2c9ef8037e6d
  53. set locale_dir=($root)/boot/grub/locale
  54. set lang=fr_BE
  55. insmod gettext
  56. fi
  57. terminal_output gfxterm
  58. if [ "${recordfail}" = 1 ]; then
  59. set timeout=-1
  60. else
  61. set timeout=10
  62. fi
  63. ### END /etc/grub.d/00_header ###
  64.  
  65. ### BEGIN /etc/grub.d/05_debian_theme ###
  66. set menu_color_normal=white/black
  67. set menu_color_highlight=black/light-gray
  68. if background_color 0,0,0; then
  69. clear
  70. fi
  71. ### END /etc/grub.d/05_debian_theme ###
  72.  
  73. ### BEGIN /etc/grub.d/06_mint_theme ###
  74. set menu_color_normal=white/black
  75. set menu_color_highlight=white/light-gray
  76. ### END /etc/grub.d/06_mint_theme ###
  77.  
  78. ### BEGIN /etc/grub.d/10_linux ###
  79. if [ ${recordfail} != 1 ]; then
  80. if [ -e ${prefix}/gfxblacklist.txt ]; then
  81. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  82. if [ ${match} = 0 ]; then
  83. set linux_gfx_mode=keep
  84. else
  85. set linux_gfx_mode=text
  86. fi
  87. else
  88. set linux_gfx_mode=text
  89. fi
  90. else
  91. set linux_gfx_mode=keep
  92. fi
  93. else
  94. set linux_gfx_mode=text
  95. fi
  96. export linux_gfx_mode
  97. if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
  98. menuentry 'Linux Mint 12 64-bit, 3.0.0-12-generic (/dev/sda6)' --class linuxmint --class gnu-linux --class gnu --class os {
  99. recordfail
  100. set gfxpayload=$linux_gfx_mode
  101. insmod gzio
  102. insmod part_msdos
  103. insmod ext2
  104. set root='(hd0,msdos6)'
  105. search --no-floppy --fs-uuid --set=root eb2792c3-cfee-458e-a954-2c9ef8037e6d
  106. linux /boot/vmlinuz-3.0.0-12-generic root=UUID=eb2792c3-cfee-458e-a954-2c9ef8037e6d ro quiet i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1 pcie_aspm=force splash vt.handoff=7
  107. initrd /boot/initrd.img-3.0.0-12-generic
  108. }
  109. menuentry 'Linux Mint 12 64-bit, 3.0.0-12-generic (/dev/sda6) -- recovery mode' --class linuxmint --class gnu-linux --class gnu --class os {
  110. recordfail
  111. insmod gzio
  112. insmod part_msdos
  113. insmod ext2
  114. set root='(hd0,msdos6)'
  115. search --no-floppy --fs-uuid --set=root eb2792c3-cfee-458e-a954-2c9ef8037e6d
  116. echo 'Chargement de Linux 3.0.0-12-generic ...'
  117. linux /boot/vmlinuz-3.0.0-12-generic root=UUID=eb2792c3-cfee-458e-a954-2c9ef8037e6d ro recovery nomodeset
  118. echo 'Chargement du disque mémoire initial ...'
  119. initrd /boot/initrd.img-3.0.0-12-generic
  120. }
  121. ### END /etc/grub.d/10_linux ###
  122.  
  123. ### BEGIN /etc/grub.d/10_lupin ###
  124. ### END /etc/grub.d/10_lupin ###
  125.  
  126. ### BEGIN /etc/grub.d/20_linux_xen ###
  127. ### END /etc/grub.d/20_linux_xen ###
  128.  
  129. ### BEGIN /etc/grub.d/20_memtest86+ ###
  130. menuentry "Memory test (memtest86+)" {
  131. insmod part_msdos
  132. insmod ext2
  133. set root='(hd0,msdos6)'
  134. search --no-floppy --fs-uuid --set=root eb2792c3-cfee-458e-a954-2c9ef8037e6d
  135. linux16 /boot/memtest86+.bin
  136. }
  137. menuentry "Memory test (memtest86+, serial console 115200)" {
  138. insmod part_msdos
  139. insmod ext2
  140. set root='(hd0,msdos6)'
  141. search --no-floppy --fs-uuid --set=root eb2792c3-cfee-458e-a954-2c9ef8037e6d
  142. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  143. }
  144. ### END /etc/grub.d/20_memtest86+ ###
  145.  
  146. ### BEGIN /etc/grub.d/30_os-prober ###
  147. menuentry "Windows 7 (loader) (on /dev/sda2)" --class windows --class os {
  148. insmod part_msdos
  149. insmod ntfs
  150. set root='(hd0,msdos2)'
  151. search --no-floppy --fs-uuid --set=root 487AEAE67AEACFAC
  152. chainloader +1
  153. }
  154. ### END /etc/grub.d/30_os-prober ###
  155.  
  156. ### BEGIN /etc/grub.d/40_custom ###
  157. # This file provides an easy way to add custom menu entries. Simply type the
  158. # menu entries you want to add after this comment. Be careful not to change
  159. # the 'exec tail' line above.
  160. ### END /etc/grub.d/40_custom ###
  161.  
  162. ### BEGIN /etc/grub.d/41_custom ###
  163. if [ -f $prefix/custom.cfg ]; then
  164. source $prefix/custom.cfg;
  165. fi
  166. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment