I got another case so here's some logs : # apt-get purge linux-aws microcode-initrd Reading package lists... Done Building dependency tree Reading state information... Done Package 'linux-aws' is not installed, so not removed The following packages will be REMOVED: microcode-initrd* 0 upgraded, 0 newly installed, 1 to remove and 11 not upgraded. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] Y (Reading database ... 151421 files and directories currently installed.) Purging configuration files for microcode-initrd (2~20.04.0) ... Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/init-select.cfg' Generating grub configuration file ... Found linux image: /boot/vmlinuz-5.4.0-171-generic Found initrd image: /boot/initrd.img-5.4.0-171-generic Found linux image: /boot/vmlinuz-5.4.0-170-generic Found initrd image: /boot/initrd.img-5.4.0-170-generic Found memtest86+ image: /memtest86+.elf Found memtest86+ image: /memtest86+.bin [INFO] Checking initrd image... [INFO] Checking '/initrd.img-5.4.0-171-generic'... [INFO] Checking '/initrd.img-5.4.0-171-generic'... [INFO] Checking '/initrd.img-5.4.0-170-generic'... [INFO] Checking '/microcode.cpio'... [WARN] File '/boot/microcode.cpio' does not exists. [ERROR] No initrd found for '/boot/microcode.cpio'
# update-grub2 Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/init-select.cfg' Generating grub configuration file ... Found linux image: /boot/vmlinuz-5.4.0-171-generic Found initrd image: /boot/initrd.img-5.4.0-171-generic Found linux image: /boot/vmlinuz-5.4.0-170-generic Found initrd image: /boot/initrd.img-5.4.0-170-generic Found memtest86+ image: /memtest86+.elf Found memtest86+ image: /memtest86+.bin [INFO] Checking initrd image... [INFO] Checking '/initrd.img-5.4.0-171-generic'... [INFO] Checking '/initrd.img-5.4.0-171-generic'... [INFO] Checking '/initrd.img-5.4.0-170-generic'... [INFO] Checking '/microcode.cpio'... [WARN] File '/boot/microcode.cpio' does not exists. [ERROR] No initrd found for '/boot/microcode.cpio' -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2052382 Title: [os-prober] microcode still in grub.cfg after first update-grub To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/os-prober/+bug/2052382/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs