Talk:Dracut

From ArchWiki
Jump to navigation Jump to search

Draft

I have written a draft proposal here: https://wiki.archlinux.org/index.php/User:Krathalan

Krathalan (talk) 00:16, 7 October 2019 (UTC)

[Moved from User talk:Krathalan#dracut draft. -- nl6720 (talk) 06:02, 9 October 2019 (UTC)]

This is great: thanks! Apart from changing the comment about it being unsupported, I would consider this good to go. Jasonwryan (talk) 23:32, 6 October 2019 (UTC)
The page looks good, I'm working on the dracut and mkinitcpio hooks, you can also suggest users to remove mkinitcpio after installing and testing dracut, since the kernel now depends on initramfs. Grazzolini (talk) 01:41, 9 October 2019 (UTC)
Followed the guide, and have been using Dracut successfully for the whole month of Oct. 2019. From a regular user standpoint, I think it's good to go! Merlock (talk) 22:26, 31 October 2019 (UTC)
I am using dracut on my machines too since a while but I would really like to also see a hook generating the initramfs automatically as its done at the moment with mkinitcpio and the respective hook in the kernel package (before I would categorized this as "done"). Not sure this is what Grazzolini mentions he is working on? Privacy (talk) 13:20, 7 November 2019 (UTC)
You are not alone. I have created pacman hook which contains sed script executed each time the 'linux' package is updated, but I also want official solution. In recent thread in mailing list developers have announced that dracut will soon receive relevant hooks, but 'soon' may require long time ... Mxfm (talk) 16:52, 7 November 2019 (UTC)

Early microcode loading for Intel CPUs

Currently, it seems that dracut does not recognize the Arch way of shipping Intel microcode. It expects microcode in their original format, rather than processed by iucode-tools. See the filelist: https://fedora.pkgs.org/31/fedora-x86_64/microcode_ctl-2.1-32.fc31.x86_64.rpm.html Hexchain (talk) 15:51, 21 December 2019 (UTC)

What do you mean by 'expects microcode in original format' and 'processed by icode-tools'? I use dracut for several months and have no issue with intel-ucode. Providing 'intel-ucode.img' to 'initrd' command (in grub) seems to be sufficient ('kernel: microcode: microcode updated early to revision 0x2f, date = 2019-02-17'). Mxfm (talk) 05:14, 23 December 2019 (UTC)
dracut has an early-microcode option to package microcode directly into initrd, without the need to load another initrd. This can be useful with --uefi, which packages kernel + initramfs + cmdline into one single UEFI application for EFISTUB (especially on some broken firmware that does not recognize UEFI cmdline parameters, like the Dell XPS 9360 ones), or secure boot. dracut looks for microcode under /lib/firmware/intel-ucode and expects them to be in their original form (See [1]). The current intel-ucode package already packaged all microcode files into one single initrd with iucode-tools, which is not supported by this specific dracut feature. Hexchain (talk) 10:00, 23 December 2019 (UTC)
I see. Perhaps file a bug report? Mxfm (talk) 15:55, 25 December 2019 (UTC)