Ubuntu 12.04LTS crashed after install of Virtual Box

Asked by Lawrence R Bellmore Jr on 2012-07-25

Desktop gone. - Computer name dv-9000 i386 32 bit version. tried the 64 bit but graphics card doesnt get recognized .. had to start with 10.10 where I was able to install the additional drivers - recommended video driver. Then all the upgrades worked well till I finally installed the virtualbox machine as noted below.. when I rebooted... Desktop was gone and I end up at a tty1 terminal

I now have upon boot... "Ubuntu 12.04 LTS dv-9000 tty1 (first line) and (second line) dv-9000 login: (flashing cursor)

I can login with my name and password but I am in text mode...

How do I return to standard desktop menus...

I installed virtualbox and a Windows 7 and Windows XP Virtual Machine. I did not install the operating systems yet. I rebooted to make sure all was working and...

Now I am at a tty1 desktop terminal

HELP.. I don't want to re-install all the software unless I have to..
Bob

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu xserver-xorg-video-nv Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What activity caused this issue?

Revision history for this message
Thomas Krüger (thkrueger) said :
#2

If the installation of VirtualBox caused it, you can uninstall it from the console.
Type (and don't press enter yet)
sudo apt-get purge virtualbox
Now hit [Tab] twice and see what package names appear. if there is "virutalbox" just press enter. If there is "virtualbox-ose" extent the name with -ose and press enter.

Then run
sudo apt-get autoremove
sudo reboot

The machine should reboot and hopefully work.

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#3

I installed virtualbox vm software available in Ubuntu. I then added the two VM .. Windows 7 and Windows XP but did not install the operating systems as yet. I closed each out and closed the Virtual Box. I did other minimal activities...Ubuntu One etc.. I already had GnuCash and LIbreOffice Database installed. No other software installed other than what came with the upgrades and initial install of 10.10. I have other computers with 12.04 operating with VirtualBox operating. No issues. All with Windows 7 and XP installed with operating systems .. functioning. This was a new install (first) for this 17" HP dv-9000 laptop. The HP dv7 -1451nr laptop I am sending this problem report on is dying and I was setting up the HP dv-9000 as a backup. the dv7 has a dual boot where Linux 12.04 LTS with virtual machines operating with no problem. How do I get my desktop back without reinstalling all the software that i have, upgrades etc..

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#4

Will try Thomas

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#5

rebuilding ... still back to tty1

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

https://launchpad.net/ubuntu/+ppas?name_filter=qtiplot

There are many PPAs. You can search for all kinds of apps. Just remember to filter for your release so you know what you are getting :)

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#7

signed in and did the search again for virtualbox. States not there.. But stated some of the supporting files still there and gave same instuction .. sudo apt-get autoremove. I did so and it cleaned additional files out.. but I am still back to tty1

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#8

Andrew? Where do I enter the web.. on this machine .??

Revision history for this message
Thomas Krüger (thkrueger) said :
#9

Can you open the X server log and look for a line with "(EE)"?
less /var/log/Xorg.0.log

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#10

Andrew... what I was seeking was " how to get back to the original install of 12.04 LTS desktop vs the tty1 ... It has been years since I have programmed ..LOL... thanks for the site...

But i don't know what I am looking for... except it is the Ubuntu desktop
Bob

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#11

no such file or directory

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

Sorry posted on the wrong post.

If you run:

startx

Does it start ok?

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#13

how do I open the X server log

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#14

where do I enter startx?

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#15

server terminated with error (1) closing log file
xinit: giving up
xinit: unable to connect to x server: no such file or directory
xinit: server

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#16

xinit: xserver

Revision history for this message
Thomas Krüger (thkrueger) said :
#17

Login at tty1 and enter the line in my post:
less /var/log/Xorg.0.log

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#18

xinit: server error (this is the correct last line of the computer response)

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#19

I did that and the response "no such file or directory"

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#20

when I enter "startx" all goes well till.. Shows (EE) error (NI) not implemented,

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#21

shows NVIDIA: could not open device file /dev/nvidia0

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#22

fatal server error: no screens found

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#23

what is the "less" for.. the error report shows to look into log file... "/var/log/Xorg.0.log".

Revision history for this message
Thomas Krüger (thkrueger) said :
#24

This is not an error message, just the explaination whet EE and NI mean. Look below that!

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#25

When I enter "/var/log/Xorg.0.log" I get "Permission denied"

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#26

read my comments above... the details below the EE and NI are listed above...

Revision history for this message
Thomas Krüger (thkrueger) said :
#27

Try this:
- enter "sudo dpkg-reconfigure nvidia-" (without "" and pressing enter)
- hit [Tab] twice
- a list appears
- complete "nvidia-" with the item of the list that is "nvidia-current" or "nvidia-current-updates".
- Hit Enter"

less is a tool so show files.

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#28

somehow my Navidia Card and the X desktop device and program files have been either corrupted or erased? Do I have to start over with my installs... ??

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#29

removing all DKMS modules

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#30

flashing cursor...DEBUG and Building ...DKMS: Install complete

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#31

I presume
enter
"startx"

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#32

same error messages

Revision history for this message
Thomas Krüger (thkrueger) said :
#33

you have to reboot the machine or load the kernel mosule manually first.

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#34

xinit: giving up
xinit: unable to connect to x server: no such file or directory
xinit: server error

back to lrbjr547dv-9000:~$

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#35

DUH

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#36

rebooted... loading.... still back to tty1

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#37

same error messages with startx

Revision history for this message
Thomas Krüger (thkrueger) said :
#38

is there somethis showing up with nvidia, when you enter
a) lsmod
b) modprobe -l
    (check only the last lines starting with "updates").

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#39

have nvidia-common; nvidia-current; nvidia-settings when I do the double tab

Revision history for this message
Thomas Krüger (thkrueger) said :
#40

in that case run
sudo dpkg-reconfigure nvidia-current

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#41

nvidia 10958194
updates /dkms/nvidia_current.ko

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#42

response: nvidia current is broken or not fully installed

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#43

retyping .. nvidia-current (correction)

Revision history for this message
Thomas Krüger (thkrueger) said :
#44

then you need to remove and install it again:
sudo apt-get purge nvidia-current
sudo apt-get install nvidia-current

If that fails a well, try:
sudo apt-get purge nvidia-current
sudo apt-get install nvidia-current-updates

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#45

ran "sudo dpkg-reconfigure nvidia-current" a second time - get same response - nvidia-current is broken or not fully installed

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#46

thanks.. will let you know.. appreciate your assistance..

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#47

purged.. installing

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#48

should be able to enter "startx" ... I suppose...and get the X desktop... hopefully in a few

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#49

same error.. going for the 2nd option... current-updates

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#50

didn't reboot.. .duh.. will try nvidia-current and reboot first before trying nvidia-current-updates

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#51

reboot didn't make difference...still tty1

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#52

purging nvidia-current
installing nvidia-current-updates

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#53

did not work... would not allow access for nvidia-current-updates

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#54

would not allow access to archives

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#55

suggested maybe run apt-get update or try with --fix-missing

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#56

states that it needed 34.4mb of archives but wasn't allowed to access them. Installed nvidia-current-updates and nvidia-settings-updates but couldnt access the the archives..

Revision history for this message
Thomas Krüger (thkrueger) said :
#57

Is your internet up? Does "ping www.google.com" work?
If not you should go back to nvidia-current since you can not download new packages from the server.

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#58

I rebooted...and now .. no screen.. only "black screen of death". Appears that I must start over - rebooted twice..get initial screen at boot.. then instead of the Ubuntu startup screen with the colored background.. totally black... will leave on for a while to see if it is a loading error or just need to blow it up and start again

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#59

Thomas.. thanks... I will reload 10.10 where it allows me to load the nvidia driver ... it works fine ..even all the way up to 12.04..but when I loaded and opened / closed the VM.. it blew up... must be a driver issue... and I don't know how to fix..

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#60

close this one out.. chalk up to video driver issue... and I am going to re-install 12.04 64bit Ubuntu... and work on the driver issue... currently the i386 32 bit version was installed..

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#61

it is a 64 bit dual core machine...

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#62

Problem is video driver ... or age of laptop ...thanks for trying... I am going to try once more to clear...and start over or I will part it out..
thanks again
Bob

Revision history for this message
Lawrence R Bellmore Jr (lrbellmore) said :
#63

12.04 LTS i386 is up and running ... virtual box is gone... that was after 4 reboots and attempts to reinstall earlier versions of Ubuntu... will let you know.. .but the removal of the Virtualbox seems to finally after all the other attempts.. seems to have fixed it... go figure.. I failed to note.. that all of my other VMware was installed from Oracle not from the Ubuntu software inventory. I think I will try that again.. vs Virtualbox on Ubuntu to see if their is a difference... if not.. I have printed this page to a pdf... for my files... and education.. thanks again..

Can you help with this problem?

Provide an answer of your own, or ask Lawrence R Bellmore Jr for more information if necessary.

To post a message you must log in.