On Wednesday, 25 January 2023 at 09:15 (+0000), Polarian wrote:
I ran into a small issue, there is "no available disk space" if this is not done on its own partition, aka if you do not mount a partition to the chroot.
Is there any method without having to partition up my disk to allocate storage to a chroot, as currently it has no root storage...
It may be the issue described in the arch-chroot man page.
man 8 arch-chroot:
The target chroot-dir should be a mountpoint. This ensures that tools such as pacman(8) or findmnt(8) have an accurate hierarchy of the mounted filesystems within the chroot. If your chroot target is not a mountpoint, you can bind mount the directory on itself to make it a mountpoint, i.e.:
mount --bind /your/chroot /your/chroot
I had trouble in the past with pacman estimating available disk space in chroots and it was resolved by following this advice.