FS#52763 - [grub] grub-mkconfig creates grub.cfg with unicode characters. System will not boot.
Attached to Project:
Arch Linux
Opened by Nicolas Knotzer (nknotzer) - Sunday, 29 January 2017, 14:46 GMT
Last edited by Toolybird (Toolybird) - Sunday, 11 June 2023, 01:39 GMT
Opened by Nicolas Knotzer (nknotzer) - Sunday, 29 January 2017, 14:46 GMT
Last edited by Toolybird (Toolybird) - Sunday, 11 June 2023, 01:39 GMT
|
Details
Description:
grub-mkconfig creates a bad grub.cfg for systems with german locale. the script creates several echo messages with three dots at the end of the line (e.g. echo 'Initiale Ramdisk wird geladen …'). Unicode is used for representing the three dots instead of plain ASCII. Grub gets stuck after echoing the line "Initiale Ramdisk wird geladen …". The system will not boot. In the english version of the script plain ASCII is used (e.g. echo 'Loading initial ramdisk ...'). Grub does not get stuck at this point. Additional info: * package version(s): grub 1:2.02.beta3-6 Steps to reproduce: * switch to german locale (LANG=de_AT.UTF-8) * grub-mkconfig -o /boot/grub/grub.cft * grub config file contains unicode characters (…) * system will not start after a reboot. It is stuck after "Initiale Ramdisk wird geladen …" |
This task depends upon
Closed by Toolybird (Toolybird)
Sunday, 11 June 2023, 01:39 GMT
Reason for closing: Fixed
Additional comments about closing: Old and stale. Assuming no longer an issue these days. If still happening, please report upstream.
Sunday, 11 June 2023, 01:39 GMT
Reason for closing: Fixed
Additional comments about closing: Old and stale. Assuming no longer an issue these days. If still happening, please report upstream.
79c79
< set lang=en_US
---
> set lang=de_AT
117c117
< echo 'Loading Linux linux ...'
---
> echo 'Linux linux wird geladen …'
119c119
< echo 'Loading initial ramdisk ...'
---
> echo 'Initiale Ramdisk wird geladen …'
122,123c122,123
< submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3' {
< menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3' {
---
> submenu 'Erweiterte Optionen für Arch Linux' $menuentry_id_option 'gnulinux-advanced-d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3' {
> menuentry 'Arch Linux, mit Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3' {
135c135
< echo 'Loading Linux linux ...'
---
> echo 'Linux linux wird geladen …'
137c137
< echo 'Loading initial ramdisk ...'
---
> echo 'Initiale Ramdisk wird geladen …'
152c152
< echo 'Loading Linux linux ...'
---
> echo 'Linux linux wird geladen …'
154c154
< echo 'Loading initial ramdisk ...'
---
> echo 'Initiale Ramdisk wird geladen …'
german version of grub.cfg:
Turn on system --> GRUB -> ARCHLINUX --> stuck
Turn on system --> UEFI-BIOS --> GRUB -> ARCHLINUX --> working
english version of grub.cfg:
Turn on system --> GRUB -> ARCHLINUX --> working
Turn on system --> UEFI-BIOS --> GRUB -> ARCHLINUX --> working
english version of grub.cfg:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
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="0"
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
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
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 d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3
else
search --no-floppy --fs-uuid --set=root d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=1280x1024x32
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_input console
terminal_output gfxterm
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 E85D-1933
else
search --no-floppy --fs-uuid --set=root E85D-1933
fi
insmod png
background_image -m stretch /grub/archlinux-simplyblack.png
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 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 E85D-1933
else
search --no-floppy --fs-uuid --set=root E85D-1933
fi
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=UUID=d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3 rw resume=/dev/sdb3
echo 'Loading initial ramdisk ...'
initrd /intel-ucode.img /initramfs-linux.img
}
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3' {
menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 E85D-1933
else
search --no-floppy --fs-uuid --set=root E85D-1933
fi
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=UUID=d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3 rw resume=/dev/sdb3
echo 'Loading initial ramdisk ...'
initrd /intel-ucode.img /initramfs-linux.img
}
menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 E85D-1933
else
search --no-floppy --fs-uuid --set=root E85D-1933
fi
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=UUID=d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3 rw resume=/dev/sdb3
echo 'Loading initial ramdisk ...'
initrd /intel-ucode.img /initramfs-linux-fallback.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/30_os-prober ###
menuentry 'Windows Boot Manager (auf /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-E85D-1933' {
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 E85D-1933
else
search --no-floppy --fs-uuid --set=root E85D-1933
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.
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### 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 ###
german version of grub.cfg:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
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="0"
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
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
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 d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3
else
search --no-floppy --fs-uuid --set=root d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=1280x1024x32
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=de_AT
insmod gettext
fi
terminal_input console
terminal_output gfxterm
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 E85D-1933
else
search --no-floppy --fs-uuid --set=root E85D-1933
fi
insmod png
background_image -m stretch /grub/archlinux-simplyblack.png
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 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 E85D-1933
else
search --no-floppy --fs-uuid --set=root E85D-1933
fi
echo 'Linux linux wird geladen …'
linux /vmlinuz-linux root=UUID=d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3 rw resume=/dev/sdb3
echo 'Initiale Ramdisk wird geladen …'
initrd /intel-ucode.img /initramfs-linux.img
}
submenu 'Erweiterte Optionen für Arch Linux' $menuentry_id_option 'gnulinux-advanced-d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3' {
menuentry 'Arch Linux, mit Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 E85D-1933
else
search --no-floppy --fs-uuid --set=root E85D-1933
fi
echo 'Linux linux wird geladen …'
linux /vmlinuz-linux root=UUID=d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3 rw resume=/dev/sdb3
echo 'Initiale Ramdisk wird geladen …'
initrd /intel-ucode.img /initramfs-linux.img
}
menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 E85D-1933
else
search --no-floppy --fs-uuid --set=root E85D-1933
fi
echo 'Linux linux wird geladen …'
linux /vmlinuz-linux root=UUID=d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3 rw resume=/dev/sdb3
echo 'Initiale Ramdisk wird geladen …'
initrd /intel-ucode.img /initramfs-linux-fallback.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/30_os-prober ###
menuentry 'Windows Boot Manager (auf /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-E85D-1933' {
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 E85D-1933
else
search --no-floppy --fs-uuid --set=root E85D-1933
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.
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### 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 ###
I suppose this is a bug in nvidia package then... Can we close this one?
BTW, does it make any difference setting GRUB_GFXMODE= and GRUB_GFXPAYLOAD_LINUX= to whatever? Possibly you can work around the issue there.
I tried different GRUB_GFXMODE and GRUB_GFXPAYLOAD_LINUX parameters. But that didn't change anything. German version still not booting. But then I commented out "set lang=de_AT" and now everything works fine. System boots without having to go to the bios settings first. My working "German" grub.cfg now looks like this:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
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="0"
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
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
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 d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3
else
search --no-floppy --fs-uuid --set=root d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=1280x1024x32
load_video
insmod gfxterm
set locale_dir=$prefix/locale
# set lang=de_AT
insmod gettext
fi
terminal_input console
terminal_output gfxterm
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 d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3
else
search --no-floppy --fs-uuid --set=root d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3
fi
insmod png
background_image -m stretch /boot/grub/archlinux-simplyblack.png
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 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3' {
load_video
set gfxpayload=keep
insmod gzio
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 d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3
else
search --no-floppy --fs-uuid --set=root d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3
fi
echo 'Linux linux wird geladen …'
linux /boot/vmlinuz-linux root=UUID=d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3 rw resume=/dev/sdb3 quiet
echo 'Initiale Ramdisk wird geladen …'
initrd /boot/intel-ucode.img /boot/initramfs-linux.img
}
submenu 'Erweiterte Optionen für Arch Linux' $menuentry_id_option 'gnulinux-advanced-d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3' {
menuentry 'Arch Linux, mit Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3' {
load_video
set gfxpayload=keep
insmod gzio
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 d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3
else
search --no-floppy --fs-uuid --set=root d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3
fi
echo 'Linux linux wird geladen …'
linux /boot/vmlinuz-linux root=UUID=d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3 rw resume=/dev/sdb3 quiet
echo 'Initiale Ramdisk wird geladen …'
initrd /boot/intel-ucode.img /boot/initramfs-linux.img
}
menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3' {
load_video
set gfxpayload=keep
insmod gzio
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 d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3
else
search --no-floppy --fs-uuid --set=root d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3
fi
echo 'Linux linux wird geladen …'
linux /boot/vmlinuz-linux root=UUID=d7e7dd4f-6bff-4dc3-ac53-79a16d7774a3 rw resume=/dev/sdb3 quiet
echo 'Initiale Ramdisk wird geladen …'
initrd /boot/intel-ucode.img /boot/initramfs-linux-fallback.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/30_os-prober ###
menuentry 'Windows Boot Manager (auf /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-E85D-1933' {
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 E85D-1933
else
search --no-floppy --fs-uuid --set=root E85D-1933
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.
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### 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 ###