Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have an nVidia and I installed the latest drivers from the nVidia web site. I then forgot to uninstall the driver before taking tons of updates and ended with an unbootable Ubuntu installation. Following directions from this page I managed to mount and get into the broken Ubuntu installation using the Ubuntu 11.10 LiveCD. Now the question is how can I remove the nVidia driver and reset it to the original Ubuntu installation via this Chrooting access?

For example, if I run the steps here it won't work because the commands apply to the host running Ubuntu which is the one from the LiveCD and not the one I need to repair.

share|improve this question
    
Unbootable, or just no GUI? Can you get to a virtual terminal, by pressing Alt+F1, Alt+F2, etc (or possibly Ctrl+Alt+F1, etc)? If you can get a command prompt that way, you can enter the commands required to repair. –  Marty Fried Oct 9 '12 at 0:53
1  
You might even try to get into root mode by holding SHIFT just before Ubuntu starts booting. You can open (I believe it's called) recovery mode. See wiki.ubuntu.com/RecoveryMode (and note that you need SHIFT). As @Marty states, recovering from your actual system will be a lot easier than from a live disk. Oh and consider changing the title of your question to include something like "from a Live boot" –  Tomas Oct 9 '12 at 1:48
    
none of these worked, but thanks –  Giovanni Azua Oct 9 '12 at 8:55

1 Answer 1

up vote 1 down vote accepted

Following the details on this page I gained access to the broken Ubuntu installation and executing the following fixed the issue. After that I took out the LiveCD and rebooted and then I could login normally. I finally reinstalled the latest nVidia driver.

mv /etc/X11/xorg.conf /etc/X11/xorg.conf.nvidia

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.