Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions migrate2rocky/migrate2rocky.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1247,6 +1247,9 @@ efi_check () {
elif [[ -d /sys/firmware/efi/ ]]; then
declare -g update_efi
update_efi=true
else
declare -g update_bios
update_bios=true
fi
}

Expand Down Expand Up @@ -1340,6 +1343,8 @@ fi

if [[ $update_efi && $convert_to_rocky ]]; then
fix_efi
elif [[ $update_bios && $convert_to_rocky ]]; then
grub2-mkconfig -o /boot/grub2/grub.cfg
fi

printf '\n\n\n'
Expand Down