Do you see the boot menu?
-- Boot menu, 14.04 LTS --
Ubuntu
Advanced options for Ubuntu
System Setup
... if not, try hitting ESC while the computer starts up... before and/or while "Ubuntu ....." is shown (if it is shown).
When or if you see the menu: Use the cursor keys ( ↓ and ↑ ) to select Advanced options for Ubuntu
and press enter
By that you should get a menu similar to this:
-- Advanced options for Ubuntu --
Ubuntu, with Linux 3.15...-generic
Ubuntu, with Linux 3.15...-generic (recovery mode)
Ubuntu, with Linux 3.13.0-24-generic
Ubuntu, with Linux 3.13.0-24-generic (recovery mode)
You will probably have a different set of entries, the recovery mode
items are for more advanced fault finding and remedy. Keep out of those for the time being.
Instead use the cursor keys and select what you have in the place where it reads Ubuntu, with Linux 3.13.0-24-generic
above. Then press enter again...
I hope that will allow your computer to be used...
Please tell us if this helped, we might be able to help you get beck to normal depending on any more detail you provide on the outcome of it.
Edit your posting and add a line with <hr> and insert more details after it.
Repeat the same if you have more...
-- Addition, for fixing or removing the problem with the default boot option --
The problem seems to be a nonworking setup for the latest(?) linux-kernel - this has probably been added together with updates - and failed to install properly.
To try to get it up and running, boot using the method above, login and then do:
Hold CTRL+Alt and hit T - this should open a "Terminal" (check menu:Help>About
with the window active, it says Gnome Terminal
with the default setup).
If you're unfamiliar with the Terminal:
In that window you should now see the last line displaying a single $
, if you type anything on the keyboard, your typing will appear to the right of it.
The first word will be taken as a command to execute, the remainder of the line will be passed to that command as "arguments" allowing the command to interpret them and act accordingly.
Now, a first simple attempt to FIX the problem: Type what is in left side column in the list below; the text after and including the # is the technical explanation of what that should do. This is an attempt to rebuild the boot menus. This MAY be enough, but may also fail.
Press enter on each line. As you do so on the FIRST line, you will be asked to type your password, if you fail to get it right you will be asked two more times. If you fail in the third attempt, just press ↑ (cursor up) once and then enter again.
sudo update-initramfs -u # remakes boot ramdisk
sudo update-grub2 # re-creates boot menu
As you have done that - assuming nothing reads "error" or "fail" in the output - you may try to reboot - using the default option this time.
If that works - then all should be fine... no need to do more. :-)
If it DOESN'T work, then the "easy" fix is to remove the non-working option. This is also something you do from the Terminal (there might be other ways too, but I'll ignore them ;-) - and you need to boot the same way as before.
This prints the currently ACTIVE kernel name - the one you're using.
uname -r
Again: which kernel you're USING, especially take note of the EXACTLY how the numbers read zeros and all - do not "abbreviate" in any way.
Now, with that known:
... you will see similar series of numbers on each line from what is listed by this set of commands - one of the number-sets should match exactly:
dpkg --list | head -n 5 && dpkg --list | grep linux-image
the first 5 lines is a summary of information that may help - if you have to copy it here - in case of trouble. These five lines explains the first two/three characters on the following lines.
You may need to expand the width of the Terminal window to see "lines" as they are quite long and tend to wrap down on one extra line with the standard width.
Now the 'linux-image-x.x.x.x-generic' that does match what uname -r
above printed is the one to keep.
But ALL the others - I suggest to FIRST take the one listed on top in the 'Advanced options' menu - may be removed with
sudo apt-get purge linux-image-x.x.x.x-generic
... where you are to replace 'linux-image-x.x.x.x-generic' with the exact same as dpkg --list ...
(above) said in column two.
Generally there is no need to keep more than the latest working option / kernel in the boot menus. If there are too many it may actually create a problem: the related part of the hard disk growing full.
IMPORTANT:
As you have done all (or just one), repeat the same as above once again.
This should hopefully, now tell NO errors or fails.
sudo update-initramfs -u # remakes boot ramdisk
sudo update-grub2 # re-creates boot menu
update 2015-05-17
How to use kernel 3.16 on 14.04 LTS
Follow the instructions for Trusty here:
https://wiki.ubuntu.com/Kernel/LTSEnablementStack
NOTE: Avoid kernels later than 3.16 for the time being, unless you're knowledgeable.