[Bug 2125826] [NEW] Jammy grub2 failed to detect 2nd virtio disk
Chuan Li
2125826 at bugs.launchpad.net
Sat Sep 27 06:19:51 UTC 2025
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.
** Affects: grub2 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/2125826
Title:
Jammy grub2 failed to detect 2nd virtio disk
Status in grub2 package in Ubuntu:
New
Bug description:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2125826/+subscriptions
More information about the foundations-bugs
mailing list