Page 1 of 1

Ubuntu stops working

Posted: 18. Feb 2022, 00:09
by medavidcook
Hey,

I installed ubuntu and it worked fine installed git and chrome, logged off and when I went to start it up again nothing happens, it says runs then just hangs at the Ubuntu screen I left it for an hour as had to do something and came back and still nothing, tried to restart and just keeps doing the same.

Anyone have any ideas why this happens, only happens with Ubuntu, Manjaro is working fine.

Thanks

Re: Ubuntu stops working

Posted: 18. Feb 2022, 11:12
by mpack
Provide a zipped VM log file. Make sure the VM is fully shut down, then right click it in the manager UI. Select "Show Log" and save "VBox.log" (no other file) to a zip file. Attach the zip here.

Re: Ubuntu stops working

Posted: 18. Feb 2022, 11:25
by medavidcook
Hopefully this is correct

Re: Ubuntu stops working

Posted: 18. Feb 2022, 17:18
by mpack
You have Hyper-v installed, this is probably interfering with VirtualBox.
00:00:07.769958 HM: HMR3Init: Attempting fall back to NEM: AMD-V is not available
00:00:07.886436 NEM: info: Found optional import WinHvPlatform.dll!WHvQueryGpaRangeDirtyBitmap.
00:00:07.886525 NEM: WHvCapabilityCodeHypervisorPresent is TRUE, so this might work...
Read HMR3Init: Attempting fall back to NEM (Hyper-V is active).

I'm curious why you chose that horrible VHD format from the noughties for your VM. Among other things that format is very prone to corrupting itself. I suggest you convert it to VDI asap.

Re: Ubuntu stops working

Posted: 18. Feb 2022, 19:41
by scottgus1
Moved from Linux Hosts to Windows Hosts. The 'host' is the physical PC, which in your case is Windows. Ubuntu is the 'guest' or the VM.

Re: Ubuntu stops working

Posted: 18. Feb 2022, 21:01
by medavidcook
If I turn Hyper-V off it won't even open the VM, this is why its on, Hyper-V has to be on if running AMD CPU apparently when I was researching how to get it to work which is when I came across a post about Hyper-V needing to be on for AMD.

Re: Ubuntu stops working

Posted: 18. Feb 2022, 21:12
by scottgus1
No, AMD does not in any way require Hyper-V to be enabled to run VMs. Many forum posters are running Virtualbox on AMD without Hyper-V.

Now, there is 'AMD-V', also called 'SVM', which is not Hyper-V. AMD-V is AMD's virtualization technology that accelerates virtual machines. Intel's version of the same is 'VT-x'.

AMD-V/SVM/VT-x must be enabled in the PC's BIOS and available for Virtualbox to run.

Hyper-V is Microsoft's hypervisor. Hyper-V is built into Windows, and may get in the way of Virtualbox. Hyper-V can be turned off on AMD and Intel CPUs and Virtualbox will run better.

Re: Ubuntu stops working

Posted: 19. Feb 2022, 18:43
by mpack
medavidcook wrote:If I turn Hyper-V off it won't even open the VM, this is why its on
I think you are confusing VT-x(or AMD-v) - a feature of your CPU which which both VirtualBox and Hyper-v require - with Hyper-v, which is an optional software component of Microsoft Windows.

As far as VirtualBox is concerned, Hyper-v is a competing software platform. There's no way that VirtualBox ever requires Hyper-v in order to run. In fact quite the opposite is often true, otherwise it would not even have been mentioned.

Ideally you should find out who posted that nonsense about Hyper-v being necessary for VirtualBox VMs and make sure you never believe anything posted by that person ever again.