Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836169 - cp: error writing '/boot/umlinuz-5.15.26-gentoo-x86_64' : no space left on device
Summary: cp: error writing '/boot/umlinuz-5.15.26-gentoo-x86_64' : no space left on de...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: LiveCD/DVD/USB (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-26 15:36 UTC by John money
Modified: 2022-03-26 16:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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