Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2012
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 5.86 KB | None | 0 0
  1. #
  2. # DO NOT EDIT THIS FILE
  3. #
  4. # It is automatically generated by /usr/sbin/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.  
  13. #unsigned char bits9, keybits;
  14.  
  15. set keybits = "32";
  16. grub_outb(keybits, 0x20A);
  17. grub_outw(-16832, 0x20C);
  18. set bits9 = grub_inb(0x209);
  19.  
  20. echo "bits9= "
  21. echo bits9
  22.  
  23. if (bits9 == 64)
  24.     set default="1"
  25. if (bits9 == 32)
  26.     set default="2"
  27. if (bits9 == 16)
  28.     set default="3"
  29. else
  30.     set default="0"
  31.  
  32.  
  33. if [ ${prev_saved_entry} ]; then
  34.   set saved_entry=${prev_saved_entry}
  35.   save_env saved_entry
  36.   set prev_saved_entry=
  37.   save_env prev_saved_entry
  38.   set boot_once=true
  39. fi
  40.  
  41. function savedefault {
  42.   if [ -z ${boot_once} ]; then
  43.     saved_entry=${chosen}
  44.     save_env saved_entry
  45.   fi
  46. }
  47.  
  48. function recordfail {
  49.   set recordfail=1
  50.   if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
  51. }
  52. insmod ext2
  53. set root='(hd0,4)'
  54. search --no-floppy --fs-uuid --set 2621c71e-44d7-4496-a958-7f11d270e541
  55. if loadfont /usr/share/grub/unicode.pf2 ; then
  56.   set gfxmode=640x480
  57.   insmod gfxterm
  58.   insmod vbe
  59.   if terminal_output gfxterm ; then true ; else
  60.     # For backward compatibility with versions of terminal.mod that don't
  61.     # understand terminal_output
  62.     terminal gfxterm
  63.   fi
  64. fi
  65. insmod ext2
  66. set root='(hd0,4)'
  67. search --no-floppy --fs-uuid --set 2621c71e-44d7-4496-a958-7f11d270e541
  68. set locale_dir=($root)/boot/grub/locale
  69. set lang=de
  70. insmod gettext
  71. if [ ${recordfail} = 1 ]; then
  72.   set timeout=-1
  73. else
  74.   set timeout=10
  75. fi
  76. ### END /etc/grub.d/00_header ###
  77.  
  78. ### BEGIN /etc/grub.d/01_custom ###
  79. # This file provides an easy way to add custom menu entries.  Simply type the
  80. # menu entries you want to add after this comment.  Be careful not to change
  81. # the 'exec tail' line above.
  82.  
  83.  
  84. # menuentry "Android-x86 3.2.2 (MDPI)" {
  85. #set root=(hd0,4)
  86. #linux /android-2012-02-02/kernel quiet root=/dev/ram0 androidboot_hardware=ads-tec acpi_sleep=s3_bios,s3_mode SRC=/android-2012-02-02 DATA= DPI=160
  87. #initrd /android-2012-02-02/initrd.img
  88. #}
  89.  
  90. menuentry "Android-x86 3.2.2 (HDPI)" {
  91. set root=(hd0,4)
  92. linux /android-2012-02-02/kernel quiet root=/dev/ram0 androidboot_hardware=ads-tec acpi_sleep=s3_bios,s3_mode SRC=/android-2012-02-02 DATA= DPI=240
  93. initrd /android-2012-02-02/initrd.img
  94. }
  95.  
  96. #menuentry "Android-x86 3.2.2 (VESA)" {
  97. #set root=(hd0,4)
  98. #linux /android-2012-02-02/kernel quiet root=/dev/ram0 androidboot_hardware=ads-tec acpi_sleep=s3_bios,s3_mode SRC=/android-2012-02-02 DATA= vga=788
  99. #initrd /android-2012-02-02/initrd.img
  100. #}
  101.  
  102.  
  103. ### END /etc/grub.d/01_custom ###
  104.  
  105. ### BEGIN /etc/grub.d/02_os-prober ###
  106. menuentry "Windows 7 (loader) (on /dev/sda2)" {
  107.     insmod ntfs
  108.     set root='(hd0,2)'
  109.     search --no-floppy --fs-uuid --set 220A0D130A0CE59F
  110.     chainloader +1
  111. }
  112. ### END /etc/grub.d/02_os-prober ###
  113.  
  114. #separator
  115. menuentry "......." {
  116.     linux /boot/memtest86+.bin
  117. }
  118.  
  119. ### BEGIN /etc/grub.d/05_debian_theme ###
  120. set menu_color_normal=white/black
  121. set menu_color_highlight=black/light-gray
  122. ### END /etc/grub.d/05_debian_theme ###
  123.  
  124. ### BEGIN /etc/grub.d/10_linux ###
  125. menuentry 'Ubuntu, mit Linux 2.6.32-40-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
  126.     recordfail
  127.     insmod ext2
  128.     set root='(hd0,4)'
  129.     search --no-floppy --fs-uuid --set 2621c71e-44d7-4496-a958-7f11d270e541
  130.     linux   /boot/vmlinuz-2.6.32-40-generic-pae root=UUID=2621c71e-44d7-4496-a958-7f11d270e541 ro   quiet splash
  131.     initrd  /boot/initrd.img-2.6.32-40-generic-pae
  132. }
  133. menuentry 'Ubuntu, mit Linux 2.6.32-40-generic-pae (Wiederherstellungsmodus)' --class ubuntu --class gnu-linux --class gnu --class os {
  134.     recordfail
  135.     insmod ext2
  136.     set root='(hd0,4)'
  137.     search --no-floppy --fs-uuid --set 2621c71e-44d7-4496-a958-7f11d270e541
  138.     echo    'Linux 2.6.32-40-generic-pae wird geladen …'
  139.     linux   /boot/vmlinuz-2.6.32-40-generic-pae root=UUID=2621c71e-44d7-4496-a958-7f11d270e541 ro single
  140.     echo    'Initiale Ramdisk wird geladen …'
  141.     initrd  /boot/initrd.img-2.6.32-40-generic-pae
  142. }
  143. menuentry "Android-x86 3.2.2 (Debug mode)" {
  144. set root=(hd0,4)
  145. linux /android-2012-02-02/kernel root=/dev/ram0 androidboot_hardware=ads-tec acpi_sleep=s3_bios,s3_mode DEBUG=1 vga=788 SRC=/android-2012-02-02 DATA=
  146. initrd /android-2012-02-02/initrd.img
  147. }
  148. menuentry "Windows 7 (Recovery) (on /dev/sda1)" {
  149.     insmod ntfs
  150.     set root='(hd0,1)'
  151.     search --no-floppy --fs-uuid --set 7C26075626071136
  152.     chainloader +1
  153. }
  154. #menuentry 'Ubuntu, mit Linux 2.6.32-38-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  155. #   recordfail
  156. #   insmod ext2
  157. #   set root='(hd0,4)'
  158. #   search --no-floppy --fs-uuid --set 2621c71e-44d7-4496-a958-7f11d270e541
  159. #   linux   /boot/vmlinuz-2.6.32-38-generic root=UUID=2621c71e-44d7-4496-a958-7f11d270e541 ro   quiet splash
  160. #   initrd  /boot/initrd.img-2.6.32-38-generic
  161. #}
  162. #menuentry 'Ubuntu, mit Linux 2.6.32-38-generic (Wiederherstellungsmodus)' --class ubuntu --class gnu-linux --class gnu --class os {
  163. #   recordfail
  164. #   insmod ext2
  165. #   set root='(hd0,4)'
  166. #   search --no-floppy --fs-uuid --set 2621c71e-44d7-4496-a958-7f11d270e541
  167. #   echo    'Linux 2.6.32-38-generic wird geladen …'
  168. #   linux   /boot/vmlinuz-2.6.32-38-generic root=UUID=2621c71e-44d7-4496-a958-7f11d270e541 ro single
  169. #   echo    'Initiale Ramdisk wird geladen …'
  170. #   initrd  /boot/initrd.img-2.6.32-38-generic
  171. #}
  172. ### END /etc/grub.d/10_linux ###
  173.  
  174. ### BEGIN /etc/grub.d/20_memtest86+ ###
  175. menuentry "Memory test (memtest86+)" {
  176.     insmod ext2
  177.     set root='(hd0,4)'
  178.     search --no-floppy --fs-uuid --set 2621c71e-44d7-4496-a958-7f11d270e541
  179.     linux16 /boot/memtest86+.bin
  180. }
  181. menuentry "Memory test (memtest86+, serial console 115200)" {
  182.     insmod ext2
  183.     set root='(hd0,4)'
  184.     search --no-floppy --fs-uuid --set 2621c71e-44d7-4496-a958-7f11d270e541
  185.     linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  186. }
  187. ### END /etc/grub.d/20_memtest86+ ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement