Black Screen/Blinking Cursor on Ubuntu Start

Discussions about using Linux guests in VirtualBox.
Post Reply
AkiraRagnas
Posts: 4
Joined: 14. May 2021, 21:02

Black Screen/Blinking Cursor on Ubuntu Start

Post by AkiraRagnas »

Terribly sorry to ask this question again, but I've tried every solution I've found and nothing works. Ubuntu 20.04 LTS on a Windows 10 Home host. Latest VirtualBox as far as I know (6.1.22 r144080).

I get the Ubuntu splash screen (black with the Ubuntu logo rotating), then a quick flash of logs, then either a black screen or a black screen with a blinking cursor that takes no input. I'm able to use Ctrl+Alt+F<num> to switch TTY sessions and login. Two observations I've made are that I don't appear to be connected to a network if I login that way, and that it will randomly kick me back to the blinking cursor screen (also accessible through Ctrl+Alt+F1). It doesn't kill the other session though, so I can easily switch back to it, but I thought that was strange.

Virtualization appears to be on in the BIOS and I don't appear to have Hyper-V enabled.

One person suggested uninstalling Guest Additions, so I did, and that didn't help. I've attached the most recent VBox logs. Thank you very much for your help.
Attachments
VBox Log.zip
(33.61 KiB) Downloaded 82 times
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Black Screen/Blinking Cursor on Ubuntu Start

Post by scottgus1 »

No Hyper-V on the host, and the VM seems to run OK. Processors are set to 4, same as the physical cores on the host. RAM is 4GB, host had 4.4GB free. Host may starving for CPU & RAM. Try reducing to 2 processors and 2 GB RAM.

Ubuntu is known to go blackscreen and not be able to launch the desktop if the disk fills up. If you were running Ubuntu updates before this happened, that might be your problem. Web-search how to check disk space free in the text terminal of the VM and how to delete things if necessary.

Also make a new Ubuntu VM, 2 processors and 2 GB RAM, and a fresh install of the OS. See if it boots properly. This will check if Virtualbox itself is working.
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Black Screen/Blinking Cursor on Ubuntu Start

Post by fth0 »

scottgus1 wrote:how to check disk space free in the text terminal
df -h will do (disk free, human readable). But I'd assume that the 50 GB VDI file is more than enough. ;)
AkiraRagnas
Posts: 4
Joined: 14. May 2021, 21:02

Re: Black Screen/Blinking Cursor on Ubuntu Start

Post by AkiraRagnas »

Thank you for your help!

Indeed, /dev/sda1 has a size of 43G, with 28G used and 14G available.

Dropping processors and RAM didn't solve it either, going to attempt making a second VM now.
AkiraRagnas
Posts: 4
Joined: 14. May 2021, 21:02

Re: Black Screen/Blinking Cursor on Ubuntu Start

Post by AkiraRagnas »

Creating a fresh VM for 20.04 LTS appears to have worked; I can log in and everything. How frustrating. Is there an easy way of getting the data off of the old image?
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Black Screen/Blinking Cursor on Ubuntu Start

Post by scottgus1 »

Thanks for the command, fth0!

Akira, good that a new VM works. It appears that the problem lies inside the bad VM's OS, not in Virtualbox, though a comparison of logs between good and bad VMs might show a trouble point.

If you care to abandon the old VM and use the new one, you can add the old VM's disk to the new VM's disk controller while they are both shut down. Then start the new VM and mount the old VM's disk using Ubuntu methods. You will then be able to copy file off the old disk to the new disk.
AkiraRagnas
Posts: 4
Joined: 14. May 2021, 21:02

Re: Black Screen/Blinking Cursor on Ubuntu Start

Post by AkiraRagnas »

Yeah, bit annoying, but that's computers; thank you again for all your help.
Post Reply