here is what I got: installing package kernel-core-7.2.0-61.fc45.x86_64 needs 62MB more space on the /boot files
Can you please post the output of:
lsblk -f
To see what sizes you are using. Which DE are you using?
sda
├─sda1 vfat FAT32 E98E-0777 578.7M 3% /boot/efi
├─sda2 ext4 1.0 852c924b-cf0d-4731-99a1-ab10aa875780 12.4M 93% /boot
└─sda3 crypto 2 45bbc442-0ce6-4248-a661-f04b21d9c42b
└─luks-45bbc442-0ce6-4248-a661-f04b21d9c42b
btrfs fedora cf0884c0-c57d-450c-ba5c-a7faab8ab3d2 908.3G 2% /home
/
zram0 swap 1 zram0 23b74587-f9f8-423f-9a14-14553f7da06a [SWAP]
Replied to in Disk space inconsistencies - #4 by penguinista.
I assume it’s a user error and not some weirdness in Discourse.
ok so how do I increase more space on the boot file? Just wondering thanks
You need to remove something from the /boot partition. You currently have 12MB free in there, which is not enough for the new kernel you’re apparently trying to install.
Alternatively you can resize the entire partition to be larger, assuming you can create some space by shrinking something else which is also on sda disk.
thank you for your help. I’m just trying to figure out what to delete on the boot drive? And I’m not sure how to do that?
OK - let’s start with what you have in there. Post the output from ls -alh /boot as pre-formatted text.
In addition, you might as well do the same for inxi -ezxx which you might need to install first if you’ve never used it before. It’ll tell us what lots of useful info in one hit, without endless questions.
[quote=“Steve Flynn, post:8, topic:199832, username:anothermindbomb”]
ls -alh /boot
[/quote] otal 505M
dr-xr-xr-x. 7 root root 4.0K Aug 16 17:37 .
dr-xr-xr-x. 1 root root 178 Aug 16 01:43 ..
-rw-r–r–. 1 root root 293K Aug 8 17:00 config-7.1.8-200.fc44.x86_64
-rw-r–r–. 1 root root 294K Aug 6 17:00 config-7.2.0-0.rc6.260807gf9a2394a2348.52.fc45.x86_64
drwx------. 4 root root 4.0K Dec 31 1969 efi
drwx------. 3 root root 4.0K Aug 20 12:01 grub2
-rw-------. 1 root root 259M Aug 10 17:40 initramfs-0-rescue-e6f7212342ca424e9a72cf4912ad5fb5.img
-rw-------. 1 root root 78M Aug 10 19:47 initramfs-7.1.8-200.fc44.x86_64.img
-rw-------. 1 root root 92M Aug 16 02:03 initramfs-7.2.0-0.rc6.260807gf9a2394a2348.52.fc45.x86_64.img
drwxr-xr-x. 3 root root 4.0K Aug 10 17:39 loader
drwx------. 2 root root 16K Aug 10 17:36 lost+found
lrwxrwxrwx. 1 root root 45 Aug 10 19:46 symvers-7.1.8-200.fc44.x86_64.xz → /lib/modules/7.1.8-200.fc44.x
86_64/symvers.xz
lrwxrwxrwx. 1 root root 70 Aug 16 02:02 symvers-7.2.0-0.rc6.260807gf9a2394a2348.52.fc45.x86_64.xz → /lib
/modules/7.2.0-0.rc6.260807gf9a2394a2348.52.fc45.x86_64/symvers.xz
-rw-r–r–. 1 root root 12M Aug 8 17:00 System.map-7.1.8-200.fc44.x86_64
-rw-r–r–. 1 root root 13M Aug 6 17:00 System.map-7.2.0-0.rc6.260807gf9a2394a2348.52.fc45.x86_64
drwxr-xr-x. 9 root root 4.0K Aug 16 16:56 timeshift
-rwxr-xr-x. 1 root root 17M Aug 10 17:39 vmlinuz-0-rescue-e6f7212342ca424e9a72cf4912ad5fb5
-rwxr-xr-x. 1 root root 18M Aug 8 17:00 vmlinuz-7.1.8-200.fc44.x86_64
-rw-r–r–. 1 root root 160 Aug 8 17:00 .vmlinuz-7.1.8-200.fc44.x86_64.hmac
-rwxr-xr-x. 1 root root 19M Aug 6 17:00 vmlinuz-7.2.0-0.rc6.260807gf9a2394a2348.52.fc45.x86_64
-rw-r–r–. 1 root root 185 Aug 6 17:00 .vmlinuz-7.2.0-0.rc6.260807gf9a2394a2348.52.fc45.x86_64.hmac
dr-xr-xr-x. 7 root root 4.0K Aug 16 17:37 **.**
dr-xr-xr-x. 1 root root 178 Aug 16 01:43 **..**
-rw-r–r–. 1 root root 293K Aug 8 17:00 config-7.1.8-200.fc44.x86_64
-rw-r–r–. 1 root root 294K Aug 6 17:00 config-7.2.0-0.rc6.260807gf9a2394a2348.52.fc45.x86_64
drwxr-xr-x. 9 root root 4.0K Aug 16 16:56 **timeshift**
Are you running FC44 or 45 and what is that timeshift directory doing in there?
Fedora 45
r-xr-xr-x. 1 root root 178 Aug 16 01:43 **..**
-rw-r–r–. 1 root root 293K Aug 8 17:00 config-7.1.8-200.fc44.x86_64
-rw-r–r–. 1 root root 294K Aug 6 17:00 config-7.2.0-0.rc6.260807gf9a2394a2348.52.fc45.x86_64
drwxr-xr-x. 9 root root 4.0K Aug 16 16:56 **timeshift**
bash: dr-xr-xr-x.: command not found…
bash: dr-xr-xr-x.: command not found…
bash: -rw-r–r–.: command not found…
bash: -rw-r–r–.: command not found…
bash: drwxr-xr-x.: command not found…
If you’re on F45 right now then you can remove the Fedora 44 kernel then, via dnf - I’m not even sure you’ll be able to boot from it if you need to. It’ll may work but I’d not put any money on it.
sudo dnf remove kernel-7.1.8-200.fc44.x86_64
I have to wonder why you’re on FC45 now, before it’s released; it’s not really a place to be unless you have a pretty good idea of how things work and how to recover from situations like this.
You need to run the commands as root or sudo. Otherwise you get this errors.
And please use the pre-formated text option </>
We do have the Gnome Test Week which needs F45. This could be a reason why the OP updated.
This is what came back:
After this operation, 0 B extra will be used (install 0 B, remove 0 B).
Is this ok [y/N]: y
Running transaction
[1/2] Prepare transaction 100% | 2.0 B/s | 1.0 B | 00m00s
[2/2] Removing kernel-0:7.1.8-200.fc44.x86_64 100% | 144.0 B/s | 100.0 B | 00m01s
Complete!
How much space do you have in /boot now?
I’m sorry what is the command for that I’m not very good at the command line sorry?
please try this:
sudo tree /boot |sudo du -h
You might have to install tree first.
And this lsblk -f shows the partition size and how much you exactly use.
It’s too much to paste sorry it says something about being not enough space?