Guest User

Untitled

a guest
Jul 2nd, 2015
316
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.20 KB | None | 0 0
  1. [root@localhost admin]# grub2-mkconfig
  2. Generating grub configuration file ...
  3. #
  4. # DO NOT EDIT THIS FILE
  5. #
  6. # It is automatically generated by grub2-mkconfig using templates
  7. # from /etc/grub.d and settings from /etc/default/grub
  8. #
  9.  
  10. ### BEGIN /etc/grub.d/00_header ###
  11. set pager=1
  12.  
  13. if [ -s $prefix/grubenv ]; then
  14.   load_env
  15. fi
  16. if [ "${next_entry}" ] ; then
  17.    set default="${next_entry}"
  18.    set next_entry=
  19.    save_env next_entry
  20.    set boot_once=true
  21. else
  22.    set default="${saved_entry}"
  23. fi
  24.  
  25. if [ x"${feature_menuentry_id}" = xy ]; then
  26.   menuentry_id_option="--id"
  27. else
  28.   menuentry_id_option=""
  29. fi
  30.  
  31. export menuentry_id_option
  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 load_video {
  49.   if [ x$feature_all_video_module = xy ]; then
  50.     insmod all_video
  51.   else
  52.     insmod efi_gop
  53.     insmod efi_uga
  54.     insmod ieee1275_fb
  55.     insmod vbe
  56.     insmod vga
  57.     insmod video_bochs
  58.     insmod video_cirrus
  59.   fi
  60. }
  61.  
  62. terminal_output console
  63. if [ x$feature_timeout_style = xy ] ; then
  64.   set timeout_style=menu
  65.   set timeout=5
  66. # Fallback normal timeout code in case the timeout_style feature is
  67. # unavailable.
  68. else
  69.   set timeout=5
  70. fi
  71. ### END /etc/grub.d/00_header ###
  72.  
  73. ### BEGIN /etc/grub.d/10_linux ###
  74. Found linux image: /boot/vmlinuz-4.0.4-301.fc22.x86_64
  75. Found initrd image: /boot/initramfs-4.0.4-301.fc22.x86_64.img
  76. menuentry 'Fedora (4.0.4-301.fc22.x86_64) 22 (Twenty Two)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.0.4-301.fc22.x86_64-advanced-d15b2b1a-308d-46f5-92f9-7f87451eb292' {
  77.     load_video
  78.     set gfxpayload=keep
  79.     insmod gzio
  80.     insmod part_gpt
  81.     insmod ext2
  82.     set root='hd0,gpt7'
  83.     if [ x$feature_platform_search_hint = xy ]; then
  84.       search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 --hint='hd0,gpt7'  0e034e07-31c0-4464-9077-64421aa8fbf5
  85.     else
  86.       search --no-floppy --fs-uuid --set=root 0e034e07-31c0-4464-9077-64421aa8fbf5
  87.     fi
  88.     linux16 /vmlinuz-4.0.4-301.fc22.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/swap rd.lvm.lv=fedora/root rhgb quiet
  89.     initrd16 /initramfs-4.0.4-301.fc22.x86_64.img
  90. }
  91. Found linux image: /boot/vmlinuz-0-rescue-d4b6f18296b9464385ae500295af37ba
  92. Found initrd image: /boot/initramfs-0-rescue-d4b6f18296b9464385ae500295af37ba.img
  93. menuentry 'Fedora (0-rescue-d4b6f18296b9464385ae500295af37ba) 22 (Twenty Two)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-d4b6f18296b9464385ae500295af37ba-advanced-d15b2b1a-308d-46f5-92f9-7f87451eb292' {
  94.     load_video
  95.     insmod gzio
  96.     insmod part_gpt
  97.     insmod ext2
  98.     set root='hd0,gpt7'
  99.     if [ x$feature_platform_search_hint = xy ]; then
  100.       search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 --hint='hd0,gpt7'  0e034e07-31c0-4464-9077-64421aa8fbf5
  101.     else
  102.       search --no-floppy --fs-uuid --set=root 0e034e07-31c0-4464-9077-64421aa8fbf5
  103.     fi
  104.     linux16 /vmlinuz-0-rescue-d4b6f18296b9464385ae500295af37ba root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/swap rd.lvm.lv=fedora/root rhgb quiet
  105.     initrd16 /initramfs-0-rescue-d4b6f18296b9464385ae500295af37ba.img
  106. }
  107. if [ "x$default" = 'Fedora (4.0.4-301.fc22.x86_64) 22 (Twenty Two)' ]; then default='Advanced options for Fedora>Fedora (4.0.4-301.fc22.x86_64) 22 (Twenty Two)'; fi;
  108. ### END /etc/grub.d/10_linux ###
  109.  
  110. ### BEGIN /etc/grub.d/20_linux_xen ###
  111.  
  112. ### END /etc/grub.d/20_linux_xen ###
  113.  
  114. ### BEGIN /etc/grub.d/20_ppc_terminfo ###
  115. ### END /etc/grub.d/20_ppc_terminfo ###
  116.  
  117. ### BEGIN /etc/grub.d/30_os-prober ###
  118. ### END /etc/grub.d/30_os-prober ###
  119.  
  120. ### BEGIN /etc/grub.d/40_custom ###
  121. /etc/grub.d/40_custom: line 1: $'\357\273\277menuentry': command not found
  122. /etc/grub.d/40_custom: line 3: chainloader: command not found
  123. /etc/grub.d/40_custom: line 4: boot: command not found
  124. /etc/grub.d/40_custom: line 5: syntax error near unexpected token `}'
  125. /etc/grub.d/40_custom: line 5: `}'
Advertisement
Add Comment
Please, Sign In to add comment