Page 1 of 1

Kickstart Installation on NVMe

Posted: 2018/04/16 15:46:34
by Madlax
Hello,

I am trying to install CentOS 7 on a SUPERMICRO X11SSH-F. The installation works fine when installing it from CD, but not when I try to install it from network using PXE.

The part section from the kickstart file is very simple

Code: Select all

part biosboot --fstype=biosboot --size=1
part /boot --fstype ext2 --size 250
part pv.01 --size 1 --grow
volgroup vg pv.01
logvol / --vgname=vg --size=1 --grow --fstype ext4 --fsoptions=discard,noatime --name=root
logvol /tmp --vgname=vg --size=1024 --fstype ext4 --fsoptions=discard,noatime --name=tmp
logvol swap --vgname=vg --recommended --name=swap


The issue is that after the installation the EFI partition is empty. Thus it is not recognized by the servers BIOS, and it will not boot the installation. It doesn't even show up as boot device.

Again, using the CD it works fine, but I am not sure what is different, and why it's not working with my KS file.

Thank you!

Re: Kickstart Installation on NVMe

Posted: 2018/04/16 17:10:17
by TrevorH
You don't have a part line for /boot/efi

Re: Kickstart Installation on NVMe

Posted: 2018/04/16 17:50:24
by Madlax
I accidentally copied from the wrong file.

Code: Select all

#part biosboot --fstype=biosboot --size=1
part /boot/efi --fstype="efi" --size=200 --fsoptions="umask=0077,shortname=winnt"
part /boot --fstype=ext2 --size=250
part pv.01 --size=1 --grow
volgroup vg pv.01
logvol / --vgname=vg --size=1 --grow --fstype=ext4 --fsoptions=discard,noatime --name=root
logvol /tmp --vgname=vg --size=1024 --fstype=ext4 --fsoptions=discard,noatime --name=tmp
logvol swap --vgname=vg --recommended --name=swap