Unable to start VM after system upgrade

Discussions about using Linux guests in VirtualBox.
Post Reply
Dan82
Posts: 9
Joined: 26. Feb 2013, 17:47
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Linux Ubuntu, Linux Red Hat

Unable to start VM after system upgrade

Post by Dan82 »

Hello,

I upgraded VirtualBox to version 4.2.16 (including associated Extension Pack and Guest Additions on my Oracle Linux VM), everything was OK and the Linux VM restarted successfully.

After a moment, the system asked for system upgrade (516 components to be downloaded); download process was OK and then, system asked for a reboot.

Since that moment, Linux VM failed to complete startup process and remained blocked (See attached ScreenshotStartup and VBoxStartup.log files).

I can reset or shutdown the VM through VirtualBox menu (No error during shutdown). I also tested startup with other Linux releases (See VBoxReset.log anf ScreenshotLinuxVersion) but I always got same result.

As I'm not a Linux administrator, any help would be appreciated.

Dan
Attachments
ScreenshotLinuxVersion.png
ScreenshotLinuxVersion.png (39.61 KiB) Viewed 1827 times
ScreenshotStartup.png
ScreenshotStartup.png (27.48 KiB) Viewed 1827 times
VBoxStartup.log
(58.18 KiB) Downloaded 8 times
Dan82
Posts: 9
Joined: 26. Feb 2013, 17:47
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Linux Ubuntu, Linux Red Hat

Re: Unable to start VM after system upgrade

Post by Dan82 »

Here's last attached file.
Attachments
VBoxReset.log
(60.66 KiB) Downloaded 8 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: Unable to start VM after system upgrade

Post by mpack »

I see nothing wrong in the log. The VM has not hung, it seems to be responding normally. It looks like it's the guest software which isn't responding. If you can still launch the VM then the VDI header must be ok. It's possible that the grub boot or whatever has been messed up, but VBox wouldn't cause that.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Unable to start VM after system upgrade

Post by loukingjr »

I know it's too late now but, in my experience, any time there are that many packages in a Linux guest to update, it will often fail. The only time I will take a snapshot of a guest is before a major update. That way if something goes wrong you can fall back to the snapshot. Or at least make a copy first. My two cents.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Unable to start VM after system upgrade

Post by Perryg »

It sometimes takes a bit for the actual logon to happen when that many updates have been installed. Plus you may need to re-install the guest additions if the Xorg server was changed. I would wait a bit and then if the screen stays black try to open a TTY window and see if running the following will help: as su/sudo

Code: Select all

/etc/init.d/vboxadd setup
Dan82
Posts: 9
Joined: 26. Feb 2013, 17:47
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Linux Ubuntu, Linux Red Hat

Re: Unable to start VM after system upgrade

Post by Dan82 »

Hello,
loukingjr wrote:I know it's too late now but, in my experience, any time there are that many packages in a Linux guest to update, it will often fail. The only time I will take a snapshot of a guest is before a major update. That way if something goes wrong you can fall back to the snapshot. Or at least make a copy first. My two cents.
Unfortunately, I didn't have a backup or a snapshot; it will be my first action after re-installing my VM!

@Perryg : I waited for few hours but nothing happened

I have access to GRUB tool but I'm not familiar with this tool and I don't know if it could help me.

Dan
Attachments
ScreenshotGRUB.png
ScreenshotGRUB.png (36.73 KiB) Viewed 1802 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Unable to start VM after system upgrade

Post by Perryg »

Usually I let it boot normally. This should give you a black screen where you can access TTY. (host+f2) works like ctrl+alt+f2 on metal
Other than that you would need to boot with the install ISO and use rescue to get to a root terminal.
https://access.redhat.com/site/document ... emode.html
Dan82
Posts: 9
Joined: 26. Feb 2013, 17:47
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Linux Ubuntu, Linux Red Hat

Re: Unable to start VM after system upgrade

Post by Dan82 »

Hello,

I decided to reinstall the VM in order to have a clean configuration (Oracle products are running on this VM) and then, I made a snapshot.

Thank's all for your help.

Dan
Post Reply