LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 02-22-2024, 05:00 PM   #1
terry-duell
Member
 
Registered: Jan 2007
Location: Melbourne, Australia
Distribution: Fedora 38 x86_64
Posts: 539

Rep: Reputation: 59
Fedora 39, /boot space problem


Hello,
latest Fedora 39 update fails to install due to insufficient space on /boot.
My /boot is only 500 MB, a relic from some time back.
I'm only keeping 1 previous kernel version to save space.
A look in /boot shows quite a bit of space used by debug versions. Advice elsewhere suggested debug versions could be deleted if I'm not building my own kernels, but trying that shows that a number of other tools/applications will be deleted as well, they have a dependency I guess.
Any suggestions as to how best tackle this issue?

Cheers,
Terry
 
Old 02-22-2024, 06:25 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,130

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Increase the size of /boot ?.

Trite I know, but that's the answer. Fedora has always (as long as I've been using it anyway) used /boot as a temp scratchpad during updates. It's just a filesystem in a partition - increase it; move it if necessary although that may require a re-install of your loader to fix the NVRAM (UEFI).
 
Old 02-22-2024, 09:08 PM   #3
terry-duell
Member
 
Registered: Jan 2007
Location: Melbourne, Australia
Distribution: Fedora 38 x86_64
Posts: 539

Original Poster
Rep: Reputation: 59
OK.
I did look into increasing the size of /boot, but it did look like it was going to end up being a very messy exercise.
I had a faint hope that there might be some advice as to which of the debug versions of the kernel etc might not really be needed.
Thanks for your advice, I'll ponder on the problem some more.

Cheers,
Terry
 
Old 02-23-2024, 02:32 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,130

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Quote:
Originally Posted by terry-duell View Post
Advice elsewhere suggested debug versions could be deleted if I'm not building my own kernels, but trying that shows that a number of other tools/applications will be deleted as well, they have a dependency I guess.
That doesn't sound right, I spent years deleting kernels - core and debug. Show us the command you used, and the listing it offered up.
 
Old 02-23-2024, 04:15 PM   #5
terry-duell
Member
 
Registered: Jan 2007
Location: Melbourne, Australia
Distribution: Fedora 38 x86_64
Posts: 539

Original Poster
Rep: Reputation: 59
OK, here's the output of the request to delete...

[terry@localhost ~]$ sudo dnf remove kernel-debug-core*
[sudo] password for terry:
Dependencies resolved.
================================================================================
Package Arch Version Repository Size
================================================================================
Removing:
kernel-debug-core x86_64 6.7.4-200.fc39 @updates 94 M
kernel-debug-core x86_64 6.7.5-200.fc39 @updates 94 M
Removing dependent packages:
NetworkManager-l2tp x86_64 1.20.10-2.fc39 @fedora 639 k
kernel-debug-devel-matched x86_64 6.7.5-200.fc39 @updates 0
kernel-debug-modules x86_64 6.7.4-200.fc39 @updates 97 M
kernel-debug-modules x86_64 6.7.5-200.fc39 @updates 97 M
kernel-debug-modules-core x86_64 6.7.4-200.fc39 @updates 53 M
kernel-debug-modules-core x86_64 6.7.5-200.fc39 @updates 53 M
kernel-debug-modules-extra x86_64 6.7.4-200.fc39 @updates 4.4 M
kernel-debug-modules-extra x86_64 6.7.5-200.fc39 @updates 4.4 M
Removing unused dependencies:
NetworkManager-l2tp-gnome x86_64 1.20.10-2.fc39 @fedora 300 k
kf5-modemmanager-qt x86_64 5.115.0-1.fc39 @updates 603 k
plasma-nm x86_64 5.27.10-1.fc39 @updates 5.0 M
plasma-nm-l2tp x86_64 5.27.10-1.fc39 @updates 552 k
xl2tpd x86_64 1.3.17-3.fc39 @fedora 202 k

Transaction Summary
================================================================================
Remove 15 Packages

That had me a bit concerned, so decided not to proceed at that time.
I had another think about it, and did a bit of snooping as to what the other packages actually did, and came to the conclusion that it was no risk to me to have them all deleted.
I've now got about 200 MB free space in /boot and thus far, all appears to be OK.

Cheers,
Terry
 
Old 02-27-2024, 10:20 PM   #6
terry-duell
Member
 
Registered: Jan 2007
Location: Melbourne, Australia
Distribution: Fedora 38 x86_64
Posts: 539

Original Poster
Rep: Reputation: 59
Quote:
Originally Posted by syg00 View Post
That doesn't sound right, I spent years deleting kernels - core and debug. Show us the command you used, and the listing it offered up.
I've provided the requested info.
Does that look OK, or do you see some problems with what I've done?

Cheers,
Terry
 
Old 02-27-2024, 11:48 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,130

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
When you went ahead, I didn't see any point in responding further. Looks ok, dnf is pretty robust compared to its predecessors.

Maybe look into using --noautoremove in future if you're concerned about this sort of thing.
 
Old 02-28-2024, 08:06 PM   #8
terry-duell
Member
 
Registered: Jan 2007
Location: Melbourne, Australia
Distribution: Fedora 38 x86_64
Posts: 539

Original Poster
Rep: Reputation: 59
OK, thanks for responding.
I had already carried out the 'dnf remove...' before you entered the discussion, and your comments gave me some cause for concern.
The system does seem to OK thus far, although a recent kernel update has shrunk available /boot space back to about 80MB...yet to ascertain what has been added during that update that wasn't there after my 'dnf remove...'.

Cheers,
Terry
 
Old 03-05-2024, 01:23 AM   #9
VerityHollingsworth
LQ Newbie
 
Registered: Feb 2024
Posts: 1

Rep: Reputation: 0
Thank you so much.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
If I try to update Fedora I have to less space, how can I free some space? Were are application installed? nkamp Linux - Desktop 6 10-20-2020 08:41 PM
how to reduce swap space and reclaim the space grantm Linux - Newbie 7 08-16-2012 07:05 AM
Division of Logical Memory Space in to User Space and Kernel Space shreshtha Linux - Newbie 2 01-14-2010 09:59 AM
/boot/boot/boot/boot/boot/ muddywaters SUSE / openSUSE 1 09-10-2005 06:08 AM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 03:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 01:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration