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.

After I installed experimental Nvidia drivers, Ubuntu will not boot. How can I remove the drivers from recovery mode?

If I choose recovery mode and in the menu choose "root" (drop to root shell prompt), and then try to use the command sudo apt-get remove --purge nvidia-*

it says:

sudo: unable to open /var/lib/sudo/thakang/console: read-only file system

W: Not using locking for read only lock file /var/lib/dpkg/lock

E: Unable to write to /var/cache/apt/

E: the package lists or status file could not be parsed or opened.

I have used login and logged in so my shell now shows :~$

I'm quite new to this so please let me know if you need some more information?

Thank you

share|improve this question
    
possibly related: about stalling fsck in recovery mode. –  guntbert Feb 3 '13 at 20:43
add comment

1 Answer 1

You need to mount your system first:

mount -o remount,rw /
share|improve this answer
add comment

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.