Note: This issue seems to affect Ubuntu 9.04 Jaunty, and Ubuntu 9.10 Karmic, in both 32-bit and 64-bit versions. I've seen some anecdotal evidence that it affects earlier releases too.
I recently set out to install Ubuntu 9.10 on my aging old home PC: an Athlon64 3800+, 2 GB RAM, decent (at the time) Asus board. Most importantly, this machine has an NVidia GeForce 7800 GT video card. To my surprise (having installed Ubuntu on numerous other machines of various age), I had a myriad of problems with the install. The symptoms were as follows:
- Installer would freeze with corrupt looking graphics if I tried to change certain options
- If I took all defaults in the installer, I could get the OS installed, but it would lock up (again with corrupt looking graphics on screen) when selecting my user name in gdm when X started up
Googling around at length revealed others with similar problems, and the common element was the GeForce 7800 GT video card. Related links:
- Recent linuxquestions.org thread that I'm on
- Three year old thread talking about similar-sounding issue in Edgy
- Bug report that finally clued me in on how to "fix" it (post #20; Michael Curran)
I don't really know what the root cause is here, but using the above info, here's a work-around: (This assumes you got the OS installed somehow, and are now at the point where you want to login, but cannot due to X locking up.)
- Get to a terminal either by recovery booting to the shell (netboot), or by hitting ctrl-alt-f1 at the graphical login screen.
- Add the NVidia ppa to get access to their newest drivers:
sudo add-apt-repository ppa:nvidia-vdpau/ppa sudo apt-get update
- Remove any existing NVidia driver:
sudo apt-get purge nvidia-glx-*
- Install the newest driver:
sudo apt-get install nvidia-glx-195
- Configure the newly installed driver:
- Reboot and you should be good to go.