VirtualBox

Opened 6 years ago

Last modified 6 years ago

#17467 reopened defect

Ubuntu host does not start after 5.2.6 GUest Additions installed

Reported by: SamH Owned by:
Component: other Version: VirtualBox 5.2.6
Keywords: Cc:
Guest type: Linux Host type: Linux

Description

I upgraded VirtualBox to 5.2.6 on my Ubuntu 16.04 host and also installed Guest Additons 5.2.6 on Ubuntu 16.04 guest. Then I powered off guest. Now, when starting guest it just does not start. I can see Ubuntu starts running but then it gets stuck somewhere...

Attachments (4)

VBox.log (337.0 KB ) - added by SamH 6 years ago.
log file
HangOnLaunch.jpg (135.5 KB ) - added by Lauxa 6 years ago.
Where Vagrant hangs - mouse and keyboard unresponsive
RebootMsg1.jpg (227.1 KB ) - added by Lauxa 6 years ago.
Error message on reboot #1
RebootMsg2.jpg (178.4 KB ) - added by Lauxa 6 years ago.

Download all attachments as: .zip

Change History (25)

by SamH, 6 years ago

Attachment: VBox.log added

log file

comment:2 by Michael Thayer, 6 years ago

Status: newreopened

Please attach a screen shot of the last interesting guest screen state.

comment:3 by M.Poil, 6 years ago

The guestadditions does not compile on Ubuntu 16.04+ and Debian9. So your X11 is not starting, just press ctrl + alt + f1 and you have a terminal. The only way I've found is to download Guest Addition 5.1.26 (http://download.virtualbox.org/virtualbox/5.1.26/) and reinstall it over 5.2.6.

Best regards,

comment:4 by Socratis, 6 years ago

Or try the 5.2.27 ones from the Download page. Going back to 5.1.26 is not a solution, it's a workaround at best...

comment:5 by SamH, 6 years ago

Here are the links to screenshots (to big files to attach them):

https://drive.google.com/open?id=1uL9z23ZGTYsKuFPqIH3SDUkjOh1KYk4y

https://drive.google.com/open?id=1i68WFXiTVFmbwv2Q5h6P3kPRKVzULJIh

https://drive.google.com/open?id=19l8S5ZnZl1yPRDSMbqMj9XPl6FnVxBE7

https://drive.google.com/open?id=1wkiWHzpTO_l7ATXXJDXbz7t41FgEvbdY

https://drive.google.com/open?id=1s6MmYO4W70tpnxJ_pgTg_LTatEaWK-Ha

I really need my guest back up running. Of course I do not have a back up from before I made the VBox upgrade... :)

VBox Guest additions 5.2.27 were mentioned above but I can not find them...

in reply to:  5 comment:6 by Socratis, 6 years ago

Replying to SamH:

Here are the links to screenshots (to big files to attach them):

I'm not really sure what (if anything) the screenshots add to your description.

Of course I do not have a back up from before I made the VBox upgrade... :)

If you're looking for words of consolation, this will not be a good place. ;)

VBox Guest additions 5.2.27 were mentioned above but I can not find them...

Take a look at the Downloads page (https://www.virtualbox.org/wiki/Downloads), look at the "Important" part...

comment:7 by Michael Thayer, 6 years ago

To be fair, I asked for screen shots. I will check them when I am on a proper Internet connection.

@M.Poil, you have commented on quite a few seemingly unrelated tickets. I suggest that you create a new ticket for your issue, only comment on that one, and attach a machine log file and the following files from the guest, after trying to install the Additions: any files of /var/log/vbox*.log; your X.Org log files if you can find them (they used to be kept under /var/log/Xorg*.log); your journalctl command output; the dmesg command output; the output of "lsmod | grep box"; the output of "modinfo vboxguest" and "modinfo vboxvideo".

comment:8 by Michael Thayer, 6 years ago

@SamH So it starts booting and after the text screen it goes black? Does Host plus function keys work? Otherwise you can try resetting the machine (Host plus "r") during early boot, and after one or two times you should get the boot menu to do a safe boot.

comment:9 by SamH, 6 years ago

After a few hours I managed to go to terminal, uninstall previous VBox Guest Additions. Rebboted and the guest starts. I then downloaded guest additons 5.2.7 and tried to mount them. I was not able to due to "unknown filesystem type ‘iso9660’". Then I run "sudo apt-get install --reinstall linux-image-$(uname -r)" which failed somewhere in the middle of the process.. Then rebooted. And was able to mount VBox Guest Additons 5.2.7 and installed them.

Now, the problem is that I can not change screen resolution of my guest... (Before the guest additions 5.2.7 instalation resolution was good (high, as it used to be)). The only resolutions available in the guest (under Displays) are: 1024x768 and 800x600. way to low...

comment:10 by Michael Thayer, 6 years ago

Could you please try reproducing this with a freshly installed guest? I have a suspicion that there may be a problem with the guest itself, and reproducing as I said would disprove my suspicion.

comment:11 by SamH, 6 years ago

What do you mean by freshly installed guest?

Guest additions worked up to 5.2.6 and most of the things were working fine most of the times. Problems begin to occur with 5.2.6 and are not resolved with 5.2.7. Before I installed 5.2.7 the resolution was ok (please note, as said above, I have uninstalled guest additions 5.2.6 via terminal).

comment:12 by SamH, 6 years ago

Also, sharing clipboard does not work any more (pasting from clipboard from host to guest is not working any more (used to work perfectly before)). Then, shared folder is not mounted automatically any more (it used to be mounted automatically as per VM settings)...

comment:13 by Michael Thayer, 6 years ago

I mean installing a new guest from scratch and reproducing the problem there. A problem needs to be reproducible to be fixed in nearly all cases. (Note that that is not a promise to fix, even if it is reproducible.)

comment:14 by SamH, 6 years ago

What about bidirectional clipboard setting and automatic shard folder mounting at start up? Why is this not working any more? Again problem with guest?

comment:15 by Michael Thayer, 6 years ago

Reproducing the problem with a fresh guest and providing instructions on how you did it will make it easier to say.

comment:16 by SamH, 6 years ago

There is this strange thing I found out: no "Additional Drivers" from VBox in guest in "Software & Updates". Please see screen shot https://drive.google.com/open?id=1KOIV8QFQcBU2WYV1XTC5GRgdaJIIaeGL

by Lauxa, 6 years ago

Attachment: HangOnLaunch.jpg added

Where Vagrant hangs - mouse and keyboard unresponsive

by Lauxa, 6 years ago

Attachment: RebootMsg1.jpg added

Error message on reboot #1

by Lauxa, 6 years ago

Attachment: RebootMsg2.jpg added

comment:17 by Lauxa, 6 years ago

So this happened to me twice. The first time after VirtualBox hung, my System76 computer running Ubuntu 16.04 LTS would no longer boot. The second time, I had the foresight to take pictures of all the events.

I have attached images of where Vagrant hangs on launch, and the reboot messages the system showed me when it was kind enough to boot at all. I also suggest you contact Aaron at System76 who was nice enough to help me get my computer running again after VirtualBox fubared it, he seems like he would be a reasonable assistant for ferreting out the source of this CATASTROPHIC BUG. Until then we need an option to roll back, pretty please.

comment:18 by SamH, 6 years ago

Would upgrading to Ubuntu 17.10 solve the problem? If, I would rather consider to upgrade than waste time searching for a solution with 16.04.

comment:19 by a_different_michael, 6 years ago

Exact same issue here. (Upgrading from 16.04 is not an option .. and just avoids the problem anyway)

Screen of black death after guest editions install (same as attached screen shots).

Running Xubuntu 16.04 client and host.

comment:20 by Socratis, 6 years ago

This ticket starts to turn into a "Ubuntu problems" generic ticket and it shouldn't. A ticket should not be a general discussion place, that's why the VirtualBox forums are there for...

@Lauxa
This is specifically about the 5.2.6 Guest Additions (GAs) causing the Ubuntu to not start. You seem to have a different problem. Please let's continue this discussion either in the VirtualBox forums (1st line of resistance), or in a new ticket.

Just a quick advice; please try Vagrant-less. We don't know what they change in their configurations. If you are having this problem with a standalone version of VirtualBox, then we can continue this discussion, otherwise they have their own support.

@SamH
Your guest installation problem seems to be fixed with the latest test builds, no? The problem in the title of the ticket ("Ubuntu host does not start after 5.2.6 GUest Additions installed") has been addressed, no? Which makes me suspect this as a duplicate of #17463.

Now, since shared clipboard and window resizing doesn't work, that means there was a problem actually installing the GAs. We need to see the log of the installation: "/var/log/vboxadd-setup.log" and the output of the terminal during installation of the GAs.

@a_different_michael
I successfully updated an Ubuntu 16.04 (4.4.0-87-generic #110) and an Ubuntu 16.04 (4.4.0-109-generic #132) with the test builds. So, please give them a try...

comment:21 by SamH, 6 years ago

My guest now works and VBox Guest Additions 5.2.7 seem to work correctly. Screen resolution, biderectional clipboard sharing and shared folder mount at startup all works.

Thanks for the hint that VBox Addittions might not have been installed properly. So I reinstalled linux kernel (I guess there was no need for this) and reinstalled VBox Additions 5.2.7, rebooted and it worked... Thanks for help on this one.

comment:22 by SamH, 6 years ago

I was to fast. I turned 3D acceleration back on and guest fails to start. Below is the error message:

Failed to open a session for the virtual machine kilometrics_dev.

This VM was configured to use 3D acceleration. However, the 3D support of the host is not working properly and the VM cannot be started. To fix this problem, either fix the host 3D support (update the host graphics driver?) or disable 3D acceleration in the VM settings (VERR_NOT_AVAILABLE).

Result Code: NS_ERROR_FAILURE (0x80004005) Component: ConsoleWrap Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

I have latest nvidia graphics driver...

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use