I am Using Ubuntu in Virtual Box.. the Host OS is Windows10 with dedicated intel's Graphics.
I have reinstalled twice, probably this starts due to sudden shutdown or some reason. Dnt know whats the problem.
Saw a old post about this type on Ubuntu 12.04 / 14.04 LTS
... but their problem/ solution was on Nvidia Driver. And following that didnt help me!
.
Any solution ?
i've had the same issue:
My solution was:
Several of my old VMs seem to hang on bootup. If in Grub I select "recovery mode", the last messages displayed on the screen are:
Then it hangs.
In my case, I can confirm that for all my VMs experiencing this problem, changing the Virtualbox setting "System -> Acceleration -> Paravirtualization Interface" from "Legacy" to "Default" enabled these old VMs to work again. Switching it back to "Legacy" immediately makes it hang on boot, so I know for certain this is the key to the issue in my case.
In the VirtualBox machine settings, simply turn off the "3D acceleration".
Did you allocate enough RAM to the virtual machine? Give it 2GB or more RAM. I discovered when I ran Ubuntu 18.04 live cd on virtual box, it froze at some point, but on allocation of more RAM, I got it working perfectly
I had the same problem. When I experienced the problems my settings were:
I changed the following settings:
That made it work.
I changed the following setting:
It still worked.
Looked like there is 'something' with the number of processors. Based on the other answers, there does not seem to be a 'right' number that works for every system.
I then realized that I also have an Ubuntu 18.04 Server VM on my system. This one still works. I noticed that for this virtual machine the Paravirtualization Interface is set to Default, while for my Desktop VM (the one I was having problems with), it was set to Legacy. I changed it to Default and now it works, with any number of CPU's.
So the solution, for me, was to:
Set Paravirtualization Interface to Default.
For me, I had to disable hyper-v before I could get it to work. Increasing the other options listed in this answer didn't help. This can be done by searching for "Turn windows features on or off" in Windows, then un-checking Hyper-V (you need to restart your computer after).
I had a similar problem and this is what I did to fix it.
Essentially changed the graphics controller from VMSVGA to VBoxSVGA. My 3D acceleration is still on and I have video memory at 128 MB.
See here for the difference between the different graphics controllers.
Was freezing on "Booting smp configuration" after upgrading to 18.04 / Kernel 4.15.0.33 on Virtualbox 5.2.18
Had to go to VM Settings -> System > Acceleration > Paravirtualization Interface -> Default (Was "legacy" before).
3D acceleration is enabled and working (Make sure to install guest additions to make it run smoothly)
I am using Virtual Box 5.2.20 and Ubuntu 18.04.1. I was trying to install Ubuntu and it was painfully slow to boot and log showed guest would become unresponsive every few seconds. What finally worked for me was to change the paravirtualization to legacy in order to complete the install. Then the guest would hang on start up. I had to change the paravirutalization mode back to default in order to successfully boot.
It seems like there is no definite answer to this one.
What worked for me is - Uncheck the box labelled "Solid-state Drive" for the virtual hard disk.
3D acceleration is Enabled. 128 MB Video Memory. 4 GB RAM. 2 CPU. Virtualbox Guest Additions are Not installed. All other system settings are at default.