Skip to content
Snippets Groups Projects
Verified Commit 1389a131 authored by Lars Frost's avatar Lars Frost
Browse files

Fix and improve language selection in grub

parent ee225f28
Branches
No related tags found
No related merge requests found
...@@ -279,7 +279,7 @@ function boot_menu { ...@@ -279,7 +279,7 @@ function boot_menu {
} }
show_timezones show_timezones
show_keymaps show_keymaps
# show_languages show_languages
default=3 default=3
} }
......
...@@ -41,6 +41,7 @@ else ...@@ -41,6 +41,7 @@ else
title="$kopt"; title="$kopt";
fi; fi;
done done
if [ "x$def_bootlang" = "xde_DE" ]; then
menuentry "Mit Open-Source Treibern starten" --class=@DIST_NAME@.@ARCH@ "$title" {# set arguments above with the editor menuentry "Mit Open-Source Treibern starten" --class=@DIST_NAME@.@ARCH@ "$title" {# set arguments above with the editor
source /boot/grub/locales/de_DE source /boot/grub/locales/de_DE
linux /boot/vmlinuz-$2 driver=free nouveau.modeset=1 i915.modeset=1 radeon.modeset=1 linux /boot/vmlinuz-$2 driver=free nouveau.modeset=1 i915.modeset=1 radeon.modeset=1
...@@ -51,6 +52,7 @@ else ...@@ -51,6 +52,7 @@ else
linux /boot/vmlinuz-$2 driver=nonfree nouveau.modeset=0 i915.modeset=1 radeon.modeset=1 linux /boot/vmlinuz-$2 driver=nonfree nouveau.modeset=0 i915.modeset=1 radeon.modeset=1
initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img
} }
else
menuentry "Boot with open source drivers" --class=@DIST_NAME@.@ARCH@ "$title" {# set arguments above with the editor menuentry "Boot with open source drivers" --class=@DIST_NAME@.@ARCH@ "$title" {# set arguments above with the editor
linux /boot/vmlinuz-$2 driver=free nouveau.modeset=1 i915.modeset=1 radeon.modeset=1 linux /boot/vmlinuz-$2 driver=free nouveau.modeset=1 i915.modeset=1 radeon.modeset=1
initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img
...@@ -60,3 +62,4 @@ else ...@@ -60,3 +62,4 @@ else
initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img
} }
fi fi
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment