AndrzejL

Grub.cfg Acer Arch Linux 2013

Jan 12th, 2013
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.25 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 1d57d4c0-ecdc-4f85-b997-bbaac4313b16
  61. else
  62. search --no-floppy --fs-uuid --set=root 1d57d4c0-ecdc-4f85-b997-bbaac4313b16
  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_UK
  73. insmod gettext
  74. fi
  75. terminal_input console
  76. terminal_output gfxterm
  77. insmod part_msdos
  78. insmod ext2
  79. set root='hd0,msdos1'
  80. if [ x$feature_platform_search_hint = xy ]; then
  81. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 1d57d4c0-ecdc-4f85-b997-bbaac4313b16
  82. else
  83. search --no-floppy --fs-uuid --set=root 1d57d4c0-ecdc-4f85-b997-bbaac4313b16
  84. fi
  85. insmod gfxmenu
  86. loadfont ($root)/boot/grub/themes/Archxion/Sans-10.pf2
  87. loadfont ($root)/boot/grub/themes/Archxion/Sans-12.pf2
  88. loadfont ($root)/boot/grub/themes/Archxion/Sans-14.pf2
  89. insmod png
  90. set theme=($root)/boot/grub/themes/Archxion/theme.txt
  91. export theme
  92. set timeout=5
  93. ### END /etc/grub.d/00_header ###
  94.  
  95. ### BEGIN /etc/grub.d/10_linux ###
  96. menuentry 'Arch GNU/Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-1d57d4c0-ecdc-4f85-b997-bbaac4313b16' {
  97. load_video
  98. set gfxpayload=keep
  99. insmod gzio
  100. insmod part_msdos
  101. insmod ext2
  102. set root='hd0,msdos1'
  103. if [ x$feature_platform_search_hint = xy ]; then
  104. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 1d57d4c0-ecdc-4f85-b997-bbaac4313b16
  105. else
  106. search --no-floppy --fs-uuid --set=root 1d57d4c0-ecdc-4f85-b997-bbaac4313b16
  107. fi
  108. echo 'Loading Linux core repo kernel ...'
  109. linux /boot/vmlinuz-linux root=UUID=1d57d4c0-ecdc-4f85-b997-bbaac4313b16 ro pci=use_crs quiet
  110. echo 'Loading initial ramdisk ...'
  111. initrd /boot/initramfs-linux.img
  112. }
  113. 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-1d57d4c0-ecdc-4f85-b997-bbaac4313b16' {
  114. load_video
  115. set gfxpayload=keep
  116. insmod gzio
  117. insmod part_msdos
  118. insmod ext2
  119. set root='hd0,msdos1'
  120. if [ x$feature_platform_search_hint = xy ]; then
  121. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 1d57d4c0-ecdc-4f85-b997-bbaac4313b16
  122. else
  123. search --no-floppy --fs-uuid --set=root 1d57d4c0-ecdc-4f85-b997-bbaac4313b16
  124. fi
  125. echo 'Loading Linux core repo kernel ...'
  126. linux /boot/vmlinuz-linux root=UUID=1d57d4c0-ecdc-4f85-b997-bbaac4313b16 ro quiet
  127. echo 'Loading initial ramdisk ...'
  128. initrd /boot/initramfs-linux-fallback.img
  129. }
  130.  
  131. ### END /etc/grub.d/10_linux ###
  132.  
  133. ### BEGIN /etc/grub.d/20_linux_xen ###
  134. ### END /etc/grub.d/20_linux_xen ###
  135.  
  136. ### BEGIN /etc/grub.d/20_memtest86+ ###
  137. ### END /etc/grub.d/20_memtest86+ ###
  138.  
  139. ### BEGIN /etc/grub.d/30_os-prober ###
  140. menuentry 'Microsoft Windows XP Professional (on /dev/sda3)' --class windows --class os $menuentry_id_option 'osprober-chain-3E585764585719CB' {
  141. insmod part_msdos
  142. insmod ntfs
  143. set root='hd0,msdos3'
  144. if [ x$feature_platform_search_hint = xy ]; then
  145. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 3E585764585719CB
  146. else
  147. search --no-floppy --fs-uuid --set=root 3E585764585719CB
  148. fi
  149. drivemap -s (hd0) ${root}
  150. chainloader +1
  151. }
  152. ### END /etc/grub.d/30_os-prober ###
  153.  
  154. ### BEGIN /etc/grub.d/40_custom ###
  155. # This file provides an easy way to add custom menu entries. Simply type the
  156. # menu entries you want to add after this comment. Be careful not to change
  157. # the 'exec tail' line above.
  158. ### END /etc/grub.d/40_custom ###
  159.  
  160. ### BEGIN /etc/grub.d/41_custom ###
  161. if [ -f ${config_directory}/custom.cfg ]; then
  162. source ${config_directory}/custom.cfg
  163. elif [ -z "${config_directory}" -a -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