Jump to content
Read the Funtoo Newsletter: Summer 2023 ×

Add support to boot-update for multiple initrd images


Recommended Posts

I've been trying to get early boot Intel microcode updating working on my Funtoo install. I have verified with microcode-ctl that I can update my CPU's microcode manually from the command line. However, after following the instructions at https://wiki.gentoo.org/wiki/Intel_microcodeI have been unable to get it working at boot.


Here's an entry from my /etc/boot.conf



"Funtoo - Gentoo 4.8.6 + CK/MuQSS 0.135 + UKSM" { 
       kernel vmlinuz-4.8.6-gentoo-ck6
       initrd /lib/firmware/microcode.cpio initramfs-genkernel-x86-4.8.6-gentoo-ck6
       params += real_root=auto rootfstype=auto
       params += mtrr_reg_cleanup=6


and the corresponding section of /boot/grub/grub.cfg


menuentry "Funtoo - Gentoo 4.8.6 + CK/MuQSS 0.135 + UKSM - vmlinuz-4.8.6-gentoo-ck6" { 
 insmod part_msdos
 insmod btrfs
 set root=(hostdisk//dev/sda,msdos1)
 search --no-floppy --fs-uuid --set e050f0b2-8494-4e53-a19f-6c57f036cc41
 linux /boot/vmlinuz-4.8.6-gentoo-ck6 rootfstype=auto mtrr_reg_cleanup=6 real_root=/dev/sda1 rootfstype=btrfs
 initrd /boot/initramfs-genkernel-x86-4.8.6-gentoo-ck6
 set gfxpayload=keep


Notice that the "/lib/firmware/microcode.cpio" was removed from the initrd line when grub.cfg was processed by the boot-update utility.


boot-update needs to have support for this added, or some other method for providing the microcode to the kernel at boot should be proposed.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...