Advertisement
Guest User

Untitled

a guest
Jun 29th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.58 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. }
  38.  
  39. insmod part_msdos
  40. insmod ext2
  41. set root='(/dev/mapper/isw_defbacehce_Raid0,msdos5)'
  42. search --no-floppy --fs-uuid --set 6335c064-ef29-46e4-97ae-85a51966ac54
  43. if loadfont /usr/share/grub/unicode.pf2 ; then
  44. set gfxmode=640x480
  45. load_video
  46. insmod gfxterm
  47. fi
  48. terminal_output gfxterm
  49. insmod part_msdos
  50. insmod ext2
  51. set root='(/dev/mapper/isw_defbacehce_Raid0,msdos5)'
  52. search --no-floppy --fs-uuid --set 6335c064-ef29-46e4-97ae-85a51966ac54
  53. set locale_dir=($root)/boot/grub/locale
  54. set lang=en
  55. insmod gettext
  56. if [ "${recordfail}" = 1 ]; then
  57. set timeout=-1
  58. else
  59. set timeout=10
  60. fi
  61. ### END /etc/grub.d/00_header ###
  62.  
  63. ### BEGIN /etc/grub.d/05_debian_theme ###
  64. set menu_color_normal=white/black
  65. set menu_color_highlight=black/light-gray
  66. ### END /etc/grub.d/05_debian_theme ###
  67.  
  68. ### BEGIN /etc/grub.d/10_linux ###
  69. menuentry 'Ubuntu, with Linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  70. recordfail
  71. insmod part_msdos
  72. insmod ext2
  73. set root='(/dev/mapper/isw_defbacehce_Raid0,msdos5)'
  74. search --no-floppy --fs-uuid --set 6335c064-ef29-46e4-97ae-85a51966ac54
  75. linux /boot/vmlinuz-2.6.35-22-generic root=UUID=6335c064-ef29-46e4-97ae-85a51966ac54 ro quiet splash
  76. initrd /boot/initrd.img-2.6.35-22-generic
  77. }
  78. menuentry 'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  79. recordfail
  80. insmod part_msdos
  81. insmod ext2
  82. set root='(/dev/mapper/isw_defbacehce_Raid0,msdos5)'
  83. search --no-floppy --fs-uuid --set 6335c064-ef29-46e4-97ae-85a51966ac54
  84. echo 'Loading Linux 2.6.35-22-generic ...'
  85. linux /boot/vmlinuz-2.6.35-22-generic root=UUID=6335c064-ef29-46e4-97ae-85a51966ac54 ro single
  86. echo 'Loading initial ramdisk ...'
  87. initrd /boot/initrd.img-2.6.35-22-generic
  88. }
  89. ### END /etc/grub.d/10_linux ###
  90.  
  91. ### BEGIN /etc/grub.d/20_linux_xen ###
  92. ### END /etc/grub.d/20_linux_xen ###
  93.  
  94. ### BEGIN /etc/grub.d/20_memtest86+ ###
  95. menuentry "Memory test (memtest86+)" {
  96. insmod part_msdos
  97. insmod ext2
  98. set root='(/dev/mapper/isw_defbacehce_Raid0,msdos5)'
  99. search --no-floppy --fs-uuid --set 6335c064-ef29-46e4-97ae-85a51966ac54
  100. linux16 /boot/memtest86+.bin
  101. }
  102. menuentry "Memory test (memtest86+, serial console 115200)" {
  103. insmod part_msdos
  104. insmod ext2
  105. set root='(/dev/mapper/isw_defbacehce_Raid0,msdos5)'
  106. search --no-floppy --fs-uuid --set 6335c064-ef29-46e4-97ae-85a51966ac54
  107. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  108. }
  109. ### END /etc/grub.d/20_memtest86+ ###
  110.  
  111. ### BEGIN /etc/grub.d/30_os-prober ###
  112. menuentry "Windows 7 (loader) (on /dev/sda1)" {
  113. insmod part_msdos
  114. insmod ntfs
  115. set root='(hd0,msdos1)'
  116. search --no-floppy --fs-uuid --set 50c2238ec223777e
  117. chainloader +1
  118. }
  119. menuentry "Ubuntu, with Linux 2.6.35-22-generic (on /dev/sda5)" {
  120. insmod part_msdos
  121. insmod ext2
  122. set root='(hd0,msdos5)'
  123. search --no-floppy --fs-uuid --set 5d896a7d-1793-4c45-b8cc-77713f7c4757
  124. linux /boot/vmlinuz-2.6.35-22-generic root=UUID=5d896a7d-1793-4c45-b8cc-77713f7c4757 ro quiet splash
  125. initrd /boot/initrd.img-2.6.35-22-generic
  126. }
  127. menuentry "Ubuntu, with Linux 2.6.35-22-generic (recovery mode) (on /dev/sda5)" {
  128. insmod part_msdos
  129. insmod ext2
  130. set root='(hd0,msdos5)'
  131. search --no-floppy --fs-uuid --set 5d896a7d-1793-4c45-b8cc-77713f7c4757
  132. linux /boot/vmlinuz-2.6.35-22-generic root=UUID=6335c064-ef29-46e4-97ae-85a51966ac54 ro single
  133. initrd /boot/initrd.img-2.6.35-22-generic
  134. }
  135. ### END /etc/grub.d/30_os-prober ###
  136.  
  137. ### BEGIN /etc/grub.d/40_custom ###
  138. # This file provides an easy way to add custom menu entries. Simply type the
  139. # menu entries you want to add after this comment. Be careful not to change
  140. # the 'exec tail' line above.
  141. ### END /etc/grub.d/40_custom ###
  142.  
  143. ### BEGIN /etc/grub.d/41_custom ###
  144. if [ -f $prefix/custom.cfg ]; then
  145. source $prefix/custom.cfg;
  146. fi
  147. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement