Hello,
I was updating my gentoo install, and now it says that /boot has 0
bytes, however i don't know why since i never save anything in that
folder.
Any idea on what can i do?
Thanks.
Guillermo García wrote:
Hello,
I was updating my gentoo install, and now it says that /boot has 0
bytes, however i don't know why since i never save anything in that
folder.
Any idea on what can i do?
Thanks.
I'd start by doing this:
du -shc /boot/* | sort -h
That will show the size of files in /boot and sort them from smallest to largest. It could be that you have a large number of kernels and maybe
init thingys in there. If so, some house cleaning may be required.
Dale
:-) :-)
Guillermo García wrote:
Hello,
I was updating my gentoo install, and now it says that /boot has 0
bytes, however i don't know why since i never save anything in that
folder.
Any idea on what can i do?
Thanks.
I'd start by doing this:
du -shc /boot/* | sort -h
That will show the size of files in /boot and sort them from smallest
to largest. It could be that you have a large number of kernels and
maybe init thingys in there. If so, some house cleaning may be
required.
Hello,
I was updating my gentoo install, and now it says that /boot has 0
bytes, however i don't know why since i never save anything in that
folder.
Any idea on what can i do?
Thanks.
Hello again guys, how are you? I hope you're fine.
I remember someone told me a program to use to remove old kernels in
order to get more space on /boot, i tried to search the original message
that the guy sent me trough this list, but i cannot find it.
Here's a screenshot of my /boot folder:
I guess the kernel version i use is this one:
Could someone tell me a method to remove the old kernels in order to get
more space in /boot?
On 15/07/2022 00:01, Dale wrote:
Guillermo García wrote:
Hello again guys, how are you? I hope you're fine.
I remember someone told me a program to use to remove old kernels
in order to get more space on /boot, i tried to search the
original message that the guy sent me trough this list, but i
cannot find it.
Here's a screenshot of my /boot folder:
I guess the kernel version i use is this one:
Could someone tell me a method to remove the old kernels in order
to get more space in /boot?
Thank you, and regards,
Guillermo.
I found it for you. The package is app-admin/eclean-kernel. IBear in mind, if the OP is running 5.15.10, that's the second oldest
think there is a wiki page on the Gentoo website for that. I
recall it being pretty easy to use.
kernel in the list. If he's got five newer kernels there, is
eclean-kernel going to assume the live kernel is out-of-date and
delete it? NOT a good idea.
The OP needs to make sure that both 5.15.41 and 5.15.48 are in his
boot menu, AND that they both work, before risking clearing out the
rest ...
The kernel choice algorithm is quite simple:
1. If the kernel is currently used, don't remove it;
2. If the kernel is referenced by a bootloader, don't remove it
(unless ``--destructive``);
3. If auxiliary files do not map to existing kernel, remove them;
4. If ``--all`` is used, remove the kernel;
5. If kernel is not within *N* newest kernels (where *N* is the
argument to ``-n``), remove it.
On 15/07/2022 00:01, Dale wrote:
Guillermo García wrote:Bear in mind, if the OP is running 5.15.10, that's the second oldest
Hello again guys, how are you? I hope you're fine.
I remember someone told me a program to use to remove old kernels in
order to get more space on /boot, i tried to search the original
message that the guy sent me trough this list, but i cannot find it.
Here's a screenshot of my /boot folder:
I guess the kernel version i use is this one:
Could someone tell me a method to remove the old kernels in order to
get more space in /boot?
Thank you, and regards,
Guillermo.
I found it for you. The package is app-admin/eclean-kernel. I think
there is a wiki page on the Gentoo website for that. I recall it
being pretty easy to use.
kernel in the list. If he's got five newer kernels there, is
eclean-kernel going to assume the live kernel is out-of-date and
delete it? NOT a good idea.
The OP needs to make sure that both 5.15.41 and 5.15.48 are in his
boot menu, AND that they both work, before risking clearing out the
rest ...
Cheers,
Wol
.
Guillermo García wrote:
Hello again guys, how are you? I hope you're fine.
I remember someone told me a program to use to remove old kernels in
order to get more space on /boot, i tried to search the original
message that the guy sent me trough this list, but i cannot find it.
Here's a screenshot of my /boot folder:
I guess the kernel version i use is this one:
Could someone tell me a method to remove the old kernels in order to
get more space in /boot?
Thank you, and regards,
Guillermo.
I found it for you. The package is app-admin/eclean-kernel. I think
there is a wiki page on the Gentoo website for that. I recall it being pretty easy to use.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (0 / 16) |
Uptime: | 169:01:13 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,057 |
Messages: | 6,416,551 |