2

So, I'm trying to install the official nVidia drivers for my fancy graphics card, and they advice disabling the X server before installing, as well as making sure that I can boot without the X server, so as not to wreck anything. However, I seem to be doing something wrong.

As I understand it, this should be as simple as changing the runlevel from 2 to 1? (I am aware that all this may simply be me not understanding runlevels)

If that is correct, a quick test should be simply typing "sudo init 1" or "sudo telinit 1" in a terminal? Doing that makes the system attempt to shutdown, only it stops at the purple screen with the ubuntu logo and 5 white dots underneath. I haven't observed it get anywhere from there, I always end up holding down the power button. "sudo telinit 3" has not visible effect.

Alternatively, I should be able to get there using the recovery mode, activated through the grub menu? I have very little success with that. After picking recovery mode, I am faced with a set of options about how to proceed. Both choosing the one with "network enabled" and "text only", I get a dialog explaining that this will mount my / file system in read/write mode, and whether this is what I want. I choose yes, and it seems to report that my drive is fine (there's a single line of text detailing the state of the partition). And then it stops. I haven't tried letting it sit for more than a few minutes, but presumably this process should be comparable in duration to a regular boot?

I am not particularly fond of messing with any .conf-files until I am certain that I can handle things with training wheels on. So, I guess there are two questions: the one in the title, and "how do I start a text-only session without changing defaults?"

Thanks in advance :)

2
  • Please read here askubuntu.com/questions/65856/how-does-one-exit-the-x-server on how to stop the X server. Also (I'm not sure) but I think Nvidia (now) requires the nouveau driver already blacklisted , I mean before the Installation begins, but you will see.
    – NickTux
    Dec 13, 2012 at 10:50
  • You can simply select a kernel with Upstart from the Advanced Options in the GRUB menu. This will give you a text console so you can run the Nvidia update.
    – user790976
    Feb 3, 2018 at 18:26

1 Answer 1

1

To stop the xserver temporalily use the following cmd:

sudo service gdm stop

Reboot the system after installing the drivers to re-start the xserver.

1
  • This did not work for me on Ubuntu 16.04. I got the error Unit Gen.service not loaded. Jul 22, 2018 at 16:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .