I recently purchased an HP Pavilion g7-1310us notebook with the intention of doing a full install of the latest version of Ubuntu on it. I succeeded in installing Ubuntu 11.10 64-bit, but not without difficulties.
I couldn't find any guides for this new generation of HP laptops, so I'm posting this to aid others.
Best Answer
Happily the answer is: Yes!
The main obstacle to loading Ubuntu 11.10 on the g7 is the video card. There is not a driver for the Intel video card. More information on the issue can be found here:
http://ubuntuforums.org/showthread.php?p=11695329
NOTE: I was informed on the Ubuntu IRC channel that this issue may not affect Ubuntu 10.04 LTS. So if you'd prefer an install that just works, you might try installing that version.
If you simply run the install CD for 11.10, you may end up with a dark screen that is virtually unreadable. To workaround this, these are the steps I followed:
Part I: Installation
Part II: Reboot
Once the installation is complete, you will be prompted to reboot your system. The nomodeset flag will not be set in your new install. You must interrupt the reboot to edit the bootloader and then, once the restart is complete, update the bootloader config file to avoid the dark screen issue. The changes are pretty simple. Follow these steps:
See the link here for screenshots: http://ubuntuforums.org/showthread.php?t=1613132 (I followed those directions but I've tried to clarify a couple points here that were frustratingly ambiguous when I first tried to follow them.)
Part III: Update Grub Config File
sudo cp -v /etc/default/grub{,.bak}
sudo gedit /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
toGRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"
sudo update-grub
Again screenshots are available at the link in Part II.
Now restart your system. It should restart without issue. If you end up on a very faintly lit dark screen, do a hard reboot and follow the steps in Part II. Then double-check the steps in Part III and follow them again. (I forget to run
sudo update-grub
the first time.)Since making these changes, I haven't noticed any screen issues or deterioration in the quality of my display. The only side-effect, as far as I can tell, is that when you choose Displays in the System Settings menu, it will say "Unknown" and all options will be grayed out.
Hopefully a driver will show up soon. More information on that topic can be found here:
[2-link limit exceeded: see askubuntu.com/a/95480/46766]
If you know of a better solution to this issue, please share it. (The one recommended in the link above -- using the ATI driver -- was strongly discouraged on the Ubuntu IRC channel.)