Pass the ‘--recheck’ flag to grub-install
This commit is contained in:
parent
f07f221f0e
commit
f0c82f4543
@ -36,7 +36,7 @@ if [ "$action" = "switch" -o "$action" = "boot" ]; then
|
|||||||
for dev in @grubDevices@; do
|
for dev in @grubDevices@; do
|
||||||
if [ "$dev" != nodev ]; then
|
if [ "$dev" != nodev ]; then
|
||||||
echo "installing the GRUB bootloader on $dev..."
|
echo "installing the GRUB bootloader on $dev..."
|
||||||
@grub@/sbin/grub-install "$(readlink -f "$dev")" --no-floppy
|
@grub@/sbin/grub-install --recheck "$(readlink -f "$dev")" --no-floppy
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
echo "$newGrubVersion" > /boot/grub/version
|
echo "$newGrubVersion" > /boot/grub/version
|
||||||
|
Loading…
x
Reference in New Issue
Block a user