Upgrading to Ubuntu 10.10 – Not booting, freezing on loading screen (Nvidia Driver issue) – FIX

After restarting my newly upgraded Ubuntu machine (from 10.04 to 10.10) was greeted with my computer freezing on the loading screen (whilst booting).

After rebooting and getting access to the console I discovered it appeared to be an issue with the Nvidia drivers, which were causing the X server to not start:

Failed to load /usr/lib/xorg/extra-modules/nvidia_drv.so
[    23.651] (II) UnloadModule: "nvidia"
[    23.651] (EE) Failed to load module "nvidia" (loader failed, 7)
[    23.651] (EE) No drivers available.
Failed to load /usr/lib/xorg/extra-modules/nvidia_drv.so[    23.651] (II) UnloadModule: "nvidia"[    23.651] (EE) Failed to load module "nvidia" (loader failed, 7)[    23.651] (EE) No drivers available.

So after trying a number of different ways I finally found out how to fix this issue:

run the nvidia-xconfig program:

cd /usr/lib/nvidia-96/bin/
sudo ./nvidia-xconfig

Modify the xorg.conf file, and replace the driver name nvidia with nv.

sudo vi /etc/X11/xorg.conf

Replace:

Driver         "nvidia"

With:

Driver         "nv"
Then just try and start the Xserver again:
startx

Hopefully this will help  others fix this quicker than I managed.

Disabling Bluetooth on Ubuntu/Debian

If you don’t use you Bluetooth on your laptop then you might want to disable it. Firstly it’s another service your computer does not have to start up when it boots and secondly it will use less power.

For all the following commands you will probably need root access, i.e. you may need to prefix “sudo”.

To stop the bluetooth service use the following command.

/etc/init.d/bluetooth stop

Now lets remove the Bluetooth services from starting when you boot up:

update-rc.d bluetooth remove

Unfortunately Bluetooth support is build into the Kernal itself, but the following line should prevent the Kernel from loading up:

echo 'alias net-pf-31 off' >> /etc/modprobe.conf

That’s it, all done. When you reboot Bluetooth should not restart itself any more.