Solved

Ubuntu VM updated and wouldnt restart, used recovery mode, now need help

Posted on 2013-11-26
3
476 Views
Last Modified: 2013-12-03
Hi

We have a lone Ubuntu 12 VM that our dev team use, they had run the system updates which then required a reboot but left it.

I then was the lucky person who had to shut the VM down as they wanted to extend a Virtual disk, upon shutting this down it got stuck so had to hard power it off and then it got stuck booting up, it look as though some kind of Kernel update has been done,

We run recovery Mode and this got the VM back up and running, I now need to understand if running the recovery mode has permanently rolled it back (similar to a Windows Last Known Good) or if when we restart it will try and use the new updated files again


On a secondary note it would also be useful ti understand

A) who / when the updates were run.....is there a log file with this detail in?

B) Whats stopped the VM from booting, is there an equiveilent of the Windows Event Log

As you may have guessed i'm focused on Wintel and have just been landed with this Linux issue so i'm a bit of a novice.

Thanks
0
Comment
Question by:ncomper
3 Comments
 
LVL 16

Expert Comment

by:Joseph Gan
Comment Utility
Kernel update required a reboot afterwards, in this case a reboot did not happen, which could cause system problems to shutdown, because new kernel out of sync with current OS. Or if system update failed, also would cause it stuck at reboot.

When you ran recovery mode, just like run Windows recovery on CD/DVD, which could rolled Kernal and other packages back to its original version, you could check the current kernal version and compare it to the updating one to find out, or you could try to run the system updates again.

Logfile can be checked are:

/var/log/messages
/var/log/dmesg
/var/log/lastlog
history
etc...
0
 
LVL 18

Accepted Solution

by:
TobiasHolm earned 500 total points
Comment Utility
Hi!

Check this logfile: /var/log/dpkg.log

This is a single log file that records all the apt activities, such as installs or upgrades, for the various package managers (dpkg, apt-get, synaptic, aptitude).

Regards, Tobias
0
 
LVL 5

Author Closing Comment

by:ncomper
Comment Utility
Thanks, in the end we just boot into previous linux version and it seems to work fine
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Android Security Model 3 66
Error regarding installation of RPM package 5 42
change time in cron 4 37
PC upgrade to Linux Mint 7 29
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now