Having spent the past 5 hours setting a new desktop on Ubuntu I figured I would note down my procedures. May help somebody in the future and for my reference as well. Simple senario. Install Ubuntu. My set up is:
ASROCK motherboard, Intel CPU, NVIDIA gefore 7600 gt graphics card, ethernet connection to router. The problem is you cannot use the GUI install without the graphics driver installed. This needs to be done, then run the install itself.
There was an obvious problem with the graphics compatability, loading was very slow and always crashed. This turns out fairly easy to fix, lot less daunting then I thought.
On a working computer. Go to the NVIDIA site, download drivers. Select your make and model. You get sent to a .run file. Save this file onto a usb pen drive.
You then need to run linux and install the Nvidia drive. Select to just run linux from the CD. Once ubuntu has finished starting (no more orange bar, you just get a blank creamy coloured screen) quickly press CTRL + ALT + F1, before the computer tries to load any graphics and crashes. This takes you to another x window which is basically a terminal.
Plug your USB drive into the USB port. To locate the usb drive type
cd /dev
ls sd*
This will bring a list of the drives in the computer, including USB and HDD. sda is typically the HDD. the list continues sdb,sdc etc. Typically as the USB drive was the last item plugged in it will be the last sd(letter) in the list. Mine, in this example is sdc. To access the actual files on the USB drive you need to see a number after the sdc. Mine for example is sdc1, the number correlates with partitions.
We now need to mount the USB drive so you can access the .run file on it. Do do this you will need to type
sudo mkdir /mnt/sdc1
sudo mount /dev/sdc1 /mnt/sdc1
now access the files by typing
cd /mnt/sdc1
Now the drive is mounted you need to exit the current x-window sessions in able to update it. This is done by typing
We then need to install build-essential so your machine can run the .run file to do this type
sudo apt-get install build-essentail
You will need to be connected to the internet to do this (simply has an ethernet cable from the machine to a working router, wireless is not really an option at this point)
sudo init 1
You will see lots of checks flash by and you end up in a menu. You need to select Drop to Root Shell Prompt.
move back to your mounted USB drive (cd/mnt/sdc1)
run an ls to check the .run file is there
finally type
sudo sh NVIDIA********.run (whatever the full file name is fills the *’s) This will take you a through a series of instructions and install the drivers.
Now the driver is installed we are ready to install but we first must unmount the USB drive. Otherwise errors will occur during installation. To do this run
umount /dev/sdc1, maybe killing the sh process, should the device still be busy.
Make sure /mnt/sdc1 is empty to garuntee the drive has been unmounted and remove device.
Return to the original x-window by retarting it typing
sudo telinit 3
Then run the install file as normal.
Once ubuntu has been installed it may still start up in low graphics mode. To get around this go to System -> Administration -> Hardware Drivers. The NVIDIA driver should appear there but not in use. Unselect and reselect the “Enabled” check box. This will then finally run a quick program which will leave you with a fully working NVIDIA driver on a Ubuntu Machine!!
Please comment to let me know if this has been useful or if you have any problems.