Fixes for Fedora; support Rocky Linux Live ISO
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
This commit is contained in:
committed by
George Melikov
parent
9261cfb4f5
commit
ae7c5d19f4
@@ -54,9 +54,6 @@ Install GRUB
|
||||
dracut --force --kver $kernel_version
|
||||
done
|
||||
|
||||
#. When in doubt, install both legacy boot
|
||||
and EFI.
|
||||
|
||||
#. Disable BLS::
|
||||
|
||||
echo "GRUB_ENABLE_BLSCFG=false" >> /etc/default/grub
|
||||
@@ -70,6 +67,9 @@ Install GRUB
|
||||
Boot environment-specific configuration (kernel, etc)
|
||||
is stored in ``/boot/grub2/grub.cfg``, enabling rollback.
|
||||
|
||||
#. When in doubt, install both legacy boot
|
||||
and EFI.
|
||||
|
||||
#. If using legacy booting, install GRUB to every disk::
|
||||
|
||||
for i in ${DISK[@]}; do
|
||||
@@ -93,6 +93,7 @@ Install GRUB
|
||||
#. For both legacy and EFI booting: mirror ESP content::
|
||||
|
||||
ESP_MIRROR=$(mktemp -d)
|
||||
unalias -a
|
||||
cp -r /boot/efi/EFI $ESP_MIRROR
|
||||
for i in /boot/efis/*; do
|
||||
cp -r $ESP_MIRROR/EFI $i
|
||||
|
||||
Reference in New Issue
Block a user