[CentOS] adding uefi to kickstart CentOS 7

Stephen John Smoogen smooge at gmail.com
Tue Jul 9 15:07:50 UTC 2019


On Tue, 9 Jul 2019 at 10:57, Jerry Geis <jerry.geis at gmail.com> wrote:

> I am trying to add an efi partition to my working kickstart file.
>
> bootloader --driveorder=sda --append="rhgb quiet biosdevname=0
> net.ifnames=0"
> clearpart --all --initlabel
> part /     --ondisk=sda --fstype xfs --size=20000 --asprimary
> part swap  --ondisk=sda               --size=4000 --asprimary
> part /boot/efi  --ondisk=sda --fstype efi --size=1000   --asprimary
>

Can you try it with a smaller size? all of ours seem to have --size=477



> part /home --ondisk=sda --fstype xfs --size=1         --asprimary --grow
>
> the line with /boot/efi is the only new item other then "removing"
> --location=mbr from the bootloader line.   The install is not working. It
> stops on the Installation part with selections 1-8.
>

We keep the --location=mbr on our efi systems.



> I see no errors on screen - but the selection for "Install source" has a
> "!" and "error setting up install source" is there. when I goto another
> console and run fdisk -l /dev/sda nothing shows so my partitions are not
> getting setup.
>
> What did I miss to setup efi ?
> Thanks,
>
> Jerry
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
>


-- 
Stephen J Smoogen.


More information about the CentOS mailing list