Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 836169

Summary: cp: error writing '/boot/umlinuz-5.15.26-gentoo-x86_64' : no space left on device
Product: Gentoo Release Media Reporter: John money <eggman.doctor>
Component: LiveCD/DVD/USBAssignee: Gentoo Release Team <releng>
Status: RESOLVED INVALID    
Severity: normal CC: amd64, gentoo
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description John money 2022-03-26 15:36:52 UTC
I get this error : "cp: error writing '/boot/umlinuz-5.15.26-gentoo-x86_64' : no space left on device".
Comment 1 John money 2022-03-26 15:42:33 UTC
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).
Comment 2 Emily Rowlands 2022-03-26 15:57:20 UTC
What does df -h /boot show? Your /boot partition is probably too small.
Comment 3 John money 2022-03-26 16:33:48 UTC
(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%
Comment 4 Emily Rowlands 2022-03-26 16:40:13 UTC
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