On Monday, 24 June 2024 20:47:15 BST Dale wrote: > Have you seen this before? No, because I've never used dracut. > (chroot) livecd /usr/src/linux # dracut --kver=$(cat > include/config/kernel.release) > dracut[I]: Executing: /usr/bin/dracut --kver=6.9.4-gentoo > dracut[F]: Can't write to > /efi/dba652170b7a716f303c3c5966799436/6.9.4-gentoo: Directory > /efi/dba652170b7a716f303c3c5966799436/6.9.4-gentoo does not exist or is > not accessible. > (chroot) livecd /usr/src/linux # > > > The directory inside /efi does not exist. The long string is either a PARTUUID, or a fs UUID. Run blikid to find out what it is. > This is from the boot media, > not the chroot environment. > > > livecd ~ # mount | grep efi > /dev/nvme0n1p1 on /mnt/gentoo/efi type vfat > (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mi > xed,errors=remount-ro) livecd ~ # That's find as is. > I removed the efi parts for the live media that is booted. The efi > partition is mounted rw and is vfat. Right? Right. > I used touch to create a > test file and it created the file in /efi from within the chroot > environment just fine. It seems dracut has a issue tho. I went back > through the docs and don't see anything I missed but I don't see what it > is that creates what dracut is looking for either. This is the correct > file structure?? > > > (chroot) livecd / # ls -al / > total 447012 > drwxr-xr-x 17 root root 4096 Jun 23 12:06 . > drwxr-xr-x 17 root root 4096 Jun 23 12:06 .. > lrwxrwxrwx 1 root root 7 Jun 23 12:06 bin -> usr/bin > drwxr-xr-x 4 root root 4096 Jun 24 14:29 boot > drwxr-xr-x 19 root root 4760 Jun 24 11:58 dev > drwxr-xr-x 3 root root 4096 Dec 31 1969 efi > drwxr-xr-x 49 root root 4096 Jun 24 14:32 etc > drwxr-xr-x 2 root root 4096 Jun 23 12:06 home > lrwxrwxrwx 1 root root 7 Jun 23 12:06 lib -> usr/lib > lrwxrwxrwx 1 root root 9 Jun 23 12:06 lib64 -> usr/lib64 > drwxr-xr-x 2 root root 4096 Jun 23 12:06 media > drwxr-xr-x 2 root root 4096 Jun 23 12:06 mnt > drwxr-xr-x 5 root root 4096 Jun 24 05:19 opt > dr-xr-xr-x 461 root root 0 Jun 24 04:39 proc > drwx------ 2 root root 4096 Jun 23 12:06 root > drwxr-xr-x 3 root root 60 Jun 24 04:40 run > lrwxrwxrwx 1 root root 7 Jun 23 12:06 sbin -> usr/bin > -rw-r--r-- 1 root root 457688576 Jun 23 12:44 > stage3-amd64-desktop-openrc-20240623T164908Z.tar.xz > dr-xr-xr-x 13 root root 0 Jun 24 04:44 sys > drwxrwxrwt 3 root root 60 Jun 24 14:32 tmp > drwxr-xr-x 11 root root 4096 Jun 23 12:09 usr > drwxr-xr-x 10 root root 4096 Jun 24 10:19 var That's all fine as is. > Thoughts? I miss something?? > > Dale > > :-) :-) Do you have a directory called EFI in your /efi partition? Have you mounted your /mnt/gentoo/boot partition when you called dracut?