You are not logged in.

#1 2021-05-16 20:42:46

zuntik
Member
Registered: 2017-08-11
Posts: 37

Boot Partition too small

Hello,

I'm trying to run `sudo mkinitcpio -p linux`. Amongst all of the lines, the following stands out:

==> Creating zstd-compressed initcpio image: /boot/initramfs-linux.img
zstd: error 25 : Write error : No space left on device (cannot write compressed block)
==> ERROR: Image generation FAILED: zstd reported an error

and right at the end

==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-fallback.img
zstd: error 25 : Write error : No space left on device (cannot write compressed block)
==> ERROR: Image generation FAILED: zstd reported an error

then I checked how full the /boot partition is with `df -h`:

$ df -h
Filesystem                           Size  Used Avail Use% Mounted on
/dev/nvme0n1p1                96M   96M  1.0K 100% /boot

but the result of `fdisk -l` is

# fdisk -l
Device                      Start        End          Sectors   Size      Type
/dev/nvme0n1p1      2048    1050623   1048576   512M    EFI System

What is going on?

Thank you.

Offline

#2 2021-05-16 20:52:27

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Boot Partition too small

You only have a 100MB filesystem in a 512MB partition.

Copy everything off the partition, reformat it to the correct size and then copy everything back again. Don't forget to update your fstab with the new UUID.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2021-05-16 21:00:34

zuntik
Member
Registered: 2017-08-11
Posts: 37

Re: Boot Partition too small

Thank you for the reply Slithery.

Could you be a little more specific on how I can do this? Do I use a tool like dd? do I copy all the files and hidden files to a directory under my home ext4 partition? And what about my windows partition which shares the same partition because of `/boot/EFI` ? Will windows still boot normally? Or will if affect the boot process and therefor I need to write down the recovery key?
And I suppose you don't have any insight on how it happened in the first place, no?

Thank you very much once again.

Offline

#4 2021-05-16 21:03:52

zuntik
Member
Registered: 2017-08-11
Posts: 37

Re: Boot Partition too small

Slighery,

Before making any change, I would like to show how the KDE Partition manager don't show 100% full:
https://gyazo.com/2ebffd8d63d07088e6f1b215b1f36a20

Offline

Board footer

Powered by FluxBB