* [gentoo-user] Boot has no space left. @ 2022-06-30 16:19 Guillermo García 2022-06-30 16:29 ` Dale 2022-06-30 16:47 ` Julien Roy 0 siblings, 2 replies; 13+ messages in thread From: Guillermo García @ 2022-06-30 16:19 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 333 bytes --] Hello guys, Sorry for not replying the first email i sent, however i got covid and i cannot reply you, i forgot the original mail i sent here so i make a new one. This is the same as my previous one, boot has no space left, here you have a df -h output inside /boot: Again, thank you all for your help :) Regards, Guillermo. [-- Attachment #2.1: Type: text/html, Size: 611 bytes --] [-- Attachment #2.2: 5TvgMnMN8YKobYAz.png --] [-- Type: image/png, Size: 37151 bytes --] ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Boot has no space left. 2022-06-30 16:19 [gentoo-user] Boot has no space left Guillermo García @ 2022-06-30 16:29 ` Dale 2022-06-30 16:47 ` Julien Roy 1 sibling, 0 replies; 13+ messages in thread From: Dale @ 2022-06-30 16:29 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 523 bytes --] Guillermo García wrote: > > Hello guys, > > Sorry for not replying the first email i sent, however i got covid and > i cannot reply you, i forgot the original mail i sent here so i make a > new one. > > This is the same as my previous one, boot has no space left, here you > have a df -h output inside /boot: > > Again, thank you all for your help :) > > Regards, > > Guillermo. > Now do a ls -al for /boot. There has to be something in there taking up all that space. ;-) Glad you feeling better. Dale :-) :-) [-- Attachment #2.1: Type: text/html, Size: 1236 bytes --] [-- Attachment #2.2: 5TvgMnMN8YKobYAz.png --] [-- Type: image/png, Size: 37151 bytes --] ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Boot has no space left. 2022-06-30 16:19 [gentoo-user] Boot has no space left Guillermo García 2022-06-30 16:29 ` Dale @ 2022-06-30 16:47 ` Julien Roy 2022-06-30 17:11 ` Guillermo 1 sibling, 1 reply; 13+ messages in thread From: Julien Roy @ 2022-06-30 16:47 UTC (permalink / raw To: gentoo-user [-- Attachment #1.1: Type: text/plain, Size: 427 bytes --] On 6/30/22 12:19, Guillermo García wrote: > Hello guys, > > Sorry for not replying the first email i sent, however i got covid and i > cannot reply you, i forgot the original mail i sent here so i make a new > one. If you don't have the replies in your mailbox, you can find them on the mailing list archive: https://archives.gentoo.org/gentoo-user/message/ba92573a301b482184cdfe790704110c Regards, Julien [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 495 bytes --] ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Boot has no space left. 2022-06-30 16:47 ` Julien Roy @ 2022-06-30 17:11 ` Guillermo 2022-06-30 17:24 ` [gentoo-user] " Nikos Chantziaras 0 siblings, 1 reply; 13+ messages in thread From: Guillermo @ 2022-06-30 17:11 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 470 bytes --] On 30/06/2022 18:47, Julien Roy wrote: > On 6/30/22 12:19, Guillermo García wrote: >> Hello guys, >> >> Sorry for not replying the first email i sent, however i got covid >> and i cannot reply you, i forgot the original mail i sent here so i >> make a new one. > > If you don't have the replies in your mailbox, you can find them on > the mailing list archive: > https://archives.gentoo.org/gentoo-user/message/ba92573a301b482184cdfe790704110c > > Regards, > Julien [-- Attachment #2.1: Type: text/html, Size: 1116 bytes --] [-- Attachment #2.2: yztDtnmgSOkrP3kJ.png --] [-- Type: image/png, Size: 178969 bytes --] ^ permalink raw reply [flat|nested] 13+ messages in thread
* [gentoo-user] Re: Boot has no space left. 2022-06-30 17:11 ` Guillermo @ 2022-06-30 17:24 ` Nikos Chantziaras 2022-06-30 18:15 ` Guillermo 0 siblings, 1 reply; 13+ messages in thread From: Nikos Chantziaras @ 2022-06-30 17:24 UTC (permalink / raw To: gentoo-user On 30/06/2022 20:11, Guillermo wrote: > [screenshot] Doesn't "emerge -a --depclean" remove all these old kernels? ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Re: Boot has no space left. 2022-06-30 17:24 ` [gentoo-user] " Nikos Chantziaras @ 2022-06-30 18:15 ` Guillermo 2022-06-30 18:23 ` Michael 0 siblings, 1 reply; 13+ messages in thread From: Guillermo @ 2022-06-30 18:15 UTC (permalink / raw To: gentoo-user Hello, I still have the same problem, but the command worked fine. On 30/06/2022 19:24, Nikos Chantziaras wrote: > On 30/06/2022 20:11, Guillermo wrote: >> [screenshot] > > Doesn't "emerge -a --depclean" remove all these old kernels? > > ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Re: Boot has no space left. 2022-06-30 18:15 ` Guillermo @ 2022-06-30 18:23 ` Michael 2022-06-30 19:38 ` Wols Lists 0 siblings, 1 reply; 13+ messages in thread From: Michael @ 2022-06-30 18:23 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 679 bytes --] On Thursday, 30 June 2022 19:15:33 BST Guillermo wrote: > Hello, > > I still have the same problem, but the command worked fine. The command "emerge -a --depclean" will only remove uninstall the kernel packages, but will not remove files from /usr/src/, or old kernel images and files from /boot/. Your /boot partition is full with old kernels you probably no longer use or need. You have to remove them manually as part of your regular maintenance of your installation, or you can install and use 'app-admin/eclean-kernel' as mentioned in the previous thread, to partly automate the cleanup process of stale kernels. Then update your GRUB to refresh the boot menu. [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Re: Boot has no space left. 2022-06-30 18:23 ` Michael @ 2022-06-30 19:38 ` Wols Lists 2022-06-30 20:29 ` Lee 0 siblings, 1 reply; 13+ messages in thread From: Wols Lists @ 2022-06-30 19:38 UTC (permalink / raw To: gentoo-user On 30/06/2022 19:23, Michael wrote: > On Thursday, 30 June 2022 19:15:33 BST Guillermo wrote: >> Hello, >> >> I still have the same problem, but the command worked fine. > The command "emerge -a --depclean" will only remove uninstall the kernel > packages, but will not remove files from/usr/src/, or old kernel images and > files from/boot/. As far as I'm aware, depclean only installs files it installed, so it leaves quite a lot of garbage lying around from kernels, including the /usr/src/kernel-xx-xx-xx directory and various files involved in making your kernel, that you've modified. Cheers, Wol ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Re: Boot has no space left. 2022-06-30 19:38 ` Wols Lists @ 2022-06-30 20:29 ` Lee 2022-06-30 23:00 ` William Kenworthy 0 siblings, 1 reply; 13+ messages in thread From: Lee @ 2022-06-30 20:29 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1038 bytes --] The OP should read the section of the Gentoo manual on kernel install to learn what files are installed where. Yea, but just rm the kernels and initramfs's from /boot and you're golden. FWIW, I usually only upgrade my kernel when it's a major revision. On Thu, Jun 30, 2022 at 12:39 PM Wols Lists <antlists@youngman.org.uk> wrote: > On 30/06/2022 19:23, Michael wrote: > > On Thursday, 30 June 2022 19:15:33 BST Guillermo wrote: > >> Hello, > >> > >> I still have the same problem, but the command worked fine. > > The command "emerge -a --depclean" will only remove uninstall the kernel > > packages, but will not remove files from/usr/src/, or old kernel images > and > > files from/boot/. > > As far as I'm aware, depclean only installs files it installed, so it > leaves quite a lot of garbage lying around from kernels, including the > /usr/src/kernel-xx-xx-xx directory and various files involved in making > your kernel, that you've modified. > > Cheers, > Wol > > -- Lee 😎 <ny6p01@gmail.com> [-- Attachment #2: Type: text/html, Size: 1631 bytes --] ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Re: Boot has no space left. 2022-06-30 20:29 ` Lee @ 2022-06-30 23:00 ` William Kenworthy 2022-06-30 23:21 ` Dale 0 siblings, 1 reply; 13+ messages in thread From: William Kenworthy @ 2022-06-30 23:00 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1372 bytes --] and don't forget to run "uname -a" to get your currently running kernel version and make sure you don't delete that! "IF" "uname -a" isn't the latest version you have in /boot, some more investigation as to why will be needed. BillK On 1/7/22 04:29, Lee wrote: > The OP should read the section of the Gentoo manual on kernel install > to learn what files are installed where. Yea, but just rm the kernels > and initramfs's from /boot and you're golden. FWIW, I usually only > upgrade my kernel when it's a major revision. > > On Thu, Jun 30, 2022 at 12:39 PM Wols Lists <antlists@youngman.org.uk> > wrote: > > On 30/06/2022 19:23, Michael wrote: > > On Thursday, 30 June 2022 19:15:33 BST Guillermo wrote: > >> Hello, > >> > >> I still have the same problem, but the command worked fine. > > The command "emerge -a --depclean" will only remove uninstall > the kernel > > packages, but will not remove files from/usr/src/, or old kernel > images and > > files from/boot/. > > As far as I'm aware, depclean only installs files it installed, so it > leaves quite a lot of garbage lying around from kernels, including > the > /usr/src/kernel-xx-xx-xx directory and various files involved in > making > your kernel, that you've modified. > > Cheers, > Wol > > > > -- > Lee 😎 > <ny6p01@gmail.com> [-- Attachment #2: Type: text/html, Size: 2859 bytes --] ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Re: Boot has no space left. 2022-06-30 23:00 ` William Kenworthy @ 2022-06-30 23:21 ` Dale 2022-07-01 8:52 ` Wols Lists 0 siblings, 1 reply; 13+ messages in thread From: Dale @ 2022-06-30 23:21 UTC (permalink / raw To: gentoo-user William Kenworthy wrote: > > and don't forget to run "uname -a" to get your currently running > kernel version and make sure you don't delete that! > > "IF" "uname -a" isn't the latest version you have in /boot, some more > investigation as to why will be needed. > > BillK > > Just to add another method. I have uprecords installed here. It lists the kernels and their uptime. I keep the last two with reasonably high uptimes with fairly recent version and the most recent kernel. I don't upgrade automatically so I control what and when I update. Of course, I also have long uptimes as well. My thinking on this. I want kernels that are known to be stable that I can use as a backup boot option but I also want newer kernels that have fixes etc in them. By keeping a couple with long uptimes, I get stable kernels. By also picking a recent kernel version, I get a kernel that I can boot into to see if it is stable. Over time, the versions get higher on both parts. When I do my checks, I look for kernels with at least 30 days or more of uptime. Generally, if a kernel can run that length of time, it is pretty stable. That said, I have some with many months of uptime. When I upgrade to a new kernel, I run for a month or so and then manually clean out /boot, that would include kernel, init thingy, System.map and config files. Seeing this reminds me it might be a good time to look into updating, even tho I might not reboot for a while yet. Just a thought. Dale :-) :-) ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Re: Boot has no space left. 2022-06-30 23:21 ` Dale @ 2022-07-01 8:52 ` Wols Lists 2022-07-01 9:37 ` Dale 0 siblings, 1 reply; 13+ messages in thread From: Wols Lists @ 2022-07-01 8:52 UTC (permalink / raw To: gentoo-user On 01/07/2022 00:21, Dale wrote: > When I upgrade to a new kernel, I run for a month or so and then > manually clean out /boot, that would include kernel, init thingy, > System.map and config files. > > Seeing this reminds me it might be a good time to look into updating, > even tho I might not reboot for a while yet. When I update, I wait until I'm happy the new one seems okay, and then I just leave the most recent one and the one before. That said, I need to upgrade, and I need to see if my random hangs are fixed (there's apparently a bug in the Ryzen 3000, and I'm guessing that's what I'm hitting). Cheers, Wol ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Re: Boot has no space left. 2022-07-01 8:52 ` Wols Lists @ 2022-07-01 9:37 ` Dale 0 siblings, 0 replies; 13+ messages in thread From: Dale @ 2022-07-01 9:37 UTC (permalink / raw To: gentoo-user Wols Lists wrote: > On 01/07/2022 00:21, Dale wrote: >> When I upgrade to a new kernel, I run for a month or so and then >> manually clean out /boot, that would include kernel, init thingy, >> System.map and config files. >> >> Seeing this reminds me it might be a good time to look into updating, >> even tho I might not reboot for a while yet. > > When I update, I wait until I'm happy the new one seems okay, and then > I just leave the most recent one and the one before. > > That said, I need to upgrade, and I need to see if my random hangs are > fixed (there's apparently a bug in the Ryzen 3000, and I'm guessing > that's what I'm hitting). > > Cheers, > Wol > > After my previous reply, I updated to a newer kernel. It's in /boot but it may be months before I reboot. Anyway, I currently have four kernels in /boot. My current running kernel and two backup kernels plus the new untested one. Whenever I get around to rebooting and the new kernel works fine, I'll remove the oldest one including sources etc. I try to keep at least two backup kernels. One reason I do that, the init thingy. I admit dracut is working well for me but given the history I have with those thingys, I want extra protection. The odds of three boot options going bad are pretty slim and if it did happen, I likely have a serious hard drive problem anyway, file system at the very least. Either way, I have a lot to worry about. Maybe one of the suggestions mentioned here will help the OP. It seems he is letting the updater do the install or something and the kernel is a fast moving target. One has to have some way, automated or manual, to clean up the unneeded bits. I doubt most anyone makes their /boot to large anyway. Usually 300 or 400MBs is enough. Dale :-) :-) ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2022-07-01 9:37 UTC | newest] Thread overview: 13+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2022-06-30 16:19 [gentoo-user] Boot has no space left Guillermo García 2022-06-30 16:29 ` Dale 2022-06-30 16:47 ` Julien Roy 2022-06-30 17:11 ` Guillermo 2022-06-30 17:24 ` [gentoo-user] " Nikos Chantziaras 2022-06-30 18:15 ` Guillermo 2022-06-30 18:23 ` Michael 2022-06-30 19:38 ` Wols Lists 2022-06-30 20:29 ` Lee 2022-06-30 23:00 ` William Kenworthy 2022-06-30 23:21 ` Dale 2022-07-01 8:52 ` Wols Lists 2022-07-01 9:37 ` Dale
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox