Boot problems after upgrading to Ubuntu 22.04

Discussions about using Linux guests in VirtualBox.

Boot problems after upgrading to Ubuntu 22.04

Postby TimOfMarple » 16. Sep 2022, 21:45

I have been running Ubuntu 20 in VirtualBox 5.2.22 (on Windows11) happily for some time.
I recently upgraded to Ubuntu 22.04 and the system then failed to boot properly - it ends up with the login screen but without showing any options - it freezes.
Fortunately I can boot it into safe mode, and get the basic (low resolution) GUI running.
I'm not clear about what the differences are between normal boot and safe mode.
I looked at the log file, but didn't see anything obvious, but I'm not sure what to look for.
Is this a problem others have found (I've not been able to track down anything) and how should I go about fixing it?
TimOfMarple
 
Posts: 3
Joined: 16. Sep 2022, 21:38

Re: Boot problems after upgrading to Ubuntu 22.04

Postby scottgus1 » 16. Sep 2022, 22:34

Ubuntu is known to go blackscreen if there is not enough free disk space to start the desktop environment. This happens in real PCs too. The solution is to log on text-only and delete stuff until the desktop environment can start. Web-search how to fix this in an Ubuntu PC and apply the steps to the VM. Also see How to Resize a Drive
scottgus1
Site Moderator
 
Posts: 17127
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Boot problems after upgrading to Ubuntu 22.04

Postby TimOfMarple » 17. Sep 2022, 09:22

Thanks for the suggestion, but in this case I still have 71Gb free, so I don't think that's the problem.
TimOfMarple
 
Posts: 3
Joined: 16. Sep 2022, 21:38

Re: Boot problems after upgrading to Ubuntu 22.04

Postby scottgus1 » 17. Sep 2022, 13:56

TimOfMarple wrote:I still have 71Gb free

Inside the VM? If so, how do you know? If not, the free space needs to be in the VM for the VM's OS to use it.

TimOfMarple wrote:I can boot it into safe mode, and get the basic (low resolution) GUI running.

This means that Virtualbox is working and the problem lies inside the VM OS somewhere. It may not be the filled-up disk cause, but the OS has a glitch somewhere. I'd ask on an Ubuntu forum, ignoring the Virtualbox side of the issue for the moment.
scottgus1
Site Moderator
 
Posts: 17127
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Boot problems after upgrading to Ubuntu 22.04

Postby TimOfMarple » 17. Sep 2022, 15:56

Thanks - I'll try that.
TimOfMarple
 
Posts: 3
Joined: 16. Sep 2022, 21:38

Re: Boot problems after upgrading to Ubuntu 22.04

Postby Torsten45 » 30. Sep 2022, 12:43

I have exactly the same problem.
Login/boot via xorg works, but via wayland the desktop crashes and falls back to login.

This is not a problem with the disk size.

Does anyone have any ideas besides reinstalling?
Torsten45
 
Posts: 3
Joined: 30. Sep 2022, 12:39

Re: Boot problems after upgrading to Ubuntu 22.04

Postby mpack » 30. Sep 2022, 14:04

Yep. Problems with Wayland are well known. Try switching to X.
mpack
Site Moderator
 
Posts: 37496
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Boot problems after upgrading to Ubuntu 22.04

Postby Torsten45 » 30. Sep 2022, 14:13

Is there no solution to the problem except to use x?
Torsten45
 
Posts: 3
Joined: 30. Sep 2022, 12:39

Re: Boot problems after upgrading to Ubuntu 22.04

Postby mpack » 30. Sep 2022, 15:03

I would have said so if there was. At the moment Wayland has known compatibility issues with VirtualBox.

And btw, I did not say it was a solution: I suggested a test.
mpack
Site Moderator
 
Posts: 37496
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Boot problems after upgrading to Ubuntu 22.04

Postby Torsten45 » 30. Sep 2022, 16:06

I had written that it works with xorg.
But I would like to know if there is already a possibility for Wayland.
Torsten45
 
Posts: 3
Joined: 30. Sep 2022, 12:39


Return to Linux Guests

Who is online

Users browsing this forum: No registered users and 10 guests