Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
275 lines (253 sloc) 11.7 KB
sudo grub2-mkconfig -o ~/grub.cfg
grub2-mkconfig
#
# 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 ###
menuentry 'Fedora (4.1.6-201.fc22.x86_64) 22 (Twenty Two)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.1.6-201.fc22.x86_64-advanced-153f671a-6d94-4da3-b249-a95310872f61' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 153f671a-6d94-4da3-b249-a95310872f61
else
search --no-floppy --fs-uuid --set=root 153f671a-6d94-4da3-b249-a95310872f61
fi
linuxefi /boot/vmlinuz-4.1.6-201.fc22.x86_64 root=UUID=153f671a-6d94-4da3-b249-a95310872f61 ro rhgb quiet
initrdefi /boot/initramfs-4.1.6-201.fc22.x86_64.img
}
menuentry 'Fedora (4.1.6-200.fc22.x86_64) 22 (Twenty Two)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.1.6-200.fc22.x86_64-advanced-153f671a-6d94-4da3-b249-a95310872f61' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 153f671a-6d94-4da3-b249-a95310872f61
else
search --no-floppy --fs-uuid --set=root 153f671a-6d94-4da3-b249-a95310872f61
fi
linuxefi /boot/vmlinuz-4.1.6-200.fc22.x86_64 root=UUID=153f671a-6d94-4da3-b249-a95310872f61 ro rhgb quiet
initrdefi /boot/initramfs-4.1.6-200.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-153f671a-6d94-4da3-b249-a95310872f61' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 153f671a-6d94-4da3-b249-a95310872f61
else
search --no-floppy --fs-uuid --set=root 153f671a-6d94-4da3-b249-a95310872f61
fi
linuxefi /boot/vmlinuz-4.0.4-301.fc22.x86_64 root=UUID=153f671a-6d94-4da3-b249-a95310872f61 ro rhgb quiet
initrdefi /boot/initramfs-4.0.4-301.fc22.x86_64.img
}
menuentry 'Fedora (0-rescue-85bdfef90f5f436b979be82cf875b3aa) 22 (Twenty Two)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-85bdfef90f5f436b979be82cf875b3aa-advanced-153f671a-6d94-4da3-b249-a95310872f61' {
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 153f671a-6d94-4da3-b249-a95310872f61
else
search --no-floppy --fs-uuid --set=root 153f671a-6d94-4da3-b249-a95310872f61
fi
linuxefi /boot/vmlinuz-0-rescue-85bdfef90f5f436b979be82cf875b3aa root=UUID=153f671a-6d94-4da3-b249-a95310872f61 ro rhgb quiet
initrdefi /boot/initramfs-0-rescue-85bdfef90f5f436b979be82cf875b3aa.img
}
### 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 ###
menuentry 'Ubuntu 14.04.3 LTS (14.04) (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-5674f4ec-59b5-44c3-806c-151eaf8c549a' {
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 5674f4ec-59b5-44c3-806c-151eaf8c549a
else
search --no-floppy --fs-uuid --set=root 5674f4ec-59b5-44c3-806c-151eaf8c549a
fi
linuxefi /boot/vmlinuz-3.19.0-25-generic.efi.signed root=UUID=5674f4ec-59b5-44c3-806c-151eaf8c549a ro quiet splash $vt_handoff
initrdefi /boot/initrd.img-3.19.0-25-generic
}
submenu 'Advanced options for Ubuntu 14.04.3 LTS (14.04) (on /dev/sda2)' $menuentry_id_option 'osprober-gnulinux-advanced-5674f4ec-59b5-44c3-806c-151eaf8c549a' {
menuentry 'Ubuntu (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.19.0-25-generic.efi.signed--5674f4ec-59b5-44c3-806c-151eaf8c549a' {
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 5674f4ec-59b5-44c3-806c-151eaf8c549a
else
search --no-floppy --fs-uuid --set=root 5674f4ec-59b5-44c3-806c-151eaf8c549a
fi
linuxefi /boot/vmlinuz-3.19.0-25-generic.efi.signed root=UUID=5674f4ec-59b5-44c3-806c-151eaf8c549a ro quiet splash $vt_handoff
initrdefi /boot/initrd.img-3.19.0-25-generic
}
menuentry 'Ubuntu,Linux 3.19.0-25-generic (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.19.0-25-generic.efi.signed--5674f4ec-59b5-44c3-806c-151eaf8c549a' {
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 5674f4ec-59b5-44c3-806c-151eaf8c549a
else
search --no-floppy --fs-uuid --set=root 5674f4ec-59b5-44c3-806c-151eaf8c549a
fi
linuxefi /boot/vmlinuz-3.19.0-25-generic.efi.signed root=UUID=5674f4ec-59b5-44c3-806c-151eaf8c549a ro quiet splash $vt_handoff
initrdefi /boot/initrd.img-3.19.0-25-generic
}
menuentry 'Ubuntu, with Linux 3.19.0-25-generic (recovery mode) (on /dev/sda2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.19.0-25-generic.efi.signed--5674f4ec-59b5-44c3-806c-151eaf8c549a' {
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 5674f4ec-59b5-44c3-806c-151eaf8c549a
else
search --no-floppy --fs-uuid --set=root 5674f4ec-59b5-44c3-806c-151eaf8c549a
fi
linuxefi /boot/vmlinuz-3.19.0-25-generic.efi.signed root=UUID=5674f4ec-59b5-44c3-806c-151eaf8c549a ro recovery nomodeset
initrdefi /boot/initrd.img-3.19.0-25-generic
}
}
menuentry 'Fedora release 22 (Twenty Two) (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-6a8bb76d-4a23-4168-ba3b-c3e4d7c59426' {
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 6a8bb76d-4a23-4168-ba3b-c3e4d7c59426
else
search --no-floppy --fs-uuid --set=root 6a8bb76d-4a23-4168-ba3b-c3e4d7c59426
fi
linuxefi /boot/vmlinuz-0-rescue-9100b8fd0b0d45ae8c86afb7cad2039c root=/dev/sda5
initrdefi /boot/initramfs-0-rescue-9100b8fd0b0d45ae8c86afb7cad2039c.img
}
submenu 'Advanced options for Fedora release 22 (Twenty Two) (on /dev/sda5)' $menuentry_id_option 'osprober-gnulinux-advanced-6a8bb76d-4a23-4168-ba3b-c3e4d7c59426' {
menuentry 'Fedora release 22 (Twenty Two) (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-0-rescue-9100b8fd0b0d45ae8c86afb7cad2039c--6a8bb76d-4a23-4168-ba3b-c3e4d7c59426' {
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 6a8bb76d-4a23-4168-ba3b-c3e4d7c59426
else
search --no-floppy --fs-uuid --set=root 6a8bb76d-4a23-4168-ba3b-c3e4d7c59426
fi
linuxefi /boot/vmlinuz-0-rescue-9100b8fd0b0d45ae8c86afb7cad2039c root=/dev/sda5
initrdefi /boot/initramfs-0-rescue-9100b8fd0b0d45ae8c86afb7cad2039c.img
}
menuentry 'Fedora release 22 (Twenty Two) (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.0.4-301.fc22.x86_64--6a8bb76d-4a23-4168-ba3b-c3e4d7c59426' {
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 6a8bb76d-4a23-4168-ba3b-c3e4d7c59426
else
search --no-floppy --fs-uuid --set=root 6a8bb76d-4a23-4168-ba3b-c3e4d7c59426
fi
linuxefi /boot/vmlinuz-4.0.4-301.fc22.x86_64 root=/dev/sda5
initrdefi /boot/initramfs-4.0.4-301.fc22.x86_64.img
}
menuentry 'Fedora release 22 (Twenty Two) (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.1.6-201.fc22.x86_64--6a8bb76d-4a23-4168-ba3b-c3e4d7c59426' {
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 6a8bb76d-4a23-4168-ba3b-c3e4d7c59426
else
search --no-floppy --fs-uuid --set=root 6a8bb76d-4a23-4168-ba3b-c3e4d7c59426
fi
linuxefi /boot/vmlinuz-4.1.6-201.fc22.x86_64 root=/dev/sda5
initrdefi /boot/initramfs-4.1.6-201.fc22.x86_64.img
}
}
menuentry 'Windows Boot Manager (on /dev/sdb1)' --class windows --class os $menuentry_id_option 'osprober-efi-0004-1E5D' {
insmod part_gpt
insmod fat
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 0004-1E5D
else
search --no-floppy --fs-uuid --set=root 0004-1E5D
fi
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
You can’t perform that action at this time.