The virtual machine 'OPTWin7' has terminated unexpectedly during startup with exit code 1 (0x1).
-
- Posts: 68
- Joined: 13. May 2020, 17:59
- Primary OS: Linux other
- VBox Version: OSE other
- Guest OSses: WIn10
- Location: South Africa
The virtual machine 'OPTWin7' has terminated unexpectedly during startup with exit code 1 (0x1).
Hi
I have created a new VM to install a win7 into. I am not even getting the VM to boot - I get the below message and no logs are being created.
Failed to open a session for the virtual machine OPTWin7.
The virtual machine 'OPTWin7' has terminated unexpectedly during startup with exit code 1 (0x1).
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MachineWrap
Interface: IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}
Running Linux Miin 20.3 Host
And Virtual box Version 6.1.32 r149290 (Qt5.12.
I have created a new VM to install a win7 into. I am not even getting the VM to boot - I get the below message and no logs are being created.
Failed to open a session for the virtual machine OPTWin7.
The virtual machine 'OPTWin7' has terminated unexpectedly during startup with exit code 1 (0x1).
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MachineWrap
Interface: IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}
Running Linux Miin 20.3 Host
And Virtual box Version 6.1.32 r149290 (Qt5.12.
-
- Volunteer
- Posts: 5678
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: The virtual machine 'OPTWin7' has terminated unexpectedly during startup with exit code 1 (0x1).
What happens when you start the VM from within a terminal using VirtualBoxVM --startvm "VM name"?
-
- Posts: 68
- Joined: 13. May 2020, 17:59
- Primary OS: Linux other
- VBox Version: OSE other
- Guest OSses: WIn10
- Location: South Africa
Re: The virtual machine 'OPTWin7' has terminated unexpectedly during startup with exit code 1 (0x1).
johann@DellOptiplex:~$ VirtualBoxVM --startvm "OPTWin7"
VirtualBoxVM: Error -610 in supR3HardenedMainInitRuntime!
VirtualBoxVM: dlopen("/usr/lib/virtualbox/VBoxRT.so",) failed: <NULL>
VirtualBoxVM: Tip! It may help to reinstall VirtualBox.
johann@DellOptiplex:~$
VirtualBoxVM: Error -610 in supR3HardenedMainInitRuntime!
VirtualBoxVM: dlopen("/usr/lib/virtualbox/VBoxRT.so",) failed: <NULL>
VirtualBoxVM: Tip! It may help to reinstall VirtualBox.
johann@DellOptiplex:~$
-
- Posts: 68
- Joined: 13. May 2020, 17:59
- Primary OS: Linux other
- VBox Version: OSE other
- Guest OSses: WIn10
- Location: South Africa
Re: The virtual machine 'OPTWin7' has terminated unexpectedly during startup with exit code 1 (0x1).
This is driving me NUTS!
lol uninstalled and cleaned up and installed latest version Version 6.1.10 r138449 (Qt5.12.8)
Then opened a new VM and still the same message:
Failed to open a session for the virtual machine OtiplexW7.
The virtual machine 'OtiplexW7' has terminated unexpectedly during startup with exit code 1 (0x1).
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MachineWrap
Interface: IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}
ALSO
Still no log files are created..
lol uninstalled and cleaned up and installed latest version Version 6.1.10 r138449 (Qt5.12.8)
Then opened a new VM and still the same message:
Failed to open a session for the virtual machine OtiplexW7.
The virtual machine 'OtiplexW7' has terminated unexpectedly during startup with exit code 1 (0x1).
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MachineWrap
Interface: IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}
ALSO
Still no log files are created..
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: The virtual machine 'OPTWin7' has terminated unexpectedly during startup with exit code 1 (0x1).
At the time you wrote that, the latest version is 6.1.32, not 6.1.10. The latter is about a year old.Makarios wrote:uninstalled and cleaned up and installed latest version Version 6.1.10 r138449 (Qt5.12.8)
-
- Volunteer
- Posts: 5678
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: The virtual machine 'OPTWin7' has terminated unexpectedly during startup with exit code 1 (0x1).
FWIW, the detailed error message indicates a corrupt installation. The VBoxRT.so file is either missing or has wrong permissions or access rights.
-
- Posts: 68
- Joined: 13. May 2020, 17:59
- Primary OS: Linux other
- VBox Version: OSE other
- Guest OSses: WIn10
- Location: South Africa
Re: The virtual machine 'OPTWin7' has terminated unexpectedly during startup with exit code 1 (0x1).
Yes you are correct , the latest is not 6.1.10 my bad
I have loaded and removed and installed so many versions that it is a mess at present..
below is all the versions I have installed ant they all give the same error message
I have loaded and removed and installed so many versions that it is a mess at present..
below is all the versions I have installed ant they all give the same error message
- Attachments
-
- 2022-01-25_18-56.png (53.12 KiB) Viewed 5989 times
-
- Posts: 68
- Joined: 13. May 2020, 17:59
- Primary OS: Linux other
- VBox Version: OSE other
- Guest OSses: WIn10
- Location: South Africa
Re: The virtual machine 'OPTWin7' has terminated unexpectedly during startup with exit code 1 (0x1).
It is entirely possible that the access rights could be wrong.
Is it possible to get a list of the folders of Virtualbox with their correct access rights?
Is it possible to get a list of the folders of Virtualbox with their correct access rights?
-
- Posts: 68
- Joined: 13. May 2020, 17:59
- Primary OS: Linux other
- VBox Version: OSE other
- Guest OSses: WIn10
- Location: South Africa
Re: The virtual machine 'OPTWin7' has terminated unexpectedly during startup with exit code 1 (0x1).
Any one has guidance on the correct access rights needed to not get the above message
-
- Volunteer
- Posts: 5678
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: The virtual machine 'OPTWin7' has terminated unexpectedly during startup with exit code 1 (0x1).
FWIW, on a Linux Mint 20 host with the older VirtualBox 6.1.30 from Oracle (not from Linux Mint), the VBoxRT.so file has the following properties:
If the permissions and access rights are different on your host, I'd suggest to uninstall all VirtualBox packages and to install only the Oracle VirtualBox package.
Code: Select all
-rw-r--r-- 1 root root 3502120 Nov 22 17:09 /usr/lib/virtualbox/VBoxRT.so
-
- Posts: 68
- Joined: 13. May 2020, 17:59
- Primary OS: Linux other
- VBox Version: OSE other
- Guest OSses: WIn10
- Location: South Africa
Re: The virtual machine 'OPTWin7' has terminated unexpectedly during startup with exit code 1 (0x1).
I Restored with Timeshift to a date some 2 weeks ago.
Then I re installed VirtualBox
this is the properties on my machine
-rw-r--r-- 1 root root 3465256 Jun 4 2020 VBoxRT.so
this is the version of Oracle Virtual Box
VirtualBox Graphical User Interface
Version 6.1.10 r138449 (Qt5.12.
Copyright © 2020 Oracle Corporation and/or its affiliates. All rights reserved
I still get the following error message whe I try to open the VM
Failed to open session for virtual machine OtiplexW7
The virtual machine 'OtiplexW7' has terminated unexpectedly during startup with exit code 1 (0x1).
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
MachineWrap
Interface:
IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}
No Log file is generated
I have not managed to open this machine at all since creating it.
every time this message pop up when I try to boot the machine up so as to install win7
Then I re installed VirtualBox
this is the properties on my machine
-rw-r--r-- 1 root root 3465256 Jun 4 2020 VBoxRT.so
this is the version of Oracle Virtual Box
VirtualBox Graphical User Interface
Version 6.1.10 r138449 (Qt5.12.
Copyright © 2020 Oracle Corporation and/or its affiliates. All rights reserved
I still get the following error message whe I try to open the VM
Failed to open session for virtual machine OtiplexW7
The virtual machine 'OtiplexW7' has terminated unexpectedly during startup with exit code 1 (0x1).
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
MachineWrap
Interface:
IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}
No Log file is generated
I have not managed to open this machine at all since creating it.
every time this message pop up when I try to boot the machine up so as to install win7
-
- Posts: 68
- Joined: 13. May 2020, 17:59
- Primary OS: Linux other
- VBox Version: OSE other
- Guest OSses: WIn10
- Location: South Africa
Re: The virtual machine 'OPTWin7' has terminated unexpectedly during startup with exit code 1 (0x1).
I now created another VM for a Manjaro linux live iso, and I get then same erro - my VM does not even boot up
Failed to open a session for the virtual machine Manjaro.
The virtual machine 'Manjaro' has terminated unexpectedly during startup with exit code 1 (0x1).
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MachineWrap
Interface: IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}
Again the system does not generate any logs to give an indication of the reason fro this
Failed to open a session for the virtual machine Manjaro.
The virtual machine 'Manjaro' has terminated unexpectedly during startup with exit code 1 (0x1).
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MachineWrap
Interface: IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}
Again the system does not generate any logs to give an indication of the reason fro this
-
- Posts: 68
- Joined: 13. May 2020, 17:59
- Primary OS: Linux other
- VBox Version: OSE other
- Guest OSses: WIn10
- Location: South Africa
Re: The virtual machine 'OPTWin7' has terminated unexpectedly during startup with exit code 1 (0x1).
What I did find , comparing my other running system with a win10 vm is that my rights there seems different to the new system:
johann@DellOptiplex:~/VirtualBox VMs/Manjaro$ ls -l
total 92
-rw------- 1 johann johann 3016 Feb 5 21:53 Manjaro.vbox
-rw------- 1 johann johann 3016 Feb 5 21:53 Manjaro.vbox-prev
-rw------- 1 johann johann 2097152 Feb 5 21:52 Manjaro.vdi
My VDI on the running system is as follows:
-rwxrwxrwx 1 johann johann 214379266048 Feb 5 18:00 NewVirtualDisk1.vdi
I the changed the delinquent system as follows:
johann@DellOptiplex:~/VirtualBox VMs/Manjaro$ ls -l
total 92
-rw------- 1 johann johann 3016 Feb 5 21:53 Manjaro.vbox
-rw------- 1 johann johann 3016 Feb 5 21:53 Manjaro.vbox-prev
-rwxrwxrwx 1 johann johann 2097152 Feb 5 21:52 Manjaro.vdi
But I still get the same error:
Failed to open a session for the virtual machine Manjaro.
The virtual machine 'Manjaro' has terminated unexpectedly during startup with exit code 1 (0x1).
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MachineWrap
Interface: IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}
johann@DellOptiplex:~/VirtualBox VMs/Manjaro$ ls -l
total 92
-rw------- 1 johann johann 3016 Feb 5 21:53 Manjaro.vbox
-rw------- 1 johann johann 3016 Feb 5 21:53 Manjaro.vbox-prev
-rw------- 1 johann johann 2097152 Feb 5 21:52 Manjaro.vdi
My VDI on the running system is as follows:
-rwxrwxrwx 1 johann johann 214379266048 Feb 5 18:00 NewVirtualDisk1.vdi
I the changed the delinquent system as follows:
johann@DellOptiplex:~/VirtualBox VMs/Manjaro$ ls -l
total 92
-rw------- 1 johann johann 3016 Feb 5 21:53 Manjaro.vbox
-rw------- 1 johann johann 3016 Feb 5 21:53 Manjaro.vbox-prev
-rwxrwxrwx 1 johann johann 2097152 Feb 5 21:52 Manjaro.vdi
But I still get the same error:
Failed to open a session for the virtual machine Manjaro.
The virtual machine 'Manjaro' has terminated unexpectedly during startup with exit code 1 (0x1).
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MachineWrap
Interface: IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}
-
- Volunteer
- Posts: 5678
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: The virtual machine 'OPTWin7' has terminated unexpectedly during startup with exit code 1 (0x1).
Reading this whole thread, I think you have a problem with using old VirtualBox versions together with newer Linux kernels, so I'll try and describe the main rule with an example:
If you use VirtualBox 6.1.10 from June 2020, you can only expect it to run on a Linux host using Linux kernel 5.7 (or older), and you can only expect it to be able to run a Linux VM/guest with Linux kernel 5.7 (or older). This is documented in the VirtualBox Change Log as "Linux host and guest: Linux kernel version 5.7 support".
If you use VirtualBox 6.1.10 from June 2020, you can only expect it to run on a Linux host using Linux kernel 5.7 (or older), and you can only expect it to be able to run a Linux VM/guest with Linux kernel 5.7 (or older). This is documented in the VirtualBox Change Log as "Linux host and guest: Linux kernel version 5.7 support".
Last edited by fth0 on 6. Feb 2022, 14:47, edited 1 time in total.
-
- Posts: 68
- Joined: 13. May 2020, 17:59
- Primary OS: Linux other
- VBox Version: OSE other
- Guest OSses: WIn10
- Location: South Africa
Re: The virtual machine 'OPTWin7' has terminated unexpectedly during startup with exit code 1 (0x1).
Although I accept that this could be correct - my logic loses me when my Running Linux mint 20.3 is running perfectly with the exact same version of Virtual box:
VirtualBox Graphical User Interface
Version 6.1.10 r138449 (Qt5.12.
Copyright © 2020 Oracle Corporation and/or its affiliates. All rights reserve
My system info on my Production machine:
System: Kernel: 5.4.0-97-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 5.2.7
wm: muffin dm: LightDM Distro: Linux Mint 20.3 Una base: Ubuntu 20.04 focal
Machine: Type: Desktop System: Gigabyte product: Z270M-D3H v: N/A serial: <filter>
Mobo: Gigabyte model: Z270M-D3H-CF v: x.x serial: <filter> UEFI: American Megatrends
v: F3 date: 01/13/2017
VirtualBox Graphical User Interface
Version 6.1.10 r138449 (Qt5.12.
Copyright © 2020 Oracle Corporation and/or its affiliates. All rights reserve
My system info on my Production machine:
System: Kernel: 5.4.0-97-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 5.2.7
wm: muffin dm: LightDM Distro: Linux Mint 20.3 Una base: Ubuntu 20.04 focal
Machine: Type: Desktop System: Gigabyte product: Z270M-D3H v: N/A serial: <filter>
Mobo: Gigabyte model: Z270M-D3H-CF v: x.x serial: <filter> UEFI: American Megatrends
v: F3 date: 01/13/2017