[CentOS] kickstart partition without home

mark m.roth at 5-cent.us
Wed Jul 23 12:02:25 UTC 2014


On 07/22/14 21:15, Dennis Jacobfeuerborn wrote:
> On 22.07.2014 23:56, Matthew Sweet wrote:
>> I am trying to finish off a kickstart file for a computer lab on CentOS 6.5
>> machines. I don't want to have a separate /home as I'm going to add an
>> entry in fstab for it to nfs mount /home from a server.
>>
>> Is there a way to have it autopart the rest of the file system without
>> /home? Wanting to keep autopart for size since not all hard drives across
>> the labs are the same.
>
> Don't use auto-partitioning at all and instead create a boot partition
> with fixed size, a swap partition with fixed size and lastly a root
> partition with "--size=1 --grow". That way the partition will use the
> rest of the available disk space.

Pretty much what we did at work. These days, instead, we keep / to 500G (-1G 
for /boot, and 2G for swap), and the fourth partition is -grow. Keeps user 
data, etc, from eating /....

	mark




More information about the CentOS mailing list