Dear Maintainer,
I'm writing this report before I try upgrading to the backported grub. I wanted
to write all this down in case I wasn't able to boot afterwards again.
What led up to the situation? I've setup two operating system disks. Windows 10
is on the primary boot disk with its own bootloader(HD0 below).
Debian12+Grub2.06 is on another disk which I select from the BIOS(HD1 below).
Once a baremetal OS is booted, I boot the other disk under VirtualBox.
What exactly did you do (or not do) that was effective (or ineffective)? I
attempted to boot my Grub2.06+Debian/12 disk inside of VirtualBox on Windows
10. However, I looked away and grub timed out and chose Windows10(whose disk is
not visible in the VM)
What was the outcome of this action? Grub reported:
error: no such device: ${Win10_DISK_ID}
setting partition type to 0x83
error:disk `hd0,msdos1’ not found
error:disk `hd0,msdos1’ not found
After this, I was unable to boot Grub+Debian within VirtualBox or on bare-
metal. I have attached the MBRs of both disks, before and after this point.
What outcome did you expect instead? I expected that grub, upon failing to
locate the target boot drive, would not attempt to update the partition table.
To repair, I booted the machine with Debian-Live, rebuilt the partition table
with testdisk, then reinstalled grub and was able to boot both in VirtualBox
and natively.