forked from sig_core/kickstarts
try to forcefully create a grub.cfg
This commit is contained in:
parent
84e56160fe
commit
da5f8229b2
@ -49,6 +49,7 @@ passwd -l root
|
|||||||
if [ "$(arch)" = "x86_64" ]; then
|
if [ "$(arch)" = "x86_64" ]; then
|
||||||
dnf install grub2-pc-modules grub2-pc -y
|
dnf install grub2-pc-modules grub2-pc -y
|
||||||
grub2-install --target=i386-pc /dev/vda
|
grub2-install --target=i386-pc /dev/vda
|
||||||
|
grub2-mkconfig -o /boot/grub2/grub.cfg --no-grubenv-update
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Ensure that the pmbr_boot flag is off
|
# Ensure that the pmbr_boot flag is off
|
||||||
|
@ -51,6 +51,7 @@ passwd -l root
|
|||||||
if [ "$(arch)" = "x86_64" ]; then
|
if [ "$(arch)" = "x86_64" ]; then
|
||||||
dnf install grub2-pc-modules grub2-pc -y
|
dnf install grub2-pc-modules grub2-pc -y
|
||||||
grub2-install --target=i386-pc /dev/vda
|
grub2-install --target=i386-pc /dev/vda
|
||||||
|
grub2-mkconfig -o /boot/grub2/grub.cfg --no-grubenv-update
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Ensure that the pmbr_boot flag is off
|
# Ensure that the pmbr_boot flag is off
|
||||||
|
@ -110,6 +110,7 @@ passwd -l root
|
|||||||
if [ "$(arch)" = "x86_64" ]; then
|
if [ "$(arch)" = "x86_64" ]; then
|
||||||
dnf install grub2-pc-modules grub2-pc -y
|
dnf install grub2-pc-modules grub2-pc -y
|
||||||
grub2-install --target=i386-pc /dev/vda
|
grub2-install --target=i386-pc /dev/vda
|
||||||
|
grub2-mkconfig -o /boot/grub2/grub.cfg --no-grubenv-update
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Ensure that the pmbr_boot flag is off
|
# Ensure that the pmbr_boot flag is off
|
||||||
|
@ -111,6 +111,7 @@ passwd -l root
|
|||||||
if [ "$(arch)" = "x86_64" ]; then
|
if [ "$(arch)" = "x86_64" ]; then
|
||||||
dnf install grub2-pc-modules grub2-pc -y
|
dnf install grub2-pc-modules grub2-pc -y
|
||||||
grub2-install --target=i386-pc /dev/vda
|
grub2-install --target=i386-pc /dev/vda
|
||||||
|
grub2-mkconfig -o /boot/grub2/grub.cfg --no-grubenv-update
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Ensure that the pmbr_boot flag is off
|
# Ensure that the pmbr_boot flag is off
|
||||||
|
@ -13,6 +13,7 @@ passwd -l root
|
|||||||
if [ "$(arch)" = "x86_64" ]; then
|
if [ "$(arch)" = "x86_64" ]; then
|
||||||
dnf install grub2-pc-modules grub2-pc -y
|
dnf install grub2-pc-modules grub2-pc -y
|
||||||
grub2-install --target=i386-pc /dev/vda
|
grub2-install --target=i386-pc /dev/vda
|
||||||
|
grub2-mkconfig -o /boot/grub2/grub.cfg --no-grubenv-update
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Ensure that the pmbr_boot flag is off
|
# Ensure that the pmbr_boot flag is off
|
||||||
|
@ -13,6 +13,7 @@ passwd -l root
|
|||||||
if [ "$(arch)" = "x86_64" ]; then
|
if [ "$(arch)" = "x86_64" ]; then
|
||||||
dnf install grub2-pc-modules grub2-pc -y
|
dnf install grub2-pc-modules grub2-pc -y
|
||||||
grub2-install --target=i386-pc /dev/vda
|
grub2-install --target=i386-pc /dev/vda
|
||||||
|
grub2-mkconfig -o /boot/grub2/grub.cfg --no-grubenv-update
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Ensure that the pmbr_boot flag is off
|
# Ensure that the pmbr_boot flag is off
|
||||||
|
@ -13,6 +13,7 @@ passwd -l root
|
|||||||
if [ "$(arch)" = "x86_64" ]; then
|
if [ "$(arch)" = "x86_64" ]; then
|
||||||
dnf install grub2-pc-modules grub2-pc -y
|
dnf install grub2-pc-modules grub2-pc -y
|
||||||
grub2-install --target=i386-pc /dev/vda
|
grub2-install --target=i386-pc /dev/vda
|
||||||
|
grub2-mkconfig -o /boot/grub2/grub.cfg --no-grubenv-update
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Ensure that the pmbr_boot flag is off
|
# Ensure that the pmbr_boot flag is off
|
||||||
|
@ -13,6 +13,7 @@ passwd -l root
|
|||||||
if [ "$(arch)" = "x86_64" ]; then
|
if [ "$(arch)" = "x86_64" ]; then
|
||||||
dnf install grub2-pc-modules grub2-pc -y
|
dnf install grub2-pc-modules grub2-pc -y
|
||||||
grub2-install --target=i386-pc /dev/vda
|
grub2-install --target=i386-pc /dev/vda
|
||||||
|
grub2-mkconfig -o /boot/grub2/grub.cfg --no-grubenv-update
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Ensure that the pmbr_boot flag is off
|
# Ensure that the pmbr_boot flag is off
|
||||||
|
Loading…
Reference in New Issue
Block a user