Guest User

Untitled

a guest
Apr 14th, 2019
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.87 KB | None | 0 0
  1. [root@archiso /]# cat /boot/grub/grub.conf
  2. #
  3. # DO NOT EDIT THIS FILE
  4. #
  5. # It is automatically generated by grub-mkconfig using templates
  6. # from /etc/grub.d and settings from /etc/default/grub
  7. #
  8.  
  9. ### BEGIN /etc/grub.d/00_header ###
  10. insmod part_gpt
  11. insmod part_msdos
  12. if [ -s $prefix/grubenv ]; then
  13. load_env
  14. fi
  15. if [ "${next_entry}" ] ; then
  16. set default="${next_entry}"
  17. set next_entry=
  18. save_env next_entry
  19. set boot_once=true
  20. else
  21. set default="0"
  22. fi
  23.  
  24. if [ x"${feature_menuentry_id}" = xy ]; then
  25. menuentry_id_option="--id"
  26. else
  27. menuentry_id_option=""
  28. fi
  29.  
  30. export menuentry_id_option
  31.  
  32. if [ "${prev_saved_entry}" ]; then
  33. set saved_entry="${prev_saved_entry}"
  34. save_env saved_entry
  35. set prev_saved_entry=
  36. save_env prev_saved_entry
  37. set boot_once=true
  38. fi
  39.  
  40. function savedefault {
  41. if [ -z "${boot_once}" ]; then
  42. saved_entry="${chosen}"
  43. save_env saved_entry
  44. fi
  45. }
  46.  
  47. function load_video {
  48. if [ x$feature_all_video_module = xy ]; then
  49. insmod all_video
  50. else
  51. insmod efi_gop
  52. insmod efi_uga
  53. insmod ieee1275_fb
  54. insmod vbe
  55. insmod vga
  56. insmod video_bochs
  57. insmod video_cirrus
  58. fi
  59. }
  60.  
  61. if [ x$feature_default_font_path = xy ] ; then
  62. font=unicode
  63. else
  64. insmod ext2
  65. if [ x$feature_platform_search_hint = xy ]; then
  66. search --no-floppy --fs-uuid --set=root 5a0575b3-54b5-4a14-aa3e-c385bfe20442
  67. else
  68. search --no-floppy --fs-uuid --set=root 5a0575b3-54b5-4a14-aa3e-c385bfe20442
  69. fi
  70. font="/usr/share/grub/unicode.pf2"
  71. fi
  72.  
  73. if loadfont $font ; then
  74. set gfxmode=auto
  75. load_video
  76. insmod gfxterm
  77. set locale_dir=$prefix/locale
  78. set lang=en_US
  79. insmod gettext
  80. fi
  81. terminal_input console
  82. terminal_output gfxterm
  83. if [ x$feature_timeout_style = xy ] ; then
  84. set timeout_style=menu
  85. set timeout=5
  86. # Fallback normal timeout code in case the timeout_style feature is
  87. # unavailable.
  88. else
  89. set timeout=5
  90. fi
  91. ### END /etc/grub.d/00_header ###
  92. ### BEGIN /etc/grub.d/10_linux ###
  93. menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-5a0575b3-54b5-4a14-aa3e-c385bfe20442' {
  94. load_video
  95. set gfxpayload=keep
  96. insmod gzio
  97. insmod part_gpt
  98. insmod fat
  99. set root='hd1,gpt1'
  100. if [ x$feature_platform_search_hint = xy ]; then
  101. search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,gpt1' --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 7594-64D0
  102. else
  103. search --no-floppy --fs-uuid --set=root 7594-64D0
  104. fi
  105. echo 'Loading Linux linux ...'
  106. linux /vmlinuz-linux root=UUID=5a0575b3-54b5-4a14-aa3e-c385bfe20442 rw cryptdevice=UUID=dd7ac0fd-3d86-43d6-829f-a74ff60c573b:cryptroot root=/dev/mapper/cryptroot
  107. echo 'Loading initial ramdisk ...'
  108. initrd /intel-ucode.img /initramfs-linux.img
  109. }
  110. submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-5a0575b3-54b5-4a14-aa3e-c385bfe20442' {
  111. menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-5a0575b3-54b5-4a14-aa3e-c385bfe20442' {
  112. load_video
  113. set gfxpayload=keep
  114. insmod gzio
  115. insmod part_gpt
  116. insmod fat
  117. set root='hd1,gpt1'
  118. if [ x$feature_platform_search_hint = xy ]; then
  119. search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,gpt1' --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 7594-64D0
  120. else
  121. search --no-floppy --fs-uuid --set=root 7594-64D0
  122. fi
  123. echo 'Loading Linux linux ...'
  124. linux /vmlinuz-linux root=UUID=5a0575b3-54b5-4a14-aa3e-c385bfe20442 rw cryptdevice=UUID=dd7ac0fd-3d86-43d6-829f-a74ff60c573b:cryptroot root=/dev/mapper/cryptroot
  125. echo 'Loading initial ramdisk ...'
  126. initrd /intel-ucode.img /initramfs-linux.img
  127. }
  128. menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-5a0575b3-54b5-4a14-aa3e-c385bfe20442' {
  129. load_video
  130. set gfxpayload=keep
  131. insmod gzio
  132. insmod part_gpt
  133. insmod fat
  134. set root='hd1,gpt1'
  135. if [ x$feature_platform_search_hint = xy ]; then
  136. search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,gpt1' --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 7594-64D0
  137. else
  138. search --no-floppy --fs-uuid --set=root 7594-64D0
  139. fi
  140. echo 'Loading Linux linux ...'
  141. linux /vmlinuz-linux root=UUID=5a0575b3-54b5-4a14-aa3e-c385bfe20442 rw cryptdevice=UUID=dd7ac0fd-3d86-43d6-829f-a74ff60c573b:cryptroot root=/dev/mapper/cryptroot
  142. echo 'Loading initial ramdisk ...'
  143. initrd /initramfs-linux-fallback.img
  144. }
  145. }
  146.  
  147. ### END /etc/grub.d/10_linux ###
  148.  
  149. ### BEGIN /etc/grub.d/20_linux_xen ###
  150. ### END /etc/grub.d/20_linux_xen ###
  151.  
  152. ### BEGIN /etc/grub.d/30_os-prober ###
  153. ### END /etc/grub.d/30_os-prober ###
  154.  
  155. ### BEGIN /etc/grub.d/40_custom ###
  156. # This file provides an easy way to add custom menu entries. Simply type the
  157. # menu entries you want to add after this comment. Be careful not to change
  158. # the 'exec tail' line above.
  159. ### END /etc/grub.d/40_custom ###
  160.  
  161. ### BEGIN /etc/grub.d/41_custom ###
  162. if [ -f ${config_directory}/custom.cfg ]; then
  163. source ${config_directory}/custom.cfg
  164. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  165. source $prefix/custom.cfg;
  166. fi
  167. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment