Michael wrote: > On Monday, 24 June 2024 20:47:15 BST Dale wrote: > >> Have you seen this before? > No, because I've never used dracut.
I just had a thought. I have /usr on the root partition now. Do I even need a init thingy? > > >> (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. /dev/nvme0n1p1: UUID="6488-1019" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="efi-part" PARTUUID="50add3c0-4ab3-4453-85e5-93af643a586e" I don't see anything, UUID or anything else that starts with dba6 for any partition. I don't know why dracut is looking for that. > <<< SNIP >>> >> 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? Yep. There is. Should that be there? This is what is there. (chroot) livecd / # ls -al /efi/ total 12 drwxr-xr-x 3 root root 4096 Dec 31 1969 . drwxr-xr-x 17 root root 4096 Jun 23 12:06 .. drwxr-xr-x 3 root root 4096 Jun 24 14:29 EFI -rwxr-xr-x 1 root root 0 Jun 24 14:01 test (chroot) livecd / # ls -al /efi/EFI/gentoo/grubx64.efi -rwxr-xr-x 1 root root 143360 Jun 24 14:33 /efi/EFI/gentoo/grubx64.efi (chroot) livecd / # I mounted /boot when I mounted the others. I already have a kernel and such in /boot. When I did a search, I found where someone posted they used force with dracut to get it to install a init thingy. I used it and it did build and put one in /boot. Thing is, I've never had to use force before and figure something is wrong somewhere. This is /boot. (chroot) livecd / # ls -al /boot/ total 22512 drwxr-xr-x 4 root root 4096 Jun 24 14:29 . drwxr-xr-x 17 root root 4096 Jun 23 12:06 .. -rw-r--r-- 1 root root 77312 Jun 24 11:40 amd-uc.img -rw-r--r-- 1 root root 158391 Jun 24 12:02 config-6.9.4-6 drwxr-xr-x 6 root root 4096 Jun 24 14:29 grub -rw------- 1 root root 7740012 Jun 24 14:06 initramfs-6.9.4-6.img -rw-r--r-- 1 root root 15000576 Jun 24 12:02 kernel-6.9.4-6 drwx------ 2 root root 16384 Jun 24 04:03 lost+found (chroot) livecd / # That give you any clues? Or am I starting over again. ROFL Dale :-) :-)