Ubuntu doesn't start up after increasing disk size
Ubuntu doesn't start up after increasing disk size
I increased the disk size in Virtual Media Manager from 10GB to 12GB. but now the Ubuntu doesn't boot up. It hangs when it comes to black screen with white underscore. I tried increasing RAM and video memory, but it didn't help.
-
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 doesn't start up after increasing disk size
Start the VM from full normal shutdown, not save-state. Run until you see the problem happen, then shut down the VM from within the VM's OS if possible. If not possible, close the Virtualbox window for the VM with the Power Off option set.
Right-click the VM in the main Virtualbox window's VM list, choose Show Log. Save the far left tab's log, zip it, and post the zip file, using the forum's Upload Attachment tab.
Also, What caused you to want to increase the disk size? Did Ubuntu report that it was out of disk space?
Right-click the VM in the main Virtualbox window's VM list, choose Show Log. Save the far left tab's log, zip it, and post the zip file, using the forum's Upload Attachment tab.
Also, What caused you to want to increase the disk size? Did Ubuntu report that it was out of disk space?
Re: Ubuntu doesn't start up after increasing disk size
Yes the system was notifying me that disk space is low.
- Attachments
-
- Ubuntu 20.04.1-2020-12-02-15-45-12.zip
- (30.46 KiB) Downloaded 30 times
Re: Ubuntu doesn't start up after increasing disk size
I would at least like to restore some data I had on the machine if that's possible.scottgus1 wrote:Start the VM from full normal shutdown, not save-state. Run until you see the problem happen, then shut down the VM from within the VM's OS if possible. If not possible, close the Virtualbox window for the VM with the Power Off option set.
Right-click the VM in the main Virtualbox window's VM list, choose Show Log. Save the far left tab's log, zip it, and post the zip file, using the forum's Upload Attachment tab.
Also, What caused you to want to increase the disk size? Did Ubuntu report that it was out of disk space?
Re: Ubuntu doesn't start up after increasing disk size
Alright I recovered files that I needed by simply opening .vdi file with 7zip. I might as well create a new disk that is bigger.
-
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 doesn't start up after increasing disk size
This may not be the only problem, but you were over-committing RAM. This problem would be unrelated to enlarging the disk size.00:00:03.964392 Host RAM: 8153MB (7.9GB) total, 3370MB (3.2GB) available
...
00:00:04.191872 RamSize <integer> = 0x000000013d200000 (5 320 474 624, 5 074 MB, 4.9 GB)
You say that Ubuntu doesn't start up, but the log provided says otherwise: it shows the guest getting as far as loading the Guest Additions, which means boot was virtually completed.
-
fth0
- Volunteer
- Posts: 5690
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: Ubuntu doesn't start up after increasing disk size
That part is easy to explain:mpack wrote:You say that Ubuntu doesn't start up, but the log provided says otherwise: it shows the guest getting as far as loading the Guest Additions, which means boot was virtually completed.
Ubuntu has started up to the point where the next display resolution change would occur to display the graphical login screen, which increases current memory usage. Since Ubuntu shows a black screen (with a blinking cursor) before that, it's not obvious for the common user if it is running or hanging. Of course, one could look at the status line ...
-
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 doesn't start up after increasing disk size
A quick google "ubuntu ran out of disk space now wont log in" shows this happens on physical computers too. Solve as if it happened on a real PC using Ubuntu's help channels and web-searches, and ignore that the "hardware" was provided by Virtualbox.