Some background:
I got my ~/.config/
deleted by a mishap at some point, and after that my plymouth theme has been looking real weird.
I decided today to try to fix it with sudo plymouth-set-default-theme --reset --rebuild-initrd
However, this ends up with following error:
cp: error writing '/boot/efi/0c67dd39127b4971bcfe4e144ab3b617/6.15.9-201.fc42.x86_64/initrd.tmp': No space left on device
dracut[F]: Creation of /boot/efi/0c67dd39127b4971bcfe4e144ab3b617/6.15.9-201.fc42.x86_64/initrd.tmp failed
Now I was told to try to just run dracut -f
, but that ended up with similar message.
Then, I was told to try to rename the /boot/efi/0c67dd39127b4971bcfe4e144ab3b617
to /boot/efi/0c67dd39127b4971bcfe4e144ab3b617.tmp
and run dracut -f
again, which ends with this:
dracut[F]: Can't write to /boot/efi/0c67dd39127b4971bcfe4e144ab3b617/6.15.9-201.fc42.x86_64: Directory /boot/efi/0c67dd39127b4971bcfe4e144ab3b617/6.15.9-201.fc42.x86_64 does not exist or is not accessible
I was also told to check /etc/kernel/install.conf
but I have no such file.
I tried to delete one of the older kernels to make more space, sudo dnf remove kernel-6.15.7-200.fc42.x86_64
. It did delete the kernel but the files in /boot/efi
still linger.
Here’s a whole /boot
device tree in case it can be helpful.
❯ sudo tree /boot
[sudo] password for akseli:
/boot
├── efi
│ ├── 0c67dd39127b4971bcfe4e144ab3b617
│ │ ├── 0-rescue
│ │ │ ├── initrd
│ │ │ └── linux
│ │ ├── 6.15.7-200.fc42.x86_64
│ │ │ ├── initrd
│ │ │ └── linux
│ │ ├── 6.15.8-200.fc42.x86_64
│ │ │ ├── initrd
│ │ │ └── linux
│ │ └── 6.15.9-201.fc42.x86_64
│ │ ├── initrd
│ │ └── linux
│ ├── amd-ucode.img
│ ├── EFI
│ │ ├── BOOT
│ │ │ ├── BOOTIA32.EFI
│ │ │ ├── BOOTX64.EFI
│ │ │ ├── fbia32.efi
│ │ │ └── fbx64.efi
│ │ ├── fedora
│ │ │ ├── BOOTIA32.CSV
│ │ │ ├── BOOTX64.CSV
│ │ │ ├── gcdia32.efi
│ │ │ ├── gcdx64.efi
│ │ │ ├── grub.cfg
│ │ │ ├── grubia32.efi
│ │ │ ├── grubx64.efi
│ │ │ ├── mmia32.efi
│ │ │ ├── mmx64.efi
│ │ │ ├── shim.efi
│ │ │ ├── shimia32.efi
│ │ │ └── shimx64.efi
│ │ ├── Linux
│ │ └── systemd
│ │ └── systemd-bootx64.efi
│ ├── initramfs-linux-fallback.img
│ ├── initramfs-linux.img
│ ├── loader
│ │ ├── entries
│ │ │ ├── 0c67dd39127b4971bcfe4e144ab3b617-0-rescue.conf
│ │ │ ├── 0c67dd39127b4971bcfe4e144ab3b617-6.15.7-200.fc42.x86_64.conf
│ │ │ ├── 0c67dd39127b4971bcfe4e144ab3b617-6.15.8-200.fc42.x86_64.conf
│ │ │ └── 0c67dd39127b4971bcfe4e144ab3b617-6.15.9-201.fc42.x86_64.conf
│ │ ├── entries.srel
│ │ ├── loader.conf
│ │ └── random-seed
│ ├── mach_kernel
│ ├── System
│ │ └── Library
│ │ └── CoreServices
│ │ └── SystemVersion.plist
│ └── vmlinuz-linux
├── grub2
│ ├── fonts
│ │ └── unicode.pf2
│ ├── grub.cfg
│ └── grubenv
├── initramfs-0-rescue-0c67dd39127b4971bcfe4e144ab3b617.img
├── loader
│ └── entries
│ └── 0c67dd39127b4971bcfe4e144ab3b617-0-rescue.conf
├── lost+found
├── symvers-6.15.7-200.fc42.x86_64.xz
├── symvers-6.15.8-200.fc42.x86_64.xz
├── symvers-6.15.9-201.fc42.x86_64.xz
└── vmlinuz-0-rescue-0c67dd39127b4971bcfe4e144ab3b617
Note that I have not changed any defaults. Things should be just as they are from the Fedora install I did around 2023.
Any help to get either enough room in there to get dracut -f
working or fixing the config that places initramfs images in ESP rather than in /boot
would be appreciated.
PS. I have no idea what I’m doing. Any guides should be pretty much step-by-step if possible
Could this be related? New kernels not being installed in /boot anymore - #11 by vekruse