Page 1 of 1
Ubuntu can't get past boot
Posted: 20. Dec 2021, 16:06
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.
Re: Ubuntu can't get past boot
Posted: 20. Dec 2021, 17:35
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.
Re: Ubuntu can't get past boot
Posted: 20. Dec 2021, 17:37
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
Re: Ubuntu can't get past boot
Posted: 20. Dec 2021, 20:05
by boxtoboxVB
Steps for the disk space fixed it. Thank you.
Re: Ubuntu can't get past boot
Posted: 20. Dec 2021, 20:07
by scottgus1
Great! Glad you're up and running.