Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dracut fail build unified kernel with install kernel [solved
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Cheesyjuggler64
n00b
n00b


Joined: 16 May 2024
Posts: 39

PostPosted: Fri Dec 20, 2024 2:16 pm    Post subject: Dracut fail build unified kernel with install kernel [solved Reply with quote

I'm trying to setup unified kernel image with dracut as I have an encrypted btrfs root for which I have made an appropriate initramfs and I want to boot directly via uefi (efistub) Attached are the relevant configs.

install.conf
Code:

layout="uki"
initrd_generator=dracut
uki_generator=dracut


dracut luks conf
Code:

add_dracutmodules+=" btrfs crypt "
kernel_cmdline+=" root=UUID=xxx... rd.luks.uuid=xxx... rd.luks.name=xxx...=cryptroot rootfstype=btrfs rootflags=rw,ssd,subvol=@ "



output of make install
Code:

(chroot) mint /usr/src/linux # make install
  INSTALL /boot
Reading /etc/kernel/install.conf...
/etc/kernel/install.conf configures layout=uki
/etc/kernel/install.conf configures initrd_generator=dracut
/etc/kernel/install.conf configures uki_generator=dracut

Running /usr/lib/kernel/preinst.d/35-amd-microcode.install 6.6.62-gentoo arch/x86/boot/bzImage...

initrd_generator=dracut bundles CPU microcode, nothing to do here.

Hook /usr/lib/kernel/preinst.d/35-amd-microcode.install finished successfully


Running /usr/lib/kernel/preinst.d/50-dracut.install 6.6.62-gentoo arch/x86/boot/bzImage...

 * Using dracut as the initramfs and UKI generator...
dracut[I]: Executing: /usr/bin/dracut --force --verbose --kernel-image arch/x86/boot/bzImage --uefi arch/x86/boot/uki.efi 6.6.62-gentoo
dracut[D]: Module 'dash' will not be installed, because command 'dash' could not be found!
dracut[D]: Module 'mksh' will not be installed, because command 'mksh' could not be found!
dracut[D]: Module 'systemd' will not be installed, because command '/usr/lib/systemd/systemd' could not be found!
dracut[D]: Module 'systemd-ask-password' will not be installed, because command 'systemd-ask-password' could not be found!
dracut[D]: Module 'systemd-ask-password' will not be installed, because command 'systemd-tty-ask-password-agent' could not be found!
dracut[D]: Module 'systemd-bsod' will not be installed, because command '/usr/lib/systemd/systemd-bsod' could not be found!
dracut[D]: Module 'systemd-coredump' will not be installed, because command 'coredumpctl' could not be found!
dracut[D]: Module 'systemd-coredump' will not be installed, because command '/usr/lib/systemd/systemd-coredump' could not be found!
dracut[D]: Module 'systemd-creds' will not be installed, because command 'systemd-creds' could not be found!
dracut[D]: Module 'systemd-hostnamed' will not be installed, because command 'hostnamectl' could not be found!
dracut[D]: Module 'systemd-hostnamed' will not be installed, because command '/usr/lib/systemd/systemd-hostnamed' could not be found!
dracut[D]: Module 'systemd-integritysetup' will not be installed, because command '/usr/lib/systemd/systemd-integritysetup' could not be found!
dracut[D]: Module 'systemd-integritysetup' will not be installed, because command '/usr/lib/systemd/system-generators/systemd-integritysetup-generator' could not be found!
dracut[D]: Module 'systemd-journald' will not be installed, because command 'journalctl' could not be found!
dracut[D]: Module 'systemd-journald' will not be installed, because command '/usr/lib/systemd/systemd-journald' could not be found!
dracut[D]: Module 'systemd-modules-load' will not be installed, because command '/usr/lib/systemd/systemd-modules-load' could not be found!
dracut[D]: Module 'systemd-networkd' will not be installed, because command '/usr/lib/systemd/systemd-networkd' could not be found!
dracut[D]: Module 'systemd-networkd' will not be installed, because command '/usr/lib/systemd/systemd-network-generator' could not be found!
dracut[D]: Module 'systemd-networkd' will not be installed, because command '/usr/lib/systemd/systemd-networkd-wait-online' could not be found!
dracut[D]: Module 'systemd-pcrphase' will not be installed, because command '/usr/lib/systemd/systemd-pcrphase' could not be found!
dracut[D]: Module 'systemd-pcrphase' will not be installed, because command '/usr/lib/systemd/systemd-pcrextend' could not be found!
dracut[D]: Module 'systemd-portabled' will not be installed, because command 'portablectl' could not be found!
dracut[D]: Module 'systemd-portabled' will not be installed, because command '/usr/lib/systemd/systemd-portabled' could not be found!
dracut[D]: Module 'systemd-pstore' will not be installed, because command '/usr/lib/systemd/systemd-pstore' could not be found!
dracut[D]: Module 'systemd-repart' will not be installed, because command 'systemd-repart' could not be found!
dracut[D]: Module 'systemd-resolved' will not be installed, because command 'resolvectl' could not be found!
dracut[D]: Module 'systemd-resolved' will not be installed, because command '/usr/lib/systemd/systemd-resolved' could not be found!
dracut[D]: Module 'systemd-sysctl' will not be installed, because command '/usr/lib/systemd/systemd-sysctl' could not be found!
dracut[D]: Module 'systemd-sysext' will not be installed, because command 'systemd-sysext' could not be found!
dracut[D]: Module 'systemd-sysusers' will not be installed, because command 'systemd-sysusers' could not be found!
dracut[D]: Module 'systemd-timedated' will not be installed, because command 'timedatectl' could not be found!
dracut[D]: Module 'systemd-timedated' will not be installed, because command '/usr/lib/systemd/systemd-timedated' could not be found!
dracut[D]: Module 'systemd-timesyncd' will not be installed, because command '/usr/lib/systemd/systemd-timesyncd' could not be found!
dracut[D]: Module 'systemd-timesyncd' will not be installed, because command '/usr/lib/systemd/systemd-time-wait-sync' could not be found!
dracut[D]: Module 'systemd-veritysetup' will not be installed, because command '/usr/lib/systemd/systemd-veritysetup' could not be found!
dracut[D]: Module 'systemd-veritysetup' will not be installed, because command '/usr/lib/systemd/system-generators/systemd-veritysetup-generator' could not be found!
dracut[D]: Module 'modsign' will not be installed, because command 'keyctl' could not be found!
dracut[D]: Module 'busybox' will not be installed, because command 'busybox' could not be found!
dracut[D]: Module 'dbus-broker' will not be installed, because command 'busctl' could not be found!
dracut[D]: Module 'dbus-daemon' will not be installed, because command 'busctl' could not be found!
dracut[D]: Module 'rngd' will not be installed, because command 'rngd' could not be found!
dracut[D]: Module 'connman' will not be installed, because command 'connmand' could not be found!
dracut[D]: Module 'connman' will not be installed, because command 'connmanctl' could not be found!
dracut[D]: Module 'connman' will not be installed, because command 'connmand-wait-online' could not be found!
dracut[D]: Module 'network-legacy' will not be installed, because command 'dhclient' could not be found!
dracut[D]: Module 'network-manager' will not be installed, because command 'NetworkManager' could not be found!
dracut[I]: 62bluetooth: Could not find any command of '/usr/lib/bluetooth/bluetoothd /usr/libexec/bluetooth/bluetoothd'!
dracut[D]: Module 'lvmmerge' will not be installed, because command 'lvm' could not be found!
dracut[D]: Module 'lvmthinpool-monitor' will not be installed, because command 'lvm' could not be found!
dracut[D]: Module 'dmraid' will not be installed, because command 'dmraid' could not be found!
dracut[D]: Module 'dmsquash-live-ntfs' will not be installed, because command 'ntfs-3g' could not be found!
dracut[D]: Module 'lvm' will not be installed, because command 'lvm' could not be found!
dracut[D]: Module 'mdraid' will not be installed, because command 'mdadm' could not be found!
dracut[D]: Module 'multipath' will not be installed, because command 'multipath' could not be found!
dracut[I]: Module 'overlayfs' will not be installed, because kernel module 'overlay' is not available!
dracut[I]: 90systemd-cryptsetup: Could not find any command of '/usr/lib/systemd/systemd-cryptsetup'!
dracut[D]: Module 'pcsc' will not be installed, because command 'pcscd' could not be found!
dracut[D]: Module 'tpm2-tss' will not be installed, because command 'tpm2' could not be found!
dracut[D]: Module 'cifs' will not be installed, because command 'mount.cifs' could not be found!
dracut[D]: Module 'fcoe' will not be installed, because command 'dcbtool' could not be found!
dracut[D]: Module 'fcoe' will not be installed, because command 'fipvlan' could not be found!
dracut[D]: Module 'fcoe' will not be installed, because command 'lldpad' could not be found!
dracut[D]: Module 'fcoe' will not be installed, because command 'fcoemon' could not be found!
dracut[D]: Module 'fcoe' will not be installed, because command 'fcoeadm' could not be found!
dracut[D]: Module 'fcoe-uefi' will not be installed, because command 'dcbtool' could not be found!
dracut[D]: Module 'fcoe-uefi' will not be installed, because command 'fipvlan' could not be found!
dracut[D]: Module 'fcoe-uefi' will not be installed, because command 'lldpad' could not be found!
dracut[D]: Module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found!
dracut[D]: Module 'iscsi' will not be installed, because command 'iscsiadm' could not be found!
dracut[D]: Module 'iscsi' will not be installed, because command 'iscsid' could not be found!
dracut[D]: Module 'nbd' will not be installed, because command 'nbd-client' could not be found!
dracut[I]: 95nfs: Could not find any command of 'rpcbind portmap'!
dracut[D]: Module 'nvmf' will not be installed, because command 'nvme' could not be found!
dracut[D]: Module 'nvmf' will not be installed, because command 'jq' could not be found!
dracut[D]: Module 'biosdevname' will not be installed, because command 'biosdevname' could not be found!
dracut[D]: Module 'dracut-systemd' will not be installed, because command '/usr/lib/systemd/systemd' could not be found!
dracut[D]: Module 'memstrack' will not be installed, because command 'memstrack' could not be found!
dracut[D]: Module 'squash' will not be installed, because command 'mksquashfs' could not be found!
dracut[D]: Module 'squash' will not be installed, because command 'unsquashfs' could not be found!
dracut[I]: *** Including module: i18n ***
dracut[I]: *** Including module: btrfs ***
dracut[I]: *** Including module: crypt ***
dracut[I]: *** Including module: dm ***
dracut[D]: Skipping udev rule: 64-device-mapper.rules
dracut[D]: Skipping udev rule: 60-persistent-storage-dm.rules
dracut[D]: Skipping udev rule: 55-dm.rules
dracut[I]: *** Including module: kernel-modules ***
dracut[I]: *** Including module: kernel-modules-extra ***
dracut[D]:   kernel-modules-extra: configuration source "/run/depmod.d" does not exist
dracut[D]:   kernel-modules-extra: configuration source "/etc/depmod.d" does not exist
dracut[D]:   kernel-modules-extra: configuration source "/lib/depmod.d" does not exist
dracut[I]: *** Including module: nvdimm ***
dracut[I]: *** Including module: pcmcia ***
dracut[D]: Skipping udev rule: 60-pcmcia.rules
dracut[I]: *** Including module: qemu ***
dracut[I]: *** Including module: qemu-net ***
dracut[I]: *** Including module: hwdb ***
dracut[I]: *** Including module: lunmask ***
dracut[I]: *** Including module: resume ***
dracut[I]: *** Including module: rootfs-block ***
dracut[I]: *** Including module: terminfo ***
dracut[I]: *** Including module: udev-rules ***
dracut[I]: Skipping program dmi_memory_id using in udev rule 70-memory.rules as it cannot be found
dracut[I]: *** Including module: virtiofs ***
dracut[I]: *** Including module: usrmount ***
dracut[I]: *** Including module: base ***
dracut[I]: *** Including module: fs-lib ***
dracut[I]: *** Including module: shutdown ***
dracut[I]: *** Including modules done ***
dracut[I]: *** Installing kernel module dependencies ***
dracut[I]: *** Installing kernel module dependencies done ***
dracut[I]: *** Resolving executable dependencies ***
dracut[I]: *** Resolving executable dependencies done ***
dracut[I]: *** Hardlinking files ***
dracut[D]: Mode:                     real
dracut[D]: Method:                   sha256
dracut[D]: Files:                    839
dracut[D]: Linked:                   3 files
dracut[D]: Compared:                 0 xattrs
dracut[D]: Compared:                 393 files
dracut[D]: Saved:                    6.22 KiB
dracut[D]: Duration:                 0.018704 seconds
dracut[I]: *** Hardlinking files done ***
dracut[I]: *** Generating early-microcode cpio image ***
dracut[I]: *** Constructing AuthenticAMD.bin ***
dracut[I]: *** Store current command line parameters ***
dracut[I]: *** Stripping files ***
dracut[I]: *** Stripping files done ***
dracut[I]: *** Creating image file '/usr/src/linux-6.6.62-gentoo/arch/x86/boot/uki.efi' ***
dracut[I]: Using auto-determined compression method 'zstd'
dracut[D]: Image: /var/tmp/dracut.T8QLIC/initramfs.img: 9.5M
dracut[D]: ========================================================================
dracut[D]: Early CPIO image
dracut[D]: ========================================================================
dracut[D]: drwxr-xr-x   1 root     root            0 Dec 20 14:08 .
dracut[D]: -rw-r--r--   1 root     root            2 Dec 20 14:08 early_cpio
dracut[D]: drwxr-xr-x   1 root     root            0 Dec 20 14:08 kernel
dracut[D]: drwxr-xr-x   1 root     root            0 Dec 20 14:08 kernel/x86
dracut[D]: drwxr-xr-x   1 root     root            0 Dec 20 14:08 kernel/x86/microcode
dracut[D]: -rw-r--r--   1 root     root       147350 Dec 20 14:08 kernel/x86/microcode/AuthenticAMD.bin
dracut[D]: ========================================================================
dracut[D]: Version: dracut-103
dracut[D]:
dracut[D]: Arguments:  --force --verbose --kernel-image 'arch/x86/boot/bzImage' --uefi
dracut[D]:
dracut[D]: dracut modules:
dracut[D]: i18n
dracut[D]: btrfs
dracut[D]: crypt
dracut[D]: dm
dracut[D]: kernel-modules
dracut[D]: kernel-modules-extra
dracut[D]: nvdimm
dracut[D]: pcmcia
dracut[D]: qemu
dracut[D]: qemu-net
dracut[D]: hwdb
dracut[D]: lunmask
dracut[D]: resume
dracut[D]: rootfs-block
dracut[D]: terminfo
dracut[D]: udev-rules
dracut[D]: virtiofs
dracut[D]: usrmount
dracut[D]: base
dracut[D]: fs-lib
dracut[D]: shutdown
dracut[D]: ========================================================================
dracut[D]: drwxr-xr-x   1 root     root            0 Dec 20 14:08 .
dracut[D]: crw-r--r--   1 root     root       5,   1 Dec 20 14:08 dev/console
dracut[D]: crw-r--r--   1 root     root       1,  11 Dec 20 14:08 dev/kmsg
dracut[D]: crw-r--r--   1 root     root       1,   3 Dec 20 14:08 dev/null
dracut[D]: crw-r--r--   1 root     root       1,   8 Dec 20 14:08 dev/random
dracut[D]: crw-r--r--   1 root     root       1,   9 Dec 20 14:08 dev/urandom
dracut[D]: lrwxrwxrwx   1 root     root            7 Dec 20 14:08 bin -> usr/bin
dracut[D]: drwxr-xr-x   1 root     root            0 Dec 20 14:08 dev
....
dracut[D]: drwxr-xr-x   1 root     root            0 Dec 20 14:08 usr/share/unimaps
dracut[D]: -rw-r--r--   1 root     root         4244 Mar 13  2024 usr/share/unimaps/8859-1.a0-ff.uni
dracut[D]: -rw-r--r--   1 root     root         4706 Mar 13  2024 usr/share/unimaps/8859-10.a0-ff.uni
dracut[D]: -rw-r--r--   1 root     root         4426 Mar 13  2024 usr/share/unimaps/8859-13.a0-ff.uni
dracut[D]: -rw-r--r--   1 root     root         4816 Mar 13  2024 usr/share/unimaps/8859-14.a0-ff.uni
dracut[D]: -rw-r--r--   1 root     root         4376 Mar 13  2024 usr/share/unimaps/8859-15.a0-ff.uni
dracut[D]: -rw-r--r--   1 root     root         4479 Mar 13  2024 usr/share/unimaps/8859-2.a0-ff.uni
dracut[D]: -rw-r--r--   1 root     root         4240 Mar 13  2024 usr/share/unimaps/8859-3.a0-ff.uni
dracut[D]: -rw-r--r--   1 root     root         4548 Mar 13  2024 usr/share/unimaps/8859-4.a0-ff.uni
dracut[D]: -rw-r--r--   1 root     root         4188 Mar 13  2024 usr/share/unimaps/8859-5.a0-ff.uni
dracut[D]: -rw-r--r--   1 root     root         1869 Mar 13  2024 usr/share/unimaps/8859-6.a0-ff.uni
dracut[D]: -rw-r--r--   1 root     root         3928 Mar 13  2024 usr/share/unimaps/8859-7.a0-ff.uni
dracut[D]: -rw-r--r--   1 root     root         2035 Mar 13  2024 usr/share/unimaps/8859-8.a0-ff.uni
dracut[D]: -rw-r--r--   1 root     root         4332 Mar 13  2024 usr/share/unimaps/8859-9.a0-ff.uni
dracut[D]: -rw-r--r--   1 root     root         1501 Mar 13  2024 usr/share/unimaps/ECMA144.uni
dracut[D]: -rw-r--r--   1 root     root         1378 Mar 13  2024 usr/share/unimaps/armscii8.uni
dracut[D]: -rw-r--r--   1 root     root         1707 Mar 13  2024 usr/share/unimaps/ascii.20-7f.uni
dracut[D]: -rw-r--r--   1 root     root         5485 Mar 13  2024 usr/share/unimaps/cp1250.uni
dracut[D]: -rw-r--r--   1 root     root          453 Mar 13  2024 usr/share/unimaps/cp437.00-1f.uni
dracut[D]: -rw-r--r--   1 root     root         4482 Mar 13  2024 usr/share/unimaps/cp437.uni
dracut[D]: -rw-r--r--   1 root     root         5674 Mar 13  2024 usr/share/unimaps/cp737.uni
dracut[D]: -rw-r--r--   1 root     root         6206 Mar 13  2024 usr/share/unimaps/cp737a.uni
dracut[D]: -rw-r--r--   1 root     root         6222 Mar 13  2024 usr/share/unimaps/cp737b.uni
dracut[D]: -rw-r--r--   1 root     root         6273 Mar 13  2024 usr/share/unimaps/cp737c.uni
dracut[D]: -rw-r--r--   1 root     root         5456 Mar 13  2024 usr/share/unimaps/cp850.uni
dracut[D]: -rw-r--r--   1 root     root         5992 Mar 13  2024 usr/share/unimaps/cp850a.uni
dracut[D]: -rw-r--r--   1 root     root         4018 Mar 13  2024 usr/share/unimaps/cp850b.uni
dracut[D]: -rw-r--r--   1 root     root         3887 Mar 13  2024 usr/share/unimaps/cp850z.uni
dracut[D]: -rw-r--r--   1 root     root         5627 Mar 13  2024 usr/share/unimaps/cp865.uni
dracut[D]: -rw-r--r--   1 root     root         6162 Mar 13  2024 usr/share/unimaps/cp865a.uni
dracut[D]: -rw-r--r--   1 root     root         5553 Mar 13  2024 usr/share/unimaps/cp866.uni
dracut[D]: -rw-r--r--   1 root     root         6181 Mar 13  2024 usr/share/unimaps/cp866a.uni
dracut[D]: -rw-r--r--   1 root     root         2558 Mar 13  2024 usr/share/unimaps/cybercafe.uni
dracut[D]: -rw-r--r--   1 root     root         4159 Mar 13  2024 usr/share/unimaps/cyralt.uni
dracut[D]: -rw-r--r--   1 root     root         2213 Mar 13  2024 usr/share/unimaps/def.uni
dracut[D]: -rw-r--r--   1 root     root           22 Mar 13  2024 usr/share/unimaps/empty.uni
dracut[D]: -rw-r--r--   1 root     root         5988 Mar 13  2024 usr/share/unimaps/ethiopic.uni
dracut[D]: -rw-r--r--   1 root     root          681 Mar 13  2024 usr/share/unimaps/iso01.uni
dracut[D]: -rw-r--r--   1 root     root         1822 Mar 13  2024 usr/share/unimaps/iso02.uni
dracut[D]: -rw-r--r--   1 root     root         1836 Mar 13  2024 usr/share/unimaps/iso03.uni
dracut[D]: -rw-r--r--   1 root     root         1822 Mar 13  2024 usr/share/unimaps/iso04.uni
dracut[D]: -rw-r--r--   1 root     root         1822 Mar 13  2024 usr/share/unimaps/iso05.uni
dracut[D]: -rw-r--r--   1 root     root         1282 Mar 13  2024 usr/share/unimaps/iso06.uni
dracut[D]: -rw-r--r--   1 root     root         1751 Mar 13  2024 usr/share/unimaps/iso07.uni
dracut[D]: -rw-r--r--   1 root     root         2514 Mar 13  2024 usr/share/unimaps/iso07u.uni
dracut[D]: -rw-r--r--   1 root     root         1126 Mar 13  2024 usr/share/unimaps/iso08.uni
dracut[D]: -rw-r--r--   1 root     root          812 Mar 13  2024 usr/share/unimaps/iso09.uni
dracut[D]: -rw-r--r--   1 root     root         1496 Mar 13  2024 usr/share/unimaps/iso10.uni
dracut[D]: -rw-r--r--   1 root     root          883 Mar 13  2024 usr/share/unimaps/iso15.uni
dracut[D]: -rw-r--r--   1 root     root         4005 Mar 13  2024 usr/share/unimaps/koi8r.uni
dracut[D]: -rw-r--r--   1 root     root         5231 Mar 13  2024 usr/share/unimaps/koi8u.uni
dracut[D]: -rw-r--r--   1 root     root         1030 Mar 13  2024 usr/share/unimaps/lat1.uni
dracut[D]: -rw-r--r--   1 root     root         2177 Mar 13  2024 usr/share/unimaps/lat1u.uni
dracut[D]: -rw-r--r--   1 root     root         5302 Mar 13  2024 usr/share/unimaps/lat2.uni
dracut[D]: -rw-r--r--   1 root     root         3639 Mar 13  2024 usr/share/unimaps/lat2u.uni
dracut[D]: -rw-r--r--   1 root     root         3251 Mar 13  2024 usr/share/unimaps/lat4.uni
dracut[D]: -rw-r--r--   1 root     root         5046 Mar 13  2024 usr/share/unimaps/lat4u.uni
dracut[D]: -rw-r--r--   1 root     root         7282 Mar 13  2024 usr/share/unimaps/lat7.uni
dracut[D]: -rw-r--r--   1 root     root         3579 Mar 13  2024 usr/share/unimaps/lat9u.uni
dracut[D]: -rw-r--r--   1 root     root         3771 Mar 13  2024 usr/share/unimaps/lat9v.uni
dracut[D]: -rw-r--r--   1 root     root         3635 Mar 13  2024 usr/share/unimaps/lat9w.uni
dracut[D]: -rw-r--r--   1 root     root         4037 Mar 13  2024 usr/share/unimaps/ruscii.uni
dracut[D]: -rw-r--r--   1 root     root         1009 Mar 13  2024 usr/share/unimaps/tcvn.uni
dracut[D]: -rw-r--r--   1 root     root         1811 Mar 13  2024 usr/share/unimaps/viscii.uni
dracut[D]: drwxr-xr-x   1 root     root            0 Dec 20 14:08 var
dracut[D]: drwxr-xr-x   1 root     root            0 Dec 20 14:08 var/lib
dracut[D]: drwxr-xr-x   1 root     root            0 Dec 20 14:08 var/lib/dracut
dracut[D]: drwxr-xr-x   1 root     root            0 Dec 20 14:08 var/lib/dracut/hooks
dracut[D]: drwxr-xr-x   1 root     root            0 Dec 20 14:08 var/lib/dracut/hooks/cleanup
dracut[D]: -rwxr-xr-x   1 root     root          448 Jul 14 01:26 var/lib/dracut/hooks/cleanup/30-crypt-cleanup.sh
dracut[D]: drwxr-xr-x   1 root     root            0 Dec 20 14:08 var/lib/dracut/hooks/cmdline
dracut[D]: -rwxr-xr-x   1 root     root          725 Jul 14 01:26 var/lib/dracut/hooks/cmdline/01-parse-kernel.sh
dracut[D]: -rwxr-xr-x   1 root     root         1377 Jul 14 01:26 var/lib/dracut/hooks/cmdline/10-parse-keydev.sh
dracut[D]: -rwxr-xr-x   1 root     root         3412 Jul 14 01:26 var/lib/dracut/hooks/cmdline/10-parse-resume.sh
dracut[D]: -rwxr-xr-x   1 root     root          273 Jul 14 01:26 var/lib/dracut/hooks/cmdline/10-parse-root-opts.sh
dracut[D]: -rwxr-xr-x   1 root     root         1088 Jul 14 01:26 var/lib/dracut/hooks/cmdline/20-parse-i18n.sh
dracut[D]: -rwxr-xr-x   1 root     root         8125 Jul 14 01:26 var/lib/dracut/hooks/cmdline/30-parse-crypt.sh
dracut[D]: -rwxr-xr-x   1 root     root         1290 Jul 14 01:26 var/lib/dracut/hooks/cmdline/30-parse-lunmask.sh
dracut[D]: -rwxr-xr-x   1 root     root          342 Jul 14 01:26 var/lib/dracut/hooks/cmdline/95-parse-block.sh
dracut[D]: -rwxr-xr-x   1 root     root          208 Jul 14 01:26 var/lib/dracut/hooks/cmdline/95-parse-virtiofs.sh
dracut[D]: drwxr-xr-x   1 root     root            0 Dec 20 14:08 var/lib/dracut/hooks/emergency
dracut[D]: drwxr-xr-x   1 root     root            0 Dec 20 14:08 var/lib/dracut/hooks/initqueue
dracut[D]: drwxr-xr-x   1 root     root            0 Dec 20 14:08 var/lib/dracut/hooks/initqueue/finished
dracut[D]: drwxr-xr-x   1 root     root            0 Dec 20 14:08 var/lib/dracut/hooks/initqueue/online
dracut[D]: drwxr-xr-x   1 root     root            0 Dec 20 14:08 var/lib/dracut/hooks/initqueue/settled
dracut[D]: drwxr-xr-x   1 root     root            0 Dec 20 14:08 var/lib/dracut/hooks/initqueue/timeout
dracut[D]: -rwxr-xr-x   1 root     root          144 Jul 14 01:26 var/lib/dracut/hooks/initqueue/timeout/10-btrfs_timeout.sh
dracut[D]: -rwxr-xr-x   1 root     root          459 Jul 14 01:26 var/lib/dracut/hooks/initqueue/timeout/99-rootfallback.sh
dracut[D]: drwxr-xr-x   1 root     root            0 Dec 20 14:08 var/lib/dracut/hooks/mount
dracut[D]: -rwxr-xr-x   1 root     root         4265 Jul 14 01:26 var/lib/dracut/hooks/mount/99-mount-root.sh
dracut[D]: drwxr-xr-x   1 root     root            0 Dec 20 14:08 var/lib/dracut/hooks/netroot
dracut[D]: drwxr-xr-x   1 root     root            0 Dec 20 14:08 var/lib/dracut/hooks/pre-mount
dracut[D]: -rwxr-xr-x   1 root     root          631 Jul 14 01:26 var/lib/dracut/hooks/pre-mount/99-mount-virtiofs.sh
dracut[D]: drwxr-xr-x   1 root     root            0 Dec 20 14:08 var/lib/dracut/hooks/pre-pivot
dracut[D]: -rwxr-xr-x   1 root     root         3539 Jul 14 01:26 var/lib/dracut/hooks/pre-pivot/50-mount-usr.sh
dracut[D]: drwxr-xr-x   1 root     root            0 Dec 20 14:08 var/lib/dracut/hooks/pre-shutdown
dracut[D]: drwxr-xr-x   1 root     root            0 Dec 20 14:08 var/lib/dracut/hooks/pre-trigger
dracut[D]: drwxr-xr-x   1 root     root            0 Dec 20 14:08 var/lib/dracut/hooks/pre-udev
dracut[D]: -rwxr-xr-x   1 root     root          507 Jul 14 01:26 var/lib/dracut/hooks/pre-udev/30-block-genrules.sh
dracut[D]: -rwxr-xr-x   1 root     root          103 Jul 14 01:26 var/lib/dracut/hooks/pre-udev/30-dm-pre-udev.sh
dracut[D]: drwxr-xr-x   1 root     root            0 Dec 20 14:08 var/lib/dracut/hooks/shutdown
dracut[D]: drwxr-xr-x   1 root     root            0 Dec 20 14:08 var/lib/dracut/hooks/shutdown-emergency
dracut[D]: -rwxr-xr-x   1 root     root         1870 Jul 14 01:26 var/lib/dracut/hooks/shutdown/25-dm-shutdown.sh
dracut[D]: lrwxrwxrwx   1 root     root           11 Dec 20 14:08 var/lock -> ../run/lock
dracut[D]: lrwxrwxrwx   1 root     root            6 Dec 20 14:08 var/run -> ../run
dracut[D]: drwxr-xr-x   1 root     root            0 Dec 20 14:08 var/tmp
dracut[D]: ========================================================================
dracut[D]:
dracut[D]: dracut cmdline:
dracut[D]: rd.driver.pre=btrfs
objcopy: 'arch/x86/boot/bzImage': No such file
sed: can't read /var/tmp/dracut.T8QLIC/uefi/kernel.sbat: No such file or directory
stat: cannot statx 'arch/x86/boot/bzImage': No such file or directory
/usr/bin/dracut: line 2551: offs + : syntax error: operand expected (error token is "+ ")
dracut[I]: sync operation on newly created initramfs /usr/src/linux-6.6.62-gentoo/arch/x86/boot/uki.efi failed
 * Failed to generate initramfs
make[1]: *** [arch/x86/Makefile:292: install] Error 1
make: *** [Makefile:234: __sub-make] Error 2

the image definitely exists there
Code:

(chroot) mint /usr/src/linux # ls arch/x86/boot/ | grep -o bzImage
bzImage


Last edited by Cheesyjuggler64 on Fri Dec 20, 2024 4:37 pm; edited 2 times in total
Back to top
View user's profile Send private message
Cheesyjuggler64
n00b
n00b


Joined: 16 May 2024
Posts: 39

PostPosted: Fri Dec 20, 2024 4:34 pm    Post subject: Reply with quote

After reading around I realized that is was a dracut bug that is fixed in the recent unstable version. If anyone else is having these issue just add the amd64 unstable keyword to your package.accept_keywords.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum