On 05/25/2018 05:28 PM, Ed Greshko wrote:
On 05/26/18 07:55, ToddAndMargo wrote:
Hi All,
FC 28
I used the default /boot size in Fedora 25, when I first
installed this:
# dnf upgrade
Error: Transaction check error:
installing package kernel-core-4.16.11-300.fc28.x86_64 needs 34MB on the /boot
filesystem
Error Summary
-------------
Disk Requirements:
At least 34MB more space needed on the /boot filesystem.
Does this mean I have to do the gparted thing and rick messing
everything up? Or is there a work around for this?
# df -kTP /boot
Filesystem Type 1024-blocks Used Available Capacity Mounted on
/dev/md126p1 ext4 487652 186803 271153 41% /boot
You should realize that the error message you are getting makes little sense.
Chances are your system has 3 kernels installed and potentially a "rescue" kernel.
With that your /boot has 187MB used with 271MB available. 41% of the disk space has
been consumed.
It doesn't make any sense that the next kernel will need 271MB + 34MB to install.
As a comparison. I have 3 kernels installed (including 4.16.11-300) + a "rescue"
kernel and
[root@meimei boot]# df /boot
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 1408512 214880 1104032 17% /boot
Or just 214MB used in total.
The first message shows "needs 34MB on the /boot filesystem" which seems about
right. On my system...
initramfs-4.16.10-300 = 22MB
vmlinuz-4.16.10-300 = 8.3MB
System.map-4.16.10-300 = 3.9MB
The fact that the next message says " At least 34MB more space needed..." seems to
be saying that dnf think the /boot filesystem is full.
Hi Ed,
Does this help?
# du -k /boot
7078 /boot/grub2/themes/system
7080 /boot/grub2/themes
1316 /boot/grub2/fonts
4135 /boot/grub2/locale
2253 /boot/grub2/i386-pc
14796 /boot/grub2
13 /boot/lost+found
2 /boot/loader/entries
4 /boot/loader
4 /boot/efi/System/Library/CoreServices
6 /boot/efi/System/Library
8 /boot/efi/System
2 /boot/efi/EFI/fedora/loader/entries
4 /boot/efi/EFI/fedora/loader
2 /boot/efi/EFI/fedora/fonts
7335 /boot/efi/EFI/fedora
1436 /boot/efi/EFI/BOOT
8773 /boot/efi/EFI
8785 /boot/efi
1067 /boot/extlinux
184927 /boot
This has a lot of fc27 junk left over:
# rpm -qa kernel\* | grep fc27
kernel-core-4.16.7-200.fc27.x86_64
kernel-modules-extra-4.16.7-200.fc27.x86_64
kernel-modules-4.16.7-200.fc27.x86_64
And that got rid of 87 Meg.
And I still need 34 more MB
# df -kPT /boot
Filesystem Type 1024-blocks Used Available Capacity Mounted on
/dev/md126p1 ext4 487652 186803 271153 41% /boot
now I have
# rpm -qa kernel\*
kernel-modules-extra-4.16.8-300.fc28.x86_64
kernel-modules-4.16.9-300.fc28.x86_64
kernel-core-4.16.8-300.fc28.x86_64
kernel-core-4.16.9-300.fc28.x86_64
kernel-4.16.9-300.fc28.x86_64
kernel-4.16.8-300.fc28.x86_64
kernel-modules-extra-4.16.9-300.fc28.x86_64
kernel-modules-4.16.8-300.fc28.x86_64
kernel-headers-4.16.9-300.fc28.x86_64
I don't get it
-T
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx/message/UNTMP2LAAZZEQHRCWGNFNKKEU5242PB7/