archlinux / archinstall

Arch Linux installer - guided, templates etc.
GNU General Public License v3.0
6.05k stars 522 forks source link

Partition root too small ! #2277

Closed Xdavius closed 4 months ago

Xdavius commented 9 months ago

Hi

With new archinstall auo partitioning with separated /home choise made by default, we have 20G for root partition. It's too small for gaming/multimedia usage. With softwares like steam, davinci resole, kdenlive and the AMD rocm stack or Nvidia stack, it's not enough at all.

Please, consider theses options :

Thank you

Torxed commented 9 months ago
  • increase to 50gb for everyone

This one is a bit too aggressive for my taste.

calcule 10% of disk size for /root and set a max size.

That we can do tho.

giving the ability to choose root partition size in autopartitioning utility (best choise I think)

I think this is the best option overall, but will require more work. For users that need more space than 20GB, which I totally understand if you install a bunch of things - manually partitioning or opting out to use a separate home is the best way currently.

Or use BTRFS, as it doesn't use separate partitions but subvolumes to divide the space. If that's an option for you.

Total side note, but doesn't steam install things in ~/.steam? Pretty sure it does so that's probably just thrown in there to emphasize the point right?

svartkanin commented 9 months ago

I actually run into this problem as well recently due to flatpak. Flatpak by default installs things somewhere under / which is annoying, but can be changed.

I do feel we need to get away from the 20GB somehow as nowadays most folks will have larger drives.

I'm planning some rewrite of the disk menu with the lvm stuff but no promises on ETA

Xdavius commented 9 months ago

Hi @Torxed ,

You're right. Steam goes in /home. Flatpak Steam doesn't. I use system one in my case to get the availability of switching from mesa to amdvlk or amdgpu-pro, depending on the game I run.

Bit this is not the subject ^°

DaVinci Resolve is 4go + 2go cached for updating itself.

Add llvm for amd or cuda, 4go more needed.

We are already to 50% of the maximal without the system.

For desktop daily use, personal usage and sometimes work (but not too much), it's not good.

I understand about Btrfs, but it's not my friend. I prefer LVM in this case with ext4. But still prefer ext4 (easiest, solid, repairable easier)

I suppose adding the feature for autopart with custom root part size is more work, but it's the most solid way, and permit to auto define a proposition.

No problem for waiting the development of the feature, I can use cfdisk.

But it's not for me I request this feature, it's for less advanced users who wants to learn and discover Arch without trouble.

Thank you.

Xdavius commented 9 months ago

@svartkanin Hi,

No problem, it's not urgent for now. We still recommend to not use separed home and to be careful.

I think a quick fix should be to change the default option to unified root partition.

It will avoid the risk of lots of bad returns.

Thank you.

svartkanin commented 4 months ago

This has been completed with some new logic to determine the size of the root partition