Advertisement
rassawyer

grub.cfg

Oct 26th, 2015
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.77 KB | None | 0 0
  1. #
  2. # DO NOT EDIT THIS FILE
  3. #
  4. # It is automatically generated by grub-mkconfig using templates from
  5. # /etc/grub.d and settings from /etc/default/grub
  6. #
  7. ### BEGIN /etc/grub.d/00_header ###
  8. insmod part_gpt insmod part_msdos if [ -s $prefix/grubenv ]; then
  9.   load_env fi if [ "${next_entry}" ] ; then
  10.    set default="${next_entry}"
  11.    set next_entry=
  12.    save_env next_entry
  13.    set boot_once=true else
  14.    set default="0" fi if [ x"${feature_menuentry_id}" = xy ]; then
  15.   menuentry_id_option="--id" else
  16.   menuentry_id_option="" fi export menuentry_id_option if [
  17. "${prev_saved_entry}" ]; then
  18.   set saved_entry="${prev_saved_entry}"
  19.   save_env saved_entry
  20.   set prev_saved_entry=
  21.   save_env prev_saved_entry
  22.   set boot_once=true fi function savedefault {
  23.   if [ -z "${boot_once}" ]; then
  24.     saved_entry="${chosen}"
  25.     save_env saved_entry
  26.   fi
  27. }
  28. function load_video {
  29.   if [ x$feature_all_video_module = xy ]; then
  30.     insmod all_video
  31.   else
  32.     insmod efi_gop
  33.     insmod efi_uga
  34.     insmod ieee1275_fb
  35.     insmod vbe
  36.     insmod vga
  37.     insmod video_bochs
  38.     insmod video_cirrus
  39.   fi
  40. }
  41. terminal_input console terminal_output console if [
  42. x$feature_timeout_style = xy ] ; then
  43.   set timeout_style=countdown
  44.   set timeout=50
  45. # Fallback hidden-timeout code in case the timeout_style feature is
  46. # unavailable.
  47. elif sleep --verbose --interruptible 50 ; then
  48.   set timeout=0 fi play 480 440 1
  49. ### END /etc/grub.d/00_header ### BEGIN /etc/grub.d/10_linux ###
  50. menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu
  51. --class os $menuentry_id_option
  52. 'gnulinux-simple-979fe764-2149-49f3-a3f5-af4ce99b26c4' {
  53.     savedefault
  54.     load_video
  55.     set gfxpayload=keep
  56.     insmod gzio
  57.     insmod part_gpt
  58.     insmod ext2
  59.     set root='hd0,gpt6'
  60.     if [ x$feature_platform_search_hint = xy ]; then
  61.       search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6
  62. --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6
  63. 979fe764-2149-49f3-a3f5-af4ce99b26c4
  64.     else
  65.       search --no-floppy --fs-uuid --set=root
  66. 979fe764-2149-49f3-a3f5-af4ce99b26c4
  67.     fi
  68.     echo    'Loading Linux linux ...'
  69.     linux /boot/vmlinuz-linux
  70. root=UUID=979fe764-2149-49f3-a3f5-af4ce99b26c4 rw resume=swap_partition
  71.     echo    'Loading initial ramdisk ...'
  72.     initrd /boot/initramfs-linux.img
  73. }
  74. submenu 'Advanced options for Arch Linux' $menuentry_id_option
  75. 'gnulinux-advanced-979fe764-2149-49f3-a3f5-af4ce99b26c4' {
  76.     menuentry 'Arch Linux, with Linux linux' --class arch --class
  77. gnu-linux --class gnu --class os $menuentry_id_option
  78. 'gnulinux-linux-advanced-979fe764-2149-49f3-a3f5-af4ce99b26c4' {
  79.     savedefault
  80.         load_video
  81.         set gfxpayload=keep
  82.         insmod gzio
  83.         insmod part_gpt
  84.         insmod ext2
  85.         set root='hd0,gpt6'
  86.         if [ x$feature_platform_search_hint = xy ]; then
  87.           search --no-floppy --fs-uuid --set=root
  88. --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6
  89. 979fe764-2149-49f3-a3f5-af4ce99b26c4
  90.         else
  91.           search --no-floppy --fs-uuid --set=root
  92. 979fe764-2149-49f3-a3f5-af4ce99b26c4
  93.         fi
  94.         echo    'Loading Linux linux ...'
  95.         linux /boot/vmlinuz-linux
  96. root=UUID=979fe764-2149-49f3-a3f5-af4ce99b26c4 rw resume=swap_partition
  97.         echo    'Loading initial ramdisk ...'
  98.         initrd /boot/initramfs-linux.img
  99.     }
  100.     menuentry 'Arch Linux, with Linux linux (fallback initramfs)'
  101. --class arch --class gnu-linux --class gnu --class os
  102. $menuentry_id_option
  103. 'gnulinux-linux-fallback-979fe764-2149-49f3-a3f5-af4ce99b26c4' {
  104.     savedefault
  105.         load_video
  106.         set gfxpayload=keep
  107.         insmod gzio
  108.         insmod part_gpt
  109.         insmod ext2
  110.         set root='hd0,gpt6'
  111.         if [ x$feature_platform_search_hint = xy ]; then
  112.           search --no-floppy --fs-uuid --set=root
  113. --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6
  114. 979fe764-2149-49f3-a3f5-af4ce99b26c4
  115.         else
  116.           search --no-floppy --fs-uuid --set=root
  117. 979fe764-2149-49f3-a3f5-af4ce99b26c4
  118.         fi
  119.         echo    'Loading Linux linux ...'
  120.         linux /boot/vmlinuz-linux
  121. root=UUID=979fe764-2149-49f3-a3f5-af4ce99b26c4 rw resume=swap_partition
  122.         echo    'Loading initial ramdisk ...'
  123.         initrd /boot/initramfs-linux-fallback.img
  124.     }
  125. }
  126. ### END /etc/grub.d/10_linux ### BEGIN /etc/grub.d/20_linux_xen ### END
  127. ### /etc/grub.d/20_linux_xen ### BEGIN /etc/grub.d/30_os-prober ### END
  128. ### /etc/grub.d/30_os-prober ### BEGIN /etc/grub.d/40_custom ###
  129. # This file provides an easy way to add custom menu entries.  Simply
  130. # type the menu entries you want to add after this comment.  Be careful
  131. # not to change the 'exec tail' line above.
  132. ### END /etc/grub.d/40_custom ### BEGIN /etc/grub.d/41_custom ###
  133. if [ -f ${config_directory}/custom.cfg ]; then
  134.   source ${config_directory}/custom.cfg elif [ -z "${config_directory}"
  135. -a -f $prefix/custom.cfg ]; then
  136.   source $prefix/custom.cfg; fi
  137. ### END /etc/grub.d/41_custom ### BEGIN /etc/grub.d/60_memtest86+ ###
  138. ### END /etc/grub.d/60_memtest86+ ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement