Ubuntu can't get past boot

Discussions related to using VirtualBox on Windows hosts.
Post Reply
boxtoboxVB
Posts: 2
Joined: 20. Dec 2021, 15:52

Ubuntu can't get past boot

Post by boxtoboxVB »

I'm using VirtualBox 6.1.3 to host Ubuntu. Everything was working normally before (Think I used it last week or the week before). The only change I can remember happening from then till now was an update to Windows. I remember allocating it more disk space, from 16GB to 24GB, since it was basically full. It didn't seem to actually extend but it still finished booting and let me use it.

It's allocated 128MB VRAM, 4GB RAM, 4 CPUS.

Hyper V is unavailable as a Windows feature on my device and I've disabled all of its services.

If there's a way I can just pull one of the folders I saved on it from the .vdi file, that would be helpful.
Attachments
vb.PNG
vb.PNG (9.32 KiB) Viewed 2237 times
Log-2021-12-20-13-52-27.zip
(20.6 KiB) Downloaded 3 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Ubuntu can't get past boot

Post by mpack »

You can't dedicate 4096MB+128MB RAM to a second OS when your first OS only has 2840MB free.
00:00:06.668573 Host RAM: 7068MB (6.9GB) total, 2840MB (2.7GB) available
....
00:00:07.457700 RamSize <integer> = 0x0000000100000000 (4 294 967 296, 4 096 MB, 4.0 GB)
00:00:07.458240 VRamSize <integer> = 0x0000000008000000 (134 217 728, 128 MB)
The most your PC can afford is around 2048MB RAM + 64MB graphics ram.

Likewise, you seem to totally ignore that allocating 4 CPU cores to the VM leaves 0 cores for the host. In any case your VM is unlikely to need 4 cores, so reduce to 2 cores.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Ubuntu can't get past boot

Post by scottgus1 »

The log does not end, meaning it was taken when the VM window was still open. It is better to have the VM window closed before taking the log.

The log does not show any operation problems in the VM's 'hardware', aside form Mpack's suggestions above.
boxtoboxVB wrote:Ubuntu. ... I remember allocating it more disk space, from 16GB to 24GB, since it was basically full.
Classic Ubuntu, happens on real PCs too. Ubuntu's desktop won't start if the disk fills up. The solution is web-searchable, do to the VM what you'd do to a real Ubuntu PC with the problem. Essentially, log in text-only, then delete stuff, or make the disk bigger.
boxtoboxVB wrote:It didn't seem to actually extend
That's because there are two steps to a disk expand: make the Virtualbox disk file bigger, then expand the partition inside the VM OS. Virtualbox handles the first step, you handle the next step. See How to resize a Virtual Drive
boxtoboxVB
Posts: 2
Joined: 20. Dec 2021, 15:52

Re: Ubuntu can't get past boot

Post by boxtoboxVB »

Steps for the disk space fixed it. Thank you.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Ubuntu can't get past boot

Post by scottgus1 »

Great! Glad you're up and running.
Post Reply