Cnchi icon indicating copy to clipboard operation
Cnchi copied to clipboard

Default partitioning should be simple, only one root partition.

Open manuel-192 opened this issue 6 years ago • 3 comments

Problem:

Cnchi defaults in partitioning are too complicated, especially for newcomers, but also many others.

By default, cnchi creates several partitions for Antergos install. Only one partition should be the default, since:

  • it is much simpler to understand and manage
  • helps avoiding some unnecessary disk space problems later caused by too small partitions
  • helping people with booting/installing/etc. problems it has become obvious that having several partitions complicates fixing the issue(s)

Instead of a swap partition, a swapfile should be used, if possible (does btrfs support swapfile?).

Summary: by default, instead of separate /boot, /home and swap partitions, there should be only one partition, the "/".

Additional Notes:

By default, a separate /home partition should be avoided. A shared /home partition may cause problems when

  • using multiple different operating systems
  • using multiple desktops

After install, a user can create a separate data partition (e.g. /USERDATA or even /USERDATA/$USER) for personal data (may be needed e.g. when multi-booting) and use that data from $HOME (either using symlinks on mounting in /etc/fstab). In general, mixing application data and user data (into $HOME) is not a very good design choice in Linux or any other operating system.

manuel-192 avatar May 30 '18 10:05 manuel-192

Btrfs does not support swap files. Failure to heed this warning may result in file system corruption.

karasu avatar Jun 03 '18 16:06 karasu

Thanks for working on this! Too bad that btrfs does not support swapfiles, but that doesn't really a deal breaker in any way, as swap usage is more of a user's preference.

manuel-192 avatar Jun 04 '18 07:06 manuel-192

As a nice side-effect of moving /boot to a single partition, choosing LUKS encryption would make grub stage2 and the kernel protected against evil maid style attacks.

ghost avatar Jun 09 '18 13:06 ghost