From 3eb8f0589d6d2d6b49bf589137517f36b675f9dc Mon Sep 17 00:00:00 2001 From: Johannes Meixner Date: Tue, 4 May 2021 14:42:17 +0200 Subject: [PATCH] Update 940_grub2_rescue.sh In the GRUB2 configuration file that is created by output/default/940_grub2_rescue.sh do no longer "insmod" the GRUB2 modules efi_gop efi_uga video_bochs video_cirrus to create this GRUB2 configuration file like the create_grub2_cfg function does it cf. https://github.com/rear/rear/commit/0cc1b6a7450133f952b8c187e85d61397a45dbe1 and https://github.com/rear/rear/commit/2470edf534bc836a3f13d8c48e3007a24bb63bf4 --- usr/share/rear/output/default/940_grub2_rescue.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/usr/share/rear/output/default/940_grub2_rescue.sh b/usr/share/rear/output/default/940_grub2_rescue.sh index bf57856a36..e771ba0402 100644 --- a/usr/share/rear/output/default/940_grub2_rescue.sh +++ b/usr/share/rear/output/default/940_grub2_rescue.sh @@ -151,11 +151,9 @@ if is_true $USING_UEFI_BOOTLOADER ; then # Create configuration file for 'Relax-and-Recover' UEFI boot entry. # This file will not interact with existing Grub2 configuration in any way. + # Regarding "insmod" of GRUB2 modules see what the create_grub2_cfg function does + # cf. https://github.com/rear/rear/pull/2609#issuecomment-831883795 ( echo "set btrfs_relative_path=y" - echo "insmod efi_gop" - echo "insmod efi_uga" - echo "insmod video_bochs" - echo "insmod video_cirrus" echo "insmod all_video" echo "" echo "set gfxpayload=keep"