View previous topic :: View next topic |
Author |
Message |
KLarsen n00b

Joined: 30 Dec 2005 Posts: 61 Location: Spain
|
Posted: Sat Apr 21, 2018 12:01 pm Post subject: [SOLVED] removing early_ucode |
|
|
Yesterday I updated my hardware from Intel i3 to the Ryzen 1700, and after some work the system has been migrated. However, I can't seem to get completely rid of the intel microcode I had running, when running grub-mkconfig it still picks it up.
I have no support for initram in the kernel, I've deleted both the sys-firmware/intel-microcode, sys-apps/iucode_tool and the early_ucode.cpio in /boot. My /etc/default/grub config has no mention of it either. The only thing I can do is manually edit the /boot/grub/grub.cfg to delete all mention of it once generated.
So where is grub-mkconfig picking it up from? Why does it insist in loading the microcode?
Last edited by KLarsen on Mon Apr 23, 2018 10:46 am; edited 1 time in total |
|
Back to top |
|
 |
P.Kosunen Guru

Joined: 21 Nov 2005 Posts: 309 Location: Finland
|
Posted: Sat Apr 21, 2018 3:46 pm Post subject: |
|
|
Check scripts under /etc/grub.d/. |
|
Back to top |
|
 |
KLarsen n00b

Joined: 30 Dec 2005 Posts: 61 Location: Spain
|
Posted: Sat Apr 21, 2018 4:16 pm Post subject: |
|
|
10_linux has this part:
Code: | initrd=
for i in "initrd.img-${version}" "initrd-${version}.img" "initrd-${version}.gz" \
"initrd-${version}" "initramfs-${version}.img" \
"initrd.img-${alt_version}" "initrd-${alt_version}.img" \
"initrd-${alt_version}" "initramfs-${alt_version}.img" \
"initramfs-genkernel-${version}" \
"initramfs-genkernel-${alt_version}" \
"initramfs-genkernel-${GENKERNEL_ARCH}-${version}" \
"initramfs-genkernel-${GENKERNEL_ARCH}-${alt_version}"; do
if test -e "${dirname}/${i}" ; then
initrd="early_ucode.cpio ${rel_dirname}/$i"
break
else
initrd="early_ucode.cpio"
fi
|
If I just delete the else clause it should work, right?
EDIT: I can confirmed that removing
Code: | else
initrd="early_ucode.cpio" | solved it, at least until grub gets reinstalled. |
|
Back to top |
|
 |
|