When I boot system it boots to terminal but not gui I can boot to older version. I tried Boot-Repair my problem persist any help with what should I do now?

Asked by Rik

My GRUB menu list my Ubuntu and Windows OS along with option to use older version. when I select boot to Ubuntu I get a terminal but no GUI. If I select an older version it boots to Gui just fine. I don't know how to fix this I have looked around but no luck. If someone could point me in the right direction that would be great. I did run Boot-Repair and have a report from Boot-repair at
http://paste.ubuntu.com/6056247/ thank you for any help.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Rik
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Does the system have a make and model?

Revision history for this message
Rik (rufn) said :
#2

Thank you for responding. the system is home-made but based on a dell optiplex. The menu worked fine before but after an update it stopped booting to the menu default OS.

Revision history for this message
Rik (rufn) said :
#3

Optiplex 740

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

What is the output of:

sudo lshw -C display; lsb_release -a; uname -a

Thanks

Revision history for this message
Rik (rufn) said :
#5

 *-display
       description: VGA compatible controller
       product: C51 [GeForce 6150 LE]
       vendor: NVIDIA Corporation
       physical id: 5
       bus info: pci@0000:00:05.0
       version: a2
       width: 64 bits
       clock: 66MHz
       capabilities: pm msi vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:16 memory:fc000000-fcffffff memory:e0000000-efffffff memory:fb000000-fbffffff memory:80000000-8001ffff
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.3 LTS
Release: 12.04
Codename: precise
Linux rik-OptiPlex-740-Enhanced 3.2.0-49-generic-pae #75-Ubuntu SMP Tue Jun 18 18:00:21 UTC 2013 i686 athlon i386 GNU/Linux

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

Ok, run:

sudo apt-get --reinstall install `dpkg -l | grep 'nvidia' | awk {'print $2'} | grep -v nvidia-common`

Reboot to test.

Revision history for this message
Rik (rufn) said :
#7

I ran the above and it made the situation worst. Now I can not get any Gui with ubuntu. only terminal. is their a way to undo the above command?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8

No, but all it did was redownload and rerun dkms

You could try removing some of the older kernels in root recovery mode
 It may help. Can you also give the output of :

dpkg -l | grep nvida

Thanks

Revision history for this message
Rik (rufn) said :
#9

Thank You! actionparsnip (andrew-woodhead666) you got me pointed in the correct direction and I was able to fix the problem.
I ran dpkg -l | grep nvida as suggested it stated no nvida etc. I then thought it may be a mispelling on nvidia so I reran using dpkg -l | grep nvidia. same result. I started looking around regarding graphic drivers etc I stumbled across the command. startx when I ran startx the message stated "API mismatch: the NVIDIA kernel module has version 304.88 but NVIDIA driver component has version 173.14.35" I found an exact match to my problem and tried the fix at:
http://askubuntu.com/questions/338678/cant-get-gui-to-start-from-command-prompt
I did the suggested fix purgeing and Reinstalling the drivers.
sudo apt-get purge nvidia*
sudo apt-get install nvidia-current
sudo reboot
and my problem is fixed. Thank you again for taking the time to help me.