You are not logged in.
Hello,
I have several issues when trying to upgrade the system via:
sudo pacman -SyuuBecause it says the following:
:: Proceed with installation? [Y/n] y
(701/701) checking keys in keyring [###########################] 100%
(701/701) checking package integrity [###########################] 100%
(701/701) loading package files [###########################] 100%
(701/701) checking for file conflicts [###########################] 100%
(703/703) checking available disk space [###########################] 100%
error: Partition /boot too full: 5311 blocks needed, 176 blocks free
error: not enough free disk space
error: failed to commit transaction (not enough free disk space)
Errors occurred, no packages were upgraded.And the output for the disks:
Model: ATA WDC WDS240G2G0B- (scsi)
Disk /dev/sda: 240GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 556MB 555MB ntfs Basic data partition hidden, diag
2 556MB 661MB 105MB fat32 EFI system partition boot, esp
3 661MB 677MB 16.8MB Microsoft reserved partition msftres
4 2337MB 239GB 237GB ntfs Basic data partition msftdata
Model: ATA HGST HTS721010A9 (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 476GB 476GB ntfs Basic data partition msftdata
2 476GB 1000GB 525GB ext4
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 223.6G 0 disk
├─sda1 8:1 0 529M 0 part
├─sda2 8:2 0 100M 0 part /boot
├─sda3 8:3 0 16M 0 part
└─sda4 8:4 0 220.7G 0 part
sdb 8:16 0 931.5G 0 disk
├─sdb1 8:17 0 443G 0 part
└─sdb2 8:18 0 488.5G 0 part /
sr0 11:0 1 1024M 0 rom I try to reasign the space for sda-sda2 but in gparted is locked. Why do I need to assign more space to the boot partition??
How can I fix that?
Offline
100MB for /boot is very little for both Windows and a linux initramfs with the fallback image. If you don't do sweeping HW changes you could disable generation of the fallback image with little repercussion by removing /boot/initramfs-linux-fallback.img it from your /boot then editing /etc/mkinitcpio.d/linux.preset and removing 'fallback' from the PRESETS line.
Another approach would be to use a bootloader that can read the kernel image from your / partition so that you do not need as much space on the ESP.
Last edited by V1del (2022-07-22 19:23:15)
Offline
True that. I just checked mine. 120MB. No Linux boot loader (I use EFISTUB); There is Microsoft Loader that does not get much love. I do have two uEFI Firmware images in there that are 20MB each that I could remove. That would put me at 80MB.
But, I would think there should be enough room in the OP's if they are frugal with space. adri172, could you post the output of find /boot and du /boot and lets see what you have
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline