[SOLVED] failed to start machine. Error message: Failed to load unit 'cpum' (VERR_INVALID_FLAGS)

This is for discussing general topics about how to use VirtualBox.
Notorand.IT
Posts: 77
Joined: 14. Nov 2013, 12:47
Primary OS: Other
VBox Version: OSE other
Guest OSses: ArchLinux x86_64
Location: Regnum Utriusque Siciliae

Re: Error: failed to start machine. Error message: Failed to load unit 'cpum' (VERR_INVALID_FLAGS)

Post by Notorand.IT »

So, if on the second host I do
vboxmanage discardstate myvm
vboxheadless --startvm myvm --vrde on
I'll reboot (not restore) the VM as if I had pulled the power plug. Right?
Which is not really a restore, but it's better than nothing.
# rm -fr /
Martin
Volunteer
Posts: 2562
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP, Win7, Win10, Linux, OS/2

Re: Error: failed to start machine. Error message: Failed to load unit 'cpum' (VERR_INVALID_FLAGS)

Post by Martin »

How would you do a "restore" of a physical system without rebooting? ;-)
Reactivating a saved state wold probably work if you stay with an identical hw configuraion.
Notorand.IT
Posts: 77
Joined: 14. Nov 2013, 12:47
Primary OS: Other
VBox Version: OSE other
Guest OSses: ArchLinux x86_64
Location: Regnum Utriusque Siciliae

Re: Error: failed to start machine. Error message: Failed to load unit 'cpum' (VERR_INVALID_FLAGS)

Post by Notorand.IT »

I solved my problem!

I had to power off the main VM and modify it by selecting "--cpuid-portability-level 1".
I powered it back on and run again my "live backup" procedure.
This time I've been able to restart the VM on the secondary host from the snapshot without any error.
Of course, I have no idea about the differences between "--cpuid-portability-level 1" and "--cpuid-portability-level 3".
I only know that "0" should be "the very same CPU capabilities as the host".
# rm -fr /
Post Reply