[CentOS] kickstart compat C7 -> C8

Wed May 8 17:48:21 UTC 2019
Valeri Galtsev <galtsev at kicp.uchicago.edu>


On 2019-05-08 12:28, Stephen John Smoogen wrote:
> On Wed, 8 May 2019 at 13:24, mark <m.roth at 5-cent.us> wrote:
> 
>> Leon Fauster via CentOS wrote:
>>> Hi all,
>>>
>>>
>>> I still use the following kickstart partition scheme for C7 installations
>>> (via virt-install):
>>> Briefly, fixed size for /root and /boot, and the rest is filled up for
>>> /srv.
>>>
>>> The same kickstart (despite that c7 uses vda, f29 uses sda) doesn't work
>>> with Fedora29 (EL8). I get a "device is too small for new format" error.
>>> Any hints?
>>>
>>> part /RESCUE --fstype="ext4" --ondisk=sda --size=1280 --label=RESCUE part
>>> /boot --fstype="ext4" --ondisk=sda --size=512 --label=BOOT
>>> part pv.0104 --fstype="lvmpv" --ondisk=sda --grow volgroup ee
>> --pesize=4096
>>> pv.1974 logvol / --fstype="ext4" --size=3072 --encrypted --label="ROOT"
>>> --name=00 --vgname=ee
>>> logvol /srv --fstype="ext4" --percent=100 --grow --encrypted
>> --label="SRV"
>>> --name=01 --vgname=ee
>>>
>> If I'm reading that correctly - haven't worked on a kickstart in years -
>> I'd start by increasing root to 1024 (1M) for /boot.
>>
>>
> Yep. Minimum for that is going to be about the same as your RESCUE. The
> other would just be to confirm that the sda has space and nothing still on
> it which it was trying to work around.
> 

In CentOS releases 5 --> 6 --> 7

the demand for /boot size doubles if not triples with each release... 
Otherwise one day you may fill it up before number of kernels will be 
such that kernel update will remove oldest kernel. And _we_ called 
Windows 2000 "bloated pig" when it was released... Sigh.

Valeri

> 
> 
>>         mark
>>
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> https://lists.centos.org/mailman/listinfo/centos
>>
> 
> 

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