Antergos / Cnchi

A modern, flexible online system installer for Antergos Linux
GNU General Public License v3.0
291 stars 101 forks source link

Default partitioning should be simple, only one root partition. #894

Open manuel-192 opened 6 years ago

manuel-192 commented 6 years ago

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:

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

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.

karasu commented 6 years ago

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

manuel-192 commented 6 years ago

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.

ghost commented 6 years ago

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.