Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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 Doug Newgard (Scimmia) - Tuesday, 31 January 2017, 16:10 GMT
Task Type Bug Report
Category Packages: Core
Status Assigned
Assigned To Ronald van Haren (pressh)
Christian Hesse (eworm)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

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

Comment by Nicolas Knotzer (nknotzer) - Monday, 30 January 2017, 20:23 GMT
Ater a while system stopped booting although I changed the UNICODE "..." to standard ASCII "...". So I guess that is not the problem. If I generate grub.cfg with english locale the system never stops at "Loading initial comment". Hence I'll post a diff between the english version of grub.cfg (which always works) and the german version (which never/seldom works):

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 …'
Comment by Nicolas Knotzer (nknotzer) - Monday, 30 January 2017, 21:12 GMT
some new (and strange) insights: with the "english" version of grub.cfg the system never gets stuck at "loading initial ramdisk". with the "german" version of grub.cfg the system always gets stuck at "loading initial ramdisk". However if I start the UEFI-BIOS settings before I get get into grub and then leave the bios settings the system boots. my motherboard is an ASUS-Z97-A. Kernel: Linux 4.9.6-1-ARCH #1 SMP PREEMPT Thu Jan 26 09:22:26 CET 2017 x86_64 GNU/Linux


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 ###
Comment by Nicolas Knotzer (nknotzer) - Wednesday, 01 February 2017, 21:22 GMT
I think this problem occurs in conjunction with the proprietary nvidia driver (nvidia 375.26-6). If I uninstall the nvidia package the problem with the "german" version of grub.cfg disappears and the system boots (into the console) every time.
Comment by Christian Hesse (eworm) - Thursday, 02 February 2017, 08:34 GMT
Ah, that's why I can not reproduce it. :-p
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.
Comment by Nicolas Knotzer (nknotzer) - Thursday, 02 February 2017, 21:45 GMT
hello,

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 ###

Loading...