From 606474ac9735d88827297c8bdbf1e016fd947c1f Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Mon, 29 Aug 2022 02:05:51 -0700 Subject: [PATCH] add missing boot partition and grub2-pc-modules --- Rocky-9-GenericCloud.ks | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Rocky-9-GenericCloud.ks b/Rocky-9-GenericCloud.ks index d1fdc77..79f6243 100644 --- a/Rocky-9-GenericCloud.ks +++ b/Rocky-9-GenericCloud.ks @@ -23,6 +23,7 @@ clearpart --all --initlabel --disklabel=gpt part prepboot --size=4 --fstype=prepboot part biosboot --size=1 --fstype=biosboot part /boot/efi --size=100 --fstype=efi +part /boot --size=1000 --fstype=xfs --label=boot part / --size=8000 --fstype="xfs" --mkfsoptions "-m bigtime=0,inobtcount=0" shutdown @@ -89,6 +90,7 @@ passwd -l root # Attempting to force legacy BIOS boot if we boot from UEFI if [ "$(arch)" = "x86_64" ]; then + dnf install grub2-pc-modules -y grub2-install --target=i386-pc /dev/vda fi