KVM /=scsi-1 booting problem

msg7086

Member
May 1, 2018
19
5
8
37
So I'm not sure if it's a known issue, or PVE problem, or KVM problem, but I'm trying to describe the problem here.

I had a fresh manual installation of Debian (10 beta) inside a KVM.

Partition layout:
sda: GPT
sda1: bios boot
sdb: xfs at /

grub-install /dev/sda reports no error.

After booting from hard drive, grub rescued itself saying No such device.

grub rescue> ls

shows only (hd0) and format not recognized.

At the moment the disks are configured as such
sda at IDE-0
sdb at SCSI-1 (VirtIO Controller)

After I move sdb to SCSI-0, grub magically recognizes (hd1) as XFS, and loads the boot manager just fine.

Tested the scenario sda at SCSI-0 sdb at SCSI-1, also failed to boot.

Is it supposed to work like this? Or is it a bug by someone? Am I missing anything here?