Advertisement
valdur55

Untitled

Nov 13th, 2011
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.38 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='(hd1,msdos6)'
  44. search --no-floppy --fs-uuid --set=root 1b79b1c2-cd44-4eba-8e5e-0eec7a20033f
  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='(hd1,msdos6)'
  52. search --no-floppy --fs-uuid --set=root 1b79b1c2-cd44-4eba-8e5e-0eec7a20033f
  53. set locale_dir=($root)/boot/grub/locale
  54. set lang=et_EE
  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. ### END /etc/grub.d/05_debian_theme ###
  69.  
  70. ### BEGIN /etc/grub.d/10_linux ###
  71. if [ ${recordfail} != 1 ]; then
  72. if [ -e ${prefix}/gfxblacklist.txt ]; then
  73. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  74. if [ ${match} = 0 ]; then
  75. set linux_gfx_mode=keep
  76. else
  77. set linux_gfx_mode=text
  78. fi
  79. else
  80. set linux_gfx_mode=text
  81. fi
  82. else
  83. set linux_gfx_mode=keep
  84. fi
  85. else
  86. set linux_gfx_mode=text
  87. fi
  88. export linux_gfx_mode
  89. if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
  90. menuentry 'Estobuntu 11.10, Linuxiga 3.0.0-12-generic' --class estobuntu --class gnu-linux --class gnu --class os {
  91. recordfail
  92. set gfxpayload=$linux_gfx_mode
  93. insmod gzio
  94. insmod part_msdos
  95. insmod ext2
  96. set root='(hd1,msdos6)'
  97. search --no-floppy --fs-uuid --set=root 1b79b1c2-cd44-4eba-8e5e-0eec7a20033f
  98. linux /boot/vmlinuz-3.0.0-12-generic root=UUID=1b79b1c2-cd44-4eba-8e5e-0eec7a20033f ro quiet splash vt.handoff=7
  99. initrd /boot/initrd.img-3.0.0-12-generic
  100. }
  101. menuentry 'Estobuntu 11.10, Linuxiga 3.0.0-12-generic (taasterežiim)' --class estobuntu --class gnu-linux --class gnu --class os {
  102. recordfail
  103. insmod gzio
  104. insmod part_msdos
  105. insmod ext2
  106. set root='(hd1,msdos6)'
  107. search --no-floppy --fs-uuid --set=root 1b79b1c2-cd44-4eba-8e5e-0eec7a20033f
  108. echo 'Linux 3.0.0-12-generic laadimine ...'
  109. linux /boot/vmlinuz-3.0.0-12-generic root=UUID=1b79b1c2-cd44-4eba-8e5e-0eec7a20033f ro recovery nomodeset
  110. echo 'Algse mäluketta laadimine ...'
  111. initrd /boot/initrd.img-3.0.0-12-generic
  112. }
  113. ### END /etc/grub.d/10_linux ###
  114.  
  115. ### BEGIN /etc/grub.d/20_linux_xen ###
  116. ### END /etc/grub.d/20_linux_xen ###
  117.  
  118. ### BEGIN /etc/grub.d/20_memtest86+ ###
  119. menuentry "Memory test (memtest86+)" {
  120. insmod part_msdos
  121. insmod ext2
  122. set root='(hd1,msdos6)'
  123. search --no-floppy --fs-uuid --set=root 1b79b1c2-cd44-4eba-8e5e-0eec7a20033f
  124. linux16 /boot/memtest86+.bin
  125. }
  126. menuentry "Memory test (memtest86+, serial console 115200)" {
  127. insmod part_msdos
  128. insmod ext2
  129. set root='(hd1,msdos6)'
  130. search --no-floppy --fs-uuid --set=root 1b79b1c2-cd44-4eba-8e5e-0eec7a20033f
  131. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  132. }
  133. ### END /etc/grub.d/20_memtest86+ ###
  134.  
  135. ### BEGIN /etc/grub.d/30_os-prober ###
  136. menuentry "Windows 7 (loader) (on /dev/sdf1)" --class windows --class os {
  137. insmod part_msdos
  138. insmod ntfs
  139. set root='(hd1,msdos1)'
  140. search --no-floppy --fs-uuid --set=root 0664428664427887
  141. chainloader +1
  142. }
  143. ### END /etc/grub.d/30_os-prober ###
  144.  
  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.  
  151. ### BEGIN /etc/grub.d/41_custom ###
  152. if [ -f $prefix/custom.cfg ]; then
  153. source $prefix/custom.cfg;
  154. fi
  155. ### END /etc/grub.d/41_custom ###
  156.  
  157.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement