Virtual Machine terminated unexpectedly during startup with exit code 1 (0x1).

Discussions related to using VirtualBox on Linux hosts.
L_Lima
Posts: 2
Joined: 29. Mar 2021, 01:23

Re: Virtual Machine terminated unexpectedly during startup with exit code 1 (0x1).

Post by L_Lima »

Phil_D wrote:Did this ever get resolved as I am having exactly the same issue.

Have installed VirtualBox 6.1 from here - Created a Linux VM machine but whenever I try to start it I get this error.

I do have logs which the original poster seemed to not be able to find.
Hey, Phil. Have you sorted out this problem already? First time installing Ubuntu through VM, and I am currently having the same issue.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Virtual Machine terminated unexpectedly during startup with exit code 1 (0x1).

Post by scottgus1 »

I have not yet seen a solution for this one. Purge the fork of Virtualbox you probably have now, use the official download from https://www.virtualbox.org/wiki/Linux_Downloads, and run the prerequisites first: https://www.virtualbox.org/manual/ch02. ... nux-prereq
obiewan
Posts: 9
Joined: 30. Nov 2017, 20:26

Re: Virtual Machine terminated unexpectedly during startup with exit code 1 (0x1).

Post by obiewan »

Yeah... I hate to do a "me too" but... me too.

This host is fedora core 35 (x86_64). Guest is the same. Guest has been running for about a week... started failing after u pgrade of software on the host + new kernel... 5.12.0-0.rc7.20210416git7e25f40eab52.191.fc35.x86_64. I tried redownload VB and reinstall VB... reboot... STILL exit code 1. I'll try going back to the previous kernel and report here. Below is the latest VB log of the start attempt:

cat VBox.log
00:00:01.426165 VirtualBox VM 6.1.19 r143777 linux.amd64 (Apr 14 2021 21:40:23) release log
00:00:01.426168 Log opened 2021-04-21T02:27:09.595591000Z
00:00:01.426169 Build Type: release
00:00:01.426173 OS Product: Linux
00:00:01.426174 OS Release: 5.12.0-0.rc7.20210416git7e25f40eab52.191.fc35.x86_64
00:00:01.426175 OS Version: #1 SMP Fri Apr 16 14:08:22 UTC 2021
00:00:01.426211 DMI Product Name: N53SN
00:00:01.426229 DMI Product Version: 1.0
00:00:01.426245 Firmware type: BIOS
00:00:01.426318 Host RAM: 7804MB (7.6GB) total, 5491MB (5.3GB) available
00:00:01.426322 Executable: /opt/VirtualBox/VirtualBoxVM
00:00:01.426323 Process ID: 5692
00:00:01.426323 Package type: LINUX_64BITS_GENERIC
00:00:01.510751 Installed Extension Packs:
00:00:01.510874 None installed!
00:00:01.515355 Console: Machine state changed to 'Starting'
00:00:01.515861 Qt version: 5.6.1
00:00:01.515897 X11 Window Manager code: 0
00:00:01.539322 GUI: UIMediumEnumerator: Medium-enumeration finished!
00:00:01.541303 X Server details: vendor: The X.Org Foundation, release: 12011000, protocol version: 11.0, display string: :0.0
00:00:01.541303 Using XKB for keycode to scan code conversion
00:00:01.543875 GUI: UIDesktopWidgetWatchdog::sltHandleHostScreenAvailableGeometryCalculated: Screen 0 work area is actually resized to: 0x383 x 1366x5
00:00:05.226811 SUP: seg #0: R X 0x00000000 LB 0x00001000
00:00:05.226949 SUP: seg #1: R 0x00001000 LB 0x0004b000
00:00:05.227015 SUP: seg #2: R X 0x0004c000 LB 0x00119000
00:00:05.227073 SUP: seg #3: R 0x00165000 LB 0x0025d000
00:00:05.227126 SUP: seg #4: RW 0x003c2000 LB 0x00034068
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Virtual Machine terminated unexpectedly during startup with exit code 1 (0x1).

Post by mpack »

"Me too" with a complete (zipped) log attachment would be better. A small pasted/edited fragment is not useful.

Another thing I note is that you are asking about an intermediate test release (6.1.19), you should be using the final release (6.1.20) that came out yesterday.
obiewan
Posts: 9
Joined: 30. Nov 2017, 20:26

Re: Virtual Machine terminated unexpectedly during startup with exit code 1 (0x1).

Post by obiewan »

Thank you for responding AND the information. I'll try it in the next few minutes and post here.

The log I pasted was all the log that was created for this VM.

Best regards,

George...
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Virtual Machine terminated unexpectedly during startup with exit code 1 (0x1).

Post by mpack »

obiewan wrote:The log I pasted was all the log that was created for this VM.
Only because, I believe, the VM was still running at the time you copied an open file. VirtualBox doesn't end a file like that even if it crashes - and the fact that you got an error message means that VirtualBox had not crashed, and that same error message should have been in the log.
obiewan
Posts: 9
Joined: 30. Nov 2017, 20:26

Re: Virtual Machine terminated unexpectedly during startup with exit code 1 (0x1).

Post by obiewan »

Hi,

The "release" worked and my VMs boot.

I use the developer run files because I upgrade kernels frequently ... most of the time the rpm distribution of VB doesn't yet support these newer kernels. When I find one that doesn't work I try to notify the mailing list... when time permits. I use the VMs to test the latest rpms from RedHat and report problems with them... either the tester mailing list or more formal bug reports.

It looks like the development versions of VB have changed... I don't see a build log for the LKMs though. Has the process changed so that the build log is no longer available?

George...
Post Reply