I have tried to create a partition name "/etc' at OS installation time and my installation was not working.When I cancel creating "/etc" directory than it worked. Though all configuration files are available in /etc directory but I tried to resize. Is there any way of creating a manual "/etc" directory or it is a bad try?

closed as unclear what you're asking by Wildcard, Thomas Dickey, maulinglawns, RalfFriedl, schily Sep 8 '18 at 20:00

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    Why would you want to have /etc on its own partition? Related: unix.stackexchange.com/questions/77681/… – Kusalananda Sep 8 '18 at 17:29
  • I have tried to create manual partitions like /tmp ,/usr,/var,/home directories but failed to create /etc directory .Is there any possible answers for this issue ? – Subarno Saha Sep 8 '18 at 17:38
  • Possible duplicate of Moving /etc to separate partition – maulinglawns Sep 8 '18 at 17:41
  • There is no practical reason that I could think of for having /etc on a partition by itself. Why would you want to do that? – Kusalananda Sep 8 '18 at 17:49
  • Actually not for any serious issue,just for experiment.I could not found any information (why I cant manage /etc directory) – Subarno Saha Sep 8 '18 at 19:42

Typically, it is not useful if you use too many partitions, they significantly decrease the flexibility of your system. Unfortunately, many installer regularly enforces the user to fragment his machine into small partitions, what he later finds a nearly impossible task to fix. (In fact it is easy, but you don't need it, simply don't use partitions and so is it.)

For normal home installations it is typically enough if you are using only a single root partition and everything is there.

If you are using, or have to use multiple partitions (volumes), it is far better if you are using some advanced technology for that; for example LVM can move your partitions between hard disks without even unmounting them.

Your steps to unify your /etc partition to the rest of your system are these:

  1. copy everything from the /etc, for example with a cp -vfa /etc /etc-
  2. umount /etc
  3. rmdir /etc
  4. mv /etc- /etc

Not the answer you're looking for? Browse other questions tagged or ask your own question.