It normally restarts fine for power interruptions but for some reason it didn't this time. I have attached a screen shot of the error.
I was able to restart virtual box from the host machines display/keyboard (it's not headless). The host PC and OS started normally along with other programs that automatically run on it.
System is Ubuntu 22.04.2
Memory is 8 GB
Virtual box 6.1 with 4 GB memory
Extension Packs: 2
Pack no. 0: Oracle VM VirtualBox Extension Pack
Version: 6.1.38
Revision: 153438
Pack no. 1: VNC
Version: 6.1.38
Revision: 153438
Log files are attached. Vbox.log seems to be the log after I restarted. Vbox.log.1.txt the file from before the power interruption.
Virtual box doesn't restart after brief power interruption
Virtual box doesn't restart after brief power interruption
- Attachments
-
- VBox.log.1.txt
- (88.71 KiB) Downloaded 29 times
-
- 25OctError.jpg (31.52 KiB) Viewed 2869 times
-
- VBox.log
- (103.95 KiB) Downloaded 28 times
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Virtual box doesn't restart after brief power interruption
That error happens when the Linux kernel headers that are used to install Virtualbox aren't loaded correctly. Official Virtualbox from www.virtualbox.org has prerequisites: https://www.virtualbox.org/manual/ch02. ... nux-prereq
That this happened right after a host power outage could mean the host had an updated kernel ready to load at the next reboot.
That this happened right after a host power outage could mean the host had an updated kernel ready to load at the next reboot.
You need a UPS. Computers don't like power interruptions.
Re: Virtual box doesn't restart after brief power interruption
I loaded virtual box from the standard repositories if I recall correctly so I would expect the prerequisites to be met.
If it was a kernel update would this not likely happen again until another kernel update?
I guess this is more a host OS issue than VB?
If it was a kernel update would this not likely happen again until another kernel update?
I guess this is more a host OS issue than VB?
-
- 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: Virtual box doesn't restart after brief power interruption
FWIW, Linux kernel 6.2 is only supported by VirtualBox 6.1.42 + 7.0.6 and newer.
You're using (the Ubuntu-provided) VirtualBox 6.1.38. When you started the VM from a saved state last time (2023-09-02!), you were using Linux kernel 6.2.0-31-generic. When you started the VM from the powered-off state today (2023-10-26), you were using Linux kernel 6.2.0-35-generic. I'll make an educated guess that when the Linux kernel was updated in between, the VirtualBox kernel drivers could not be built.
You're using (the Ubuntu-provided) VirtualBox 6.1.38. When you started the VM from a saved state last time (2023-09-02!), you were using Linux kernel 6.2.0-31-generic. When you started the VM from the powered-off state today (2023-10-26), you were using Linux kernel 6.2.0-35-generic. I'll make an educated guess that when the Linux kernel was updated in between, the VirtualBox kernel drivers could not be built.