I have several virtual machines I used with VirtualBox (now I’m running v7.0 under Ubuntu 24.10). Some of them that I ran few months ago do not run anymore.
Actually, I cannot add them to VirtualBox, it refuses to open them with the following error:
NS_ERROR_INVALID_ARG (0X80070057)
Doing a search, it seems this is a quite generic error code and does not tell much about the root cause.
I’m sure the files are not corrupted: different SSDs and I also have backups, but the behavior is the same.
Furthermore, I checked the logs for both the virtual machines and the host (in ~/.config/VirtualBox) but they are not updated when this error happens.
I’m stuck now, I have to run those machine and I cannot even add them to change settings.
Since there are no available logs and the error is generic, what can I do to debug this issue?
If that matters, all the virtual machines that exhibit this behavior have Windows 10 as guest O.S.
Following the hint in the comments I created a new VBox adding the same vid. Now it refuses to run saying the O.S. is missing.
Here I uploaded the log file.
Here the section where it fails:
00:00:00.629510 Changing the VM state from 'POWERING_ON' to 'RUNNING'
00:00:00.629514 Console: Machine state changed to 'Running'
00:00:00.630193 VMMDev: Guest Log: BIOS: VirtualBox 7.0.22
00:00:00.630232 PCI: Setting up resources and interrupts
00:00:00.630850 PIT: mode=2 count=0x10000 (65536) - 18.20 Hz (ch=0)
00:00:00.631342 GUI: UIMachineViewNormal::resendSizeHint: Restoring guest size-hint for screen 0 to 800x600
00:00:00.631444 GUI: HID LEDs sync is not supported on this platform
00:00:00.634813 GUI: UIMachineLogicNormal::sltCheckForRequestedVisualStateType: Requested-state=1, Machine-state=6
00:00:00.648272 VMMDev: Guest Log: CPUID EDX: 0x178bfbff
00:00:00.648480 VMMDev: Guest Log: BIOS: No PCI IDE controller, not probing IDE
00:00:00.648593 AHCI#0: Reset the HBA
00:00:00.648595 VD#0: Cancelling all active requests
00:00:00.648617 AHCI#0: Port 0 reset
00:00:00.648630 VD#0: Cancelling all active requests
00:00:00.648836 VMMDev: Guest Log: BIOS: AHCI 0-P#0: PCHS=16383/16/63 LCHS=1024/255/63 0x000000000dc00000 sectors
00:00:00.648864 AHCI#0: Port 1 reset
00:00:00.649462 PIT: mode=2 count=0x48d3 (18643) - 64.00 Hz (ch=0)
00:00:00.685814 Display::i_handleDisplayResize: uScreenId=0 pvVRAM=0000793114000000 w=640 h=480 bpp=32 cbLine=0xA00 flags=0x0 origin=0,0
00:00:00.761245 GUI: UIMediumEnumerator: Medium-enumeration finished!
00:00:03.130467 PIT: mode=2 count=0x10000 (65536) - 18.20 Hz (ch=0)
00:00:03.130566 VMMDev: Guest Log: BIOS: Boot : bseqnr=1, bootseq=0231
00:00:03.130635 VMMDev: Guest Log: BIOS: Boot from Floppy 0 failed
00:00:03.130714 VMMDev: Guest Log: BIOS: Boot : bseqnr=2, bootseq=0023
00:00:03.131020 VMMDev: Guest Log: BIOS: CDROM boot failure code : 0003
00:00:03.131082 VMMDev: Guest Log: BIOS: Boot from CD-ROM failed
00:00:03.131157 VMMDev: Guest Log: BIOS: Boot : bseqnr=3, bootseq=0002
00:00:03.131967 VMMDev: Guest Log: BIOS: Booting from Hard Disk...
00:00:03.132021 VMMDev: Guest Log: BIOS: INT18: BOOT FAILURE
00:00:03.132038 PcBios: Boot failure
00:00:03.132051 VM: Raising runtime error 'VMBootFail' (fFlags=0x0)
00:00:03.132054 Console: VM runtime error: fatal=false, errorID=VMBootFail message="The VM failed to boot. This is possibly caused by not having an operating system installed or a misconfigured boot order. Maybe picking a guest OS install DVD will resolve the situation"
It seems it does not find the HDD but the vdi file is attached to the SATA controller