[CentOS] [SOLVED] CentOS 7 kickstart question

Fri Aug 5 19:03:35 UTC 2016
Valeri Galtsev <galtsev at kicp.uchicago.edu>

On Fri, August 5, 2016 8:11 am, Jonathan Billings wrote:
> On Fri, Aug 05, 2016 at 01:55:07PM +0100, Always Learning wrote:
>> On Thu, 2016-08-04 at 22:21 -0400, Jonathan Billings wrote:
>> > Is it a BIOS boot, or are you using the UEFI firmware for booting?
>> > Either way, you might need a small boot partition (not /boot) at the
>> > beginning of the disk.
>> /boot/efi formatted FAT16, circa 150 MB
> Even if you're using BIOS boot, if you've got a GPT-formatted disk,
> you'll need a 'biosboot' partition as well.
> part biosboot --fstype=biosboot --size=1
> (It's not necessary if you're using MBR, but it isn't clear if that's
> the case here.)

Thanks Jonathan!  biosboot was exactly that what solved it. I didn't find
exact documentation but it sounds like you don't have much of a handle on
which disklabel anaconda puts on drive. Cleverly enough it puts gpt (at
least on drives larger than 2 TB). Thanks again everybody for all your
insights. Here is drive portion of my kickstart file that wipes drive no
matter what and puts custom partitioning in case someone some time comes
across this thread

# System bootloader configuration
bootloader --location=mbr --boot-drive=sda --append="crashkernel=no rhgb
# Partition clearing information
clearpart --all --initlabel --drives=sda
# Disk partitioning information
part biosboot --fstype=biosboot --size=1
part /boot --fstype="xfs" --ondisk=sda --size=500 --label=/boot
part / --fstype="xfs" --ondisk=sda --size=25000 --label=/
part /var --fstype="xfs" --ondisk=sda --size=3000 --label=/var
part /tmp --fstype="xfs" --ondisk=sda --size=1000 --label=/tmp
part swap --fstype="swap" --ondisk=sda --size=4000
part /usr/local --fstype="xfs" --ondisk=sda --size=20000 --label=/usr/local
part /home --fstype="xfs" --ondisk=sda --size=50000 --label=/home
part /data --fstype="xfs" --ondisk=sda --size=100 --grow --label=/data

Thanks again, everybody!

Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247