Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@localhost admin]# grub2-mkconfig
- Generating grub configuration file ...
- #
- # DO NOT EDIT THIS FILE
- #
- # It is automatically generated by grub2-mkconfig using templates
- # from /etc/grub.d and settings from /etc/default/grub
- #
- ### BEGIN /etc/grub.d/00_header ###
- set pager=1
- if [ -s $prefix/grubenv ]; then
- load_env
- fi
- if [ "${next_entry}" ] ; then
- set default="${next_entry}"
- set next_entry=
- save_env next_entry
- set boot_once=true
- else
- set default="${saved_entry}"
- fi
- if [ x"${feature_menuentry_id}" = xy ]; then
- menuentry_id_option="--id"
- else
- menuentry_id_option=""
- fi
- export menuentry_id_option
- if [ "${prev_saved_entry}" ]; then
- set saved_entry="${prev_saved_entry}"
- save_env saved_entry
- set prev_saved_entry=
- save_env prev_saved_entry
- set boot_once=true
- fi
- function savedefault {
- if [ -z "${boot_once}" ]; then
- saved_entry="${chosen}"
- save_env saved_entry
- fi
- }
- function load_video {
- if [ x$feature_all_video_module = xy ]; then
- insmod all_video
- else
- insmod efi_gop
- insmod efi_uga
- insmod ieee1275_fb
- insmod vbe
- insmod vga
- insmod video_bochs
- insmod video_cirrus
- fi
- }
- terminal_output console
- if [ x$feature_timeout_style = xy ] ; then
- set timeout_style=menu
- set timeout=5
- # Fallback normal timeout code in case the timeout_style feature is
- # unavailable.
- else
- set timeout=5
- fi
- ### END /etc/grub.d/00_header ###
- ### BEGIN /etc/grub.d/10_linux ###
- Found linux image: /boot/vmlinuz-4.0.4-301.fc22.x86_64
- Found initrd image: /boot/initramfs-4.0.4-301.fc22.x86_64.img
- 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' {
- load_video
- set gfxpayload=keep
- insmod gzio
- insmod part_gpt
- insmod ext2
- set root='hd0,gpt7'
- if [ x$feature_platform_search_hint = xy ]; then
- 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
- else
- search --no-floppy --fs-uuid --set=root 0e034e07-31c0-4464-9077-64421aa8fbf5
- fi
- 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
- initrd16 /initramfs-4.0.4-301.fc22.x86_64.img
- }
- Found linux image: /boot/vmlinuz-0-rescue-d4b6f18296b9464385ae500295af37ba
- Found initrd image: /boot/initramfs-0-rescue-d4b6f18296b9464385ae500295af37ba.img
- 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' {
- load_video
- insmod gzio
- insmod part_gpt
- insmod ext2
- set root='hd0,gpt7'
- if [ x$feature_platform_search_hint = xy ]; then
- 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
- else
- search --no-floppy --fs-uuid --set=root 0e034e07-31c0-4464-9077-64421aa8fbf5
- fi
- linux16 /vmlinuz-0-rescue-d4b6f18296b9464385ae500295af37ba root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/swap rd.lvm.lv=fedora/root rhgb quiet
- initrd16 /initramfs-0-rescue-d4b6f18296b9464385ae500295af37ba.img
- }
- 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;
- ### END /etc/grub.d/10_linux ###
- ### BEGIN /etc/grub.d/20_linux_xen ###
- ### END /etc/grub.d/20_linux_xen ###
- ### BEGIN /etc/grub.d/20_ppc_terminfo ###
- ### END /etc/grub.d/20_ppc_terminfo ###
- ### BEGIN /etc/grub.d/30_os-prober ###
- ### END /etc/grub.d/30_os-prober ###
- ### BEGIN /etc/grub.d/40_custom ###
- /etc/grub.d/40_custom: line 1: $'\357\273\277menuentry': command not found
- /etc/grub.d/40_custom: line 3: chainloader: command not found
- /etc/grub.d/40_custom: line 4: boot: command not found
- /etc/grub.d/40_custom: line 5: syntax error near unexpected token `}'
- /etc/grub.d/40_custom: line 5: `}'
Advertisement
Add Comment
Please, Sign In to add comment