Kickstart Partition Without Home

Home » CentOS » Kickstart Partition Without Home
CentOS 3 Comments

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.

Matt

____________________
Matthew Sweet, Systems Infrastructure Administrator Valparaiso University Office of Information Technology Phone: 219.464.6101

This email transmission and any attachments which may accompany it contain confidential information that is legally privileged. If you are not the intended recipient, any disclosure, copying, distribution or use of any of the information in this transmission is strictly prohibited. If you have received this transmission in error, please notify us immediately by telephone at (219) 464-5335 and destroy the original.

3 thoughts on - Kickstart Partition Without Home

  • Just don’t specify a separate partition for /home in your kickstart. A directory for /home will always exist on root file system (whether you have the homedir data stored locally or on a separate partition). Unless you create a user account (other than root), /home will not have any directories beneath it.

  • 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.

    Regards,
    Dennis

  • 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