Page 1 of 1

Ubuntu VM almost starts - black/blank screen

Posted: 4. Jan 2021, 12:46
by YannG
Hi all,

I created and worked with UBUNTU VM on my win10 Pro.
Everything went fine until I powered up the laptop this morning after holidays ;-) ...
UBUNTU VM has started (almost) ... it stopped just after black ubuntu boot screen with mouse pointer rolling .... and then blank screen ...

AFAIK, no windows updates since last 2 or 3 power cycles ...

I put a live CD in the VM to be able to boot on something and I was able to mount /dev/sdax ... fsck didn't return any error ...
The only thing I was able to "see" is :

/dev/sda5: recovering journal
/dev/sda5: clean, 272907/1605632 files, 6200750/6421760 blocks

[drm:vmw_host_log [vmwgfx]] *ERROR* Failed to send host log message.
[drm:vmw_host_log [vmwgfx]] *ERROR* Failed to send host log message.


Please advise :-( ....

Edit: BTW, I changed VMSVGA with VBoxSVGA ... the 2 host log error messages disappear but I'm still stuck to blank screen ....

Re: Ubuntu VM almost starts - black/blank screen

Posted: 4. Jan 2021, 18:25
by scottgus1
Hyper-V is enabled and needs to be disabled. See HMR3Init: Attempting fall back to NEM (Hyper-V is active).

Re: Ubuntu VM almost starts - black/blank screen

Posted: 5. Jan 2021, 12:09
by YannG
I forgot to mention ... I tried with and without Hyper-V enabled ... same result ...

Re: Ubuntu VM almost starts - black/blank screen

Posted: 5. Jan 2021, 17:13
by YannG
Here the logs with no Hyper-V ...

Edit : VirtualBox Version 6.1.16 r140961 (Qt5.6.2) on win10 pro up to date ...

Re: Ubuntu VM almost starts - black/blank screen

Posted: 5. Jan 2021, 17:32
by scottgus1
Hyper-V is off and you have full hardware virtualization running, good.

The log shows a properly-running VM environment, to my view, through it doesn't stay on for ling, only 49 seconds. Did the black-screen show up at this run?

FWIW the "[drm:vmw_host_log [vmwgfx]] *ERROR* Failed to send host log message" error messages are normal in Linux VMs using the VMSVGA video card that is correctly supposed to be used in Linux VMs. There is an apparent bug in the Linux driver that gets loaded for the video card. These errors do not stop the Linux desktop from loading and can be ignored.

Did you run out of disk space in this VM? "/dev/sda5: recovering journal, etc" seems to indicate it might have? If so Ubuntu can get to a "can't load the desktop" state if the disk space ran out, even if you add more disk space later.

This looks like an in-the-VM-OS problem rather than a Virtualbox problem. Unless better eyes than mine see a problem in the log, you'll have to try pretending this is an OS on a real PC and troubleshooting it using the OS's help channels.

Re: Ubuntu VM almost starts - black/blank screen

Posted: 19. Jun 2021, 17:31
by Dan P
YannG wrote:Hi all,

I created and worked with UBUNTU VM on my win10 Pro.
Everything went fine until I powered up the laptop this morning after holidays ;-) ...
UBUNTU VM has started (almost) ... it stopped just after black ubuntu boot screen with mouse pointer rolling .... and then blank screen ...

AFAIK, no windows updates since last 2 or 3 power cycles ...

I put a live CD in the VM to be able to boot on something and I was able to mount /dev/sdax ... fsck didn't return any error ...
The only thing I was able to "see" is :

/dev/sda5: recovering journal
/dev/sda5: clean, 272907/1605632 files, 6200750/6421760 blocks

[drm:vmw_host_log [vmwgfx]] *ERROR* Failed to send host log message.
[drm:vmw_host_log [vmwgfx]] *ERROR* Failed to send host log message.


Please advise :-( ....

Edit: BTW, I changed VMSVGA with VBoxSVGA ... the 2 host log error messages disappear but I'm still stuck to blank screen ....
I run Windows10 host and ubuntu... and fsck is enabled to run during Linux boot....

I'm not sure about the black/blank screen... but I can let you know that the
*ERROR* Failed to send host log message
messages (2x) is from fsck...

I get them on every boot... Linux continues the boot after that.. as per normal.

Hope this helps.