Re: [SOLVED] CentOS 7 kickstart question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
quiet"
# 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

++++++++++++++++++++++++++++++++++++++++
Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247
++++++++++++++++++++++++++++++++++++++++
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux