Question to an issue with updating EndeavourOS and kernels

Hi all

I have a question regarding if there has happened a change the way the kernel image is build. I’m running an old (admittedly very old) installation of EOS with an equally old disk layout and today I’m see an error in eos-update:

cp: error writing '/boot/initramfs-linux.img.tmp': No space left on device
dracut[F]: Creation of /boot/initramfs-linux.img.tmp failed

My disk layout looks like this:

/dev/sda1       488M    383M   69M   85% /boot
/dev/sda4      1022M    296K 1022M    1% /boot/efi

As all image creation steps are done in boot, it looks like that 512M is these days to small, isn’t it?
As I’m unable, due to no available space, to raise the space for the /boot partition, I would like to ask if there is a guide for and from EndeavourOS describing the modconfig and how to setup a proper localmodconfig?
Best Alex

Kernel images have gotten much larger over time. Boot should probably be about 2 GB these days.

Is there any particular reason why you are using a separate boot partition: /boot ?

I would have the boot directory as part of the root/system partition and not having a separate partition mounted at that location (boot directory).

You can unmount /boot, comment out its entry in /etc/fstab, reinstall your kernels. Now everthing should go into your boot directory under your / file system.

3 Likes

He may also need to either copy EFI files or reinstall them though…(dual boot,etc), but otherwise, I like your thoughts.

Not sure about that. They seem to have a sperate ESP partition (sda4) mounted at /boot/efi so those files should be intact in principle.

Yeah, I just know the law of unanticipated complications lol.

1 Like

Hi cactux

thanks for the tip. The solution is so obvious, I’m surprised I didn’t think of it myself. :wink:
Best Alex

1 Like

Me too :wink: :grinning_face_with_smiling_eyes:
Anyways, nice to hear that you solved the issue!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.