I'm going crazy trying to get ubuntu working on my windows 7 laptop, which I freshly installed about five times. My computer is a G75VW with nVidia 660m. It came with Windows 7 and a 1GB HDD. I added a solid state drive, installed windows onto the SSD, and I'm using the HDD for data (the HDD still has some of the old windows recovery/boot partitions, which take up comparatively little space, and I figure could be useful if I ever botch the boot programs).
I then began installing ubuntu onto the SSD, which I knew would be a little trickier than usual because wubi and live ubuntu pendrives didn't work (I think because my windows setup is using UEFI) and because I read on these forums about some problems people experienced with nVidia drivers. Anyway, eventually I stumbled across this, installed it, and I was able to select the pen drive from the boot menu and it started up without a hitch. Everything looked great in ubuntu (I never saw ubuntu running on a 1080 screen before!), so I made a new 40gb partition for ubuntu, an 8gb partition for swap, and I think I installed the boot to the first partition of the SSD, the 200 mb partition. Here's a picture:
The installation runs smoothly (either from "try ubuntu without installing, and then installing from within ubuntu, or going straight to the installation from the pendrive), and then it asks me to reboot. When I reboot, I'm greeted with the GRUB 2 menu, and Ubuntu booted up without any problems... However, about 5-10 minutes after ubuntu boots, I get a warning that compiz crashed, I hit relaunch, but it doesn't relaunch. Around this time, most of the desktop environment crashes and disappears (window borders, sidebar, topbar, etc).
If I log out and log back in, the desktop is still bare. If I make a new admin user and log into that, same issue. If I rebooted, the GRUB2 menu would appear, but ubuntu would either a) boot with a really low resolution and still no unity desktop, or b) not boot at all, just boot a black screen. Side note: from GRUB 2, if I choose Win7, it will not boot, so I need to hit escape on boot and get into the boot menu to boot windows 7. This doesn't bother me; I'm mentioning it in case it's indicative of the larger problem.
I booted using the pen drive again, re-installed ubuntu, and changed the graphics driver from software sources to something proprietary from nvidia (I read on here that some people's resolution dropped to like 600x800, and that nvidia drivers fixed the problem). However, the same exact thing happens: compiz crashes, I hit relaunch, it actually does relaunch once or twice, but it never stayed open for more than a minute and then it was gone forever.
I read this guide, which I tried to follow step-by step, but many steps didn't work - perhaps most notably the Ubuntu recovery area, which seems to simply crash my PC after making a selection. However, I can use a terminal from within Ubuntu (on two occassions, I did these commands immediately after the fresh install, when the desktop was still running and I had native resolution, but after I restarted the computer the desktop was broken again), so I typed sudo apt-get install nvidia-current, and it installed the driver, and nvidia-xconfig also seemed to work (it needed root access, and I don't know what was supposed to happen, but it saved something to a file), but the inevitable compiz crash/desktop crash/screen resolution shrink still came around. One last note, it seems like with every boot after an install, ubuntu becomes less and less stable, doing things like booting (I hear the ubuntu startup sound) but the screen is black, or the screen just freezes on the ubuntu logo and then glitches out with random pixels if I press enter).
I know that's a lot of information, but I'd appreciate any suggestions.