Reorder steps for installing grub properly
This commit is contained in:
parent
6bafeffaae
commit
f0eec78de5
1 changed files with 1 additions and 2 deletions
|
@ -10,8 +10,7 @@ then
|
|||
BOOTLOADER_ID="${BOOTLOADER_ID}" \
|
||||
bash "$BASH_SOURCE" "$USER";
|
||||
else
|
||||
sed -i "s/#\(GRUB_DISABLE_OS_PROBER\)/\1/" /etc/default/grub;
|
||||
grub-install --target=x86_64-efi --efi-directory="$EFI_BOOT_DIR" --bootloader-id="$BOOTLOADER_ID";
|
||||
grub-mkconfig -o "$EFI_BOOT_DIR/grub/grub.cfg";
|
||||
|
||||
sed -i "s/#\(GRUB_DISABLE_OS_PROBER\)/\1/" /etc/default/grub
|
||||
fi;
|
||||
|
|
Loading…
Reference in a new issue