Ticket #7325 (closed defect: invalid)
Make virtual disk look like real disk
|Reported by:||cefn||Owned by:|
|Version:||VirtualBox 3.2.8||Keywords:||bootloader disk id introspection config|
I have a bootloader program which I suspect hard-codes the ID of the hard drive its booting from.
I'm booting through virtualbox and through native boot from the same real partition, and I would like this bootloader to run without error both virtually and natively.
When it installs I think it introspects the disk for some id or another. Either the virtual machine or the real partition will refuse to boot if I ran the installer from the opposite one; it thinks its drive has gone missing.
How can I ensure that the virtual hard disk has a matching set of drive identifiers to the real physical hard disk.
Note I can't choose the identifiers, but I need to set the virtual ones to match the real ones.