Advertisement
Guest User

Untitled

a guest
Feb 3rd, 2013
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.54 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 [ x$feature_default_font_path = xy ] ; then
  54. font=unicode
  55. else
  56. insmod part_msdos
  57. insmod ext2
  58. set root='hd0,msdos1'
  59. if [ x$feature_platform_search_hint = xy ]; then
  60. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 422c03ec-907d-4139-b9ea-297dde7f208d
  61. else
  62. search --no-floppy --fs-uuid --set=root 422c03ec-907d-4139-b9ea-297dde7f208d
  63. fi
  64. font="/usr/share/grub/unicode.pf2"
  65. fi
  66.  
  67. if loadfont $font ; then
  68. set gfxmode=auto
  69. load_video
  70. insmod gfxterm
  71. set locale_dir=$prefix/locale
  72. set lang=en_US
  73. insmod gettext
  74. fi
  75. terminal_input console
  76. terminal_output gfxterm
  77. set timeout=5
  78. ### END /etc/grub.d/00_header ###
  79.  
  80. ### BEGIN /etc/grub.d/10_linux ###
  81. menuentry 'Arch GNU/Linux $menuentry_id_option 'gnulinux-core repo kernel-true-422c03ec-907d-4139-b9ea-297dde7f208d' {
  82. load_video
  83. set gfxpayload=keep
  84. insmod gzio
  85. insmod part_msdos
  86. insmod ext2
  87. set root='hd0,msdos1'
  88. if [ x$feature_platform_search_hint = xy ]; then
  89. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 422c03ec-907d-4139-b9ea-297dde7f208d
  90. else
  91. search --no-floppy --fs-uuid --set=root 422c03ec-907d-4139-b9ea-297dde7f208d
  92. fi
  93. echo 'Loading Linux core repo kernel ...'
  94. linux /boot/vmlinuz-linux root=UUID=422c03ec-907d-4139-b9ea-297dde7f208d ro quiet
  95. echo 'Loading initial ramdisk ...'
  96. initrd /boot/initramfs-linux.img
  97. }
  98. 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-422c03ec-907d-4139-b9ea-297dde7f208d' {
  99. load_video
  100. set gfxpayload=keep
  101. insmod gzio
  102. insmod part_msdos
  103. insmod ext2
  104. set root='hd0,msdos1'
  105. if [ x$feature_platform_search_hint = xy ]; then
  106. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 422c03ec-907d-4139-b9ea-297dde7f208d
  107. else
  108. search --no-floppy --fs-uuid --set=root 422c03ec-907d-4139-b9ea-297dde7f208d
  109. fi
  110. echo 'Loading Linux core repo kernel ...'
  111. linux /boot/vmlinuz-linux root=UUID=422c03ec-907d-4139-b9ea-297dde7f208d ro quiet
  112. echo 'Loading initial ramdisk ...'
  113. initrd /boot/initramfs-linux-fallback.img
  114. }
  115.  
  116. ### END /etc/grub.d/10_linux ###
  117.  
  118. ### BEGIN /etc/grub.d/20_linux_xen ###
  119. ### END /etc/grub.d/20_linux_xen ###
  120.  
  121. ### BEGIN /etc/grub.d/20_memtest86+ ###
  122. ### END /etc/grub.d/20_memtest86+ ###
  123.  
  124. ### BEGIN /etc/grub.d/30_os-prober ###
  125. ### END /etc/grub.d/30_os-prober ###
  126.  
  127. ### BEGIN /etc/grub.d/40_custom ###
  128. # This file provides an easy way to add custom menu entries. Simply type the
  129. # menu entries you want to add after this comment. Be careful not to change
  130. # the 'exec tail' line above.
  131. ### END /etc/grub.d/40_custom ###
  132.  
  133. ### BEGIN /etc/grub.d/41_custom ###
  134. if [ -f ${config_directory}/custom.cfg ]; then
  135. source ${config_directory}/custom.cfg
  136. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  137. source $prefix/custom.cfg;
  138. fi
  139. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement