Comment 9 for bug 1987567

Revision history for this message
Mauricio Faria de Oliveira (mfo) wrote :

Verification done on jammy.
---

$ sudo apt update && sudo apt install -y xen-system-amd64 microcode-initrd

$ sudo add-apt-repository -yp proposed
$ sudo apt install -y grub-common

$ apt policy grub2-common
grub2-common:
  Installed: 2.06-2ubuntu7.2
  Candidate: 2.06-2ubuntu7.2
  Version table:
 *** 2.06-2ubuntu7.2 500
        500 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
...

$ grep module2 /boot/grub/grub.cfg | grep -v vmlinuz
 module2 --nounzip /boot/initrd.img-5.15.0-57-generic
 module2 --nounzip /boot/microcode.cpio
   module2 --nounzip /boot/initrd.img-5.15.0-57-generic
   module2 --nounzip /boot/microcode.cpio
   module2 --nounzip /boot/initrd.img-5.15.0-57-generic
   module2 --nounzip /boot/microcode.cpio
   module2 --nounzip /boot/initrd.img-5.15.0-57-generic
   module2 --nounzip /boot/microcode.cpio
   module2 --nounzip /boot/initrd.img-5.15.0-57-generic
   module2 --nounzip /boot/microcode.cpio

$ sudo reboot

# it works!

$ dmesg | grep 'Hypervisor detected'
[ 0.000000] Hypervisor detected: Xen PV

$ sudo dmesg | grep initrd
[ 2.250454] Freeing initrd memory: 36148K

$ du -k /boot/initrd.img-* /boot/microcode.cpio
36148 /boot/initrd.img-5.15.0-57-generic
4936 /boot/microcode.cpio