try to forcefully create a grub.cfg

This commit is contained in:
Louis Abel 2022-11-28 23:43:41 -07:00
parent 84e56160fe
commit da5f8229b2
Signed by: label
GPG key ID: B37E62D143879B36
8 changed files with 8 additions and 0 deletions

View file

@ -49,6 +49,7 @@ passwd -l root
if [ "$(arch)" = "x86_64" ]; then
dnf install grub2-pc-modules grub2-pc -y
grub2-install --target=i386-pc /dev/vda
grub2-mkconfig -o /boot/grub2/grub.cfg --no-grubenv-update
fi
# Ensure that the pmbr_boot flag is off

View file

@ -51,6 +51,7 @@ passwd -l root
if [ "$(arch)" = "x86_64" ]; then
dnf install grub2-pc-modules grub2-pc -y
grub2-install --target=i386-pc /dev/vda
grub2-mkconfig -o /boot/grub2/grub.cfg --no-grubenv-update
fi
# Ensure that the pmbr_boot flag is off

View file

@ -110,6 +110,7 @@ passwd -l root
if [ "$(arch)" = "x86_64" ]; then
dnf install grub2-pc-modules grub2-pc -y
grub2-install --target=i386-pc /dev/vda
grub2-mkconfig -o /boot/grub2/grub.cfg --no-grubenv-update
fi
# Ensure that the pmbr_boot flag is off

View file

@ -111,6 +111,7 @@ passwd -l root
if [ "$(arch)" = "x86_64" ]; then
dnf install grub2-pc-modules grub2-pc -y
grub2-install --target=i386-pc /dev/vda
grub2-mkconfig -o /boot/grub2/grub.cfg --no-grubenv-update
fi
# Ensure that the pmbr_boot flag is off

View file

@ -13,6 +13,7 @@ passwd -l root
if [ "$(arch)" = "x86_64" ]; then
dnf install grub2-pc-modules grub2-pc -y
grub2-install --target=i386-pc /dev/vda
grub2-mkconfig -o /boot/grub2/grub.cfg --no-grubenv-update
fi
# Ensure that the pmbr_boot flag is off

View file

@ -13,6 +13,7 @@ passwd -l root
if [ "$(arch)" = "x86_64" ]; then
dnf install grub2-pc-modules grub2-pc -y
grub2-install --target=i386-pc /dev/vda
grub2-mkconfig -o /boot/grub2/grub.cfg --no-grubenv-update
fi
# Ensure that the pmbr_boot flag is off

View file

@ -13,6 +13,7 @@ passwd -l root
if [ "$(arch)" = "x86_64" ]; then
dnf install grub2-pc-modules grub2-pc -y
grub2-install --target=i386-pc /dev/vda
grub2-mkconfig -o /boot/grub2/grub.cfg --no-grubenv-update
fi
# Ensure that the pmbr_boot flag is off

View file

@ -13,6 +13,7 @@ passwd -l root
if [ "$(arch)" = "x86_64" ]; then
dnf install grub2-pc-modules grub2-pc -y
grub2-install --target=i386-pc /dev/vda
grub2-mkconfig -o /boot/grub2/grub.cfg --no-grubenv-update
fi
# Ensure that the pmbr_boot flag is off