Public bug reported:

I am using qemu-system-x86_64 on Jammy to create a VM with two disks, both on 
the virtio bus.
When I enter the GRUB shell and use the "ls" command, only the first virtio 
disk is listed.
However, if I change the second disk to the SATA bus, GRUB can recognize the 
second disk.

Steps and result

Jammy: https://paste.ubuntu.com/p/TXjzbcXG5z/

This issue cannot be reproduced on Focal.

Focal: https://paste.ubuntu.com/p/MF2NKfsTSt/

The impact of this is that chainloading will fail.

/etc/grub.d/25_custom

menuentry "Attached-IDE-Disk" {
set root=(hd1)
insmod linux
insmod chain
chainloader +1
}

I'm not sure whether this is an issue with QEMU or GRUB. Thus, I filed a
bug on grub2 as well.
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2125826

** Affects: qemu (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2125827

Title:
  Jammy grub2 failed to detect 2nd virtio disk Edit

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/2125827/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to