I get this error : "cp: error writing '/boot/umlinuz-5.15.26-gentoo-x86_64' : no space left on device".
the strange problem is that my hardrive space is 1tb. the file system is formatted to ext4. i did everything the handbook said and i always get this error after trying to install the kernel (even manually).
What does df -h /boot show? Your /boot partition is probably too small.
(In reply to Emily Rowlands from comment #2) > What does df -h /boot show? Your /boot partition is probably too small. Filesystem Size Used Avail Use% Mounted on /dev/sda4 912G 5.0G 861G 1% / cgroup_root 10M 0 10M 0% /sys/fs/cgroup udev 10M 0 10M 0% /dev tmpfs 2.9G 0 2.9G 0% /dev/shm none 2.9G 592K 2.9G 1% /run /dev/sda1 2.8M 2.8M 3.8K 100% /boot Filesystem inodes iused ifree iuse% mounted on /dev/sda4 60784640 313780 60470860 1%
Yep, you've only got a total of 2.8M of space on /boot. You need a larger partition than that. The handbook recommends 256M. You can either reinstall, or shrink your / partition and expand /boot (this depends on your disk layout though). See https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Disks