At first I would like to thank you all for the tremendous work you have been doing and moving forward the Linux community. It is very exciting!
So, my question is related to Dracut. For the sake of understanding how it works, I tried manual installing of Arch Linux specifying Dracut as an initramfs and systemd-boot as a bootloader. When it comes to run “# dracut --hostonly --no-hostonly-cmdline /boot/initramfs-linux.img” to generate an initramfs - nothing would happen even though i am appending --kver to the command line.
Therefore, I cannot boot the system because of no initramfs has been generated. I suppose the solution should be very easy, but I has failed to fing it out.
I’m always following archwiki when installing Arch and so did I in that case, but I’ve never chosen dracut as an initramfs generator. Mkinitcpio would generate inintramfs automatically (including fallback) and everything go on as intended. Dracut needs running manual command to generate it, so I tried doing it in accordance with archwiki, but it wouldn’t work. When chrooted I ran “dracut --hostonly --no-hostonly-cmdline /boot/initramfs-linux.img” as written above. The latest available ISO was used.
In that case you should have an initramfs as Arch is using mkinitcpio by default and I don’t think you can opt it out during the installation process.
From the Arch installation guide:
3.6 Initramfs
Creating a new initramfs is usually not required, because mkinitcpio was run on installation of the kernel package with pacstrap.
You probably didn’t get me right. I meant a fresh install with dracut, when “dracut” was appended to pacstrap command. In that case mkinitcpio never gets installed, so there are no initramfs generated due to dracut being installed.