Home > Software > Install Ubuntu 12.04 on HP EliteBook 8560w

Install Ubuntu 12.04 on HP EliteBook 8560w


I got an HP EliteBook 8560w and besides Windows 7, I also wanted to install Ubuntu, specifically Ubuntu Desktop, latest version 12.04.

I downloaded the distribution image and follow the procedure from here http://www.ubuntu.com/download/help/create-a-usb-stick-on-windows. But my findings in this article also applies if you install from a CD or SD card. EliteBook 8560w has an integrated SD card reader and you can boot from it. To create an SD card with the install image on it follow the same procedure as for the USB stick.

And now you have the CD/USB stick/SD card with the Ubuntu image on it. And now you should follow the next steps:

  1. Restart your laptop.
  2. Press F10 (or Escape and then F10) to open BIOS settings menu.
  3. Reset to default BIOS settings by selecting this option in the first tab and confirm the action.
  4. Use the left/right arrow keys to go to the System configuration tab.
  5. Using up/down arrow keys, select BIOS boot order.
  6. Make sure CD/USB Hard drive/SD card is selected, depending on your install storage medium.
  7. You can also modify the boot order.
  8. Save changes and exit.
  9. If you haven’t modify the boot order accordingly, press F9 (or Escape and then F9) and select the medium from which to boot – CD/USB stick/SD card with the Ubuntu image on.
  10. Your Ubuntu installer will start. If boot procedure is stuck after displaying one line of text, restart from step 1.
  11. Select from the Ubuntu installer menu “Advanced settings”.
  12. Press F1 and then F6. It will open a command prompt.
  13. Type live nouveau.modeset=0. It will start the Live Ubuntu on your stick.
  14. Start the installer by clicking on the icon on the desktop.
  15. Now follow the usual installer procedure.
  16. Wait until your system restarts.
  17. When you enter the GRUB menu, press ‘e’ to edit the commands. Later update: As per one of the comments below, you may need to press Shift to enter GRUB menu.
  18. Add the nouveau.modeset=0 kernel parameter to the linux command (after quiet splash)
  19. Boot your system and log in
  20. Now you have to add the nouveau.modeset=0 kernel parameter to the GRUB options.
    1. Edit the /etc/default/grub file and add the kernel parameter to the GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" line, like GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nouveau.modeset=0".
    2. On the command line run sudo update-grub
    3. Alternatively you can install GRUB Customizer.
  21. Install the nVidia drivers
    1. Go to System Settings.
    2. Select Additional drivers and install the Recommended one.

Just to summarize a few things to keep in mind:

  • BIOS settings needs to be reset to defaults.
  • The install medium needs to be marked as bootable in BIOS.
  • Do not start with the installer directly, but with the live Ubuntu and start the installer from there.
  • The Linux boot parameter nouveau.modeset=0 needs to be set. Alternatively you can try with acpi=off. This workaround is necessary only for the laptops that ship with nVidia chipset, which is the usual case.
  • nVidia additional drivers must be installed after the usual Ubuntu installation.

That’s it!

About these ads
Categories: Software
  1. June 11, 2012 at 3:04 am | #1

    Thanks!

  2. June 11, 2012 at 3:08 am | #2

    The nouveau.modeset steps are only necessary if your HP 8560w has an nVidia graphics card. Most ship with this chipset, but a few have others.

    There are a few related bugs that cause this work around to be necessary as you’ve provided.

  3. June 11, 2012 at 3:44 pm | #3

    I updated my post according to your comment. Thanks!

  4. Lukas
    July 7, 2012 at 6:30 pm | #4

    Is other HW in this notebook working ok with Ubuntu 12.04, or not?

  5. July 8, 2012 at 12:32 pm | #5

    As far as I understood, there are some models with a graphic chipset different than nVidia. And I think those are working out-of-the-box. But I haven’t tried. Mine (as most of these laptops) has nVidia.

    • July 30, 2012 at 2:11 pm | #6

      My elitebook 8560w has an AMD firePro graphics card. Does this mean I don’t have to reset the bios to install ubuntu? I also want to install ubuntu alongside of my win7, do you have any recommendations for making an ubuntu partition? Thanks!

      • July 30, 2012 at 7:46 pm | #7

        I haven’t tested with AMD card. Maybe you can try without and if it doesn’t work, just use the above method. It would be nice to put your comments here (and I will also include them in the post).
        I’m not an Ubuntu expert, but I made one partition for Ubuntu (extfs) and one for swap – both on an extended partition.

        • August 8, 2012 at 7:10 pm | #8

          Hello, I have a small update.
          when finally trying to install ubuntu, i found an other unseen problem with the partitioning: the 8560w comes with 4 partitions already (system, C, HP_TOOLS, HP_RECOVERY) this way I cannot make a new partition for ubuntu. Deleting one of the hp partitions could be an option but it might be a bad idea. I know this article focusses on a different problem, but how did you overcome this partition problem and how did you make an extended partition?

          I did try to run ubuntu 64 version from a live cd and it worked, only thing was when I checked the graphics card in the ubuntu system, it said “unknown”. Does this mean it is not working properly?

          Sorry if I’m asking silly questions, but my own research didn’t give me the answers yet.
          Thanks again!

          • August 26, 2012 at 6:36 am | #9

            Regarding your graphics card being shown as ‘unknown’, it may be that you still need to get the recommended drivers for it installed. I’m going to try this process to see if I can get it to boot properly..

            • August 27, 2012 at 1:07 am | #10

              I managed to get it installed, but I had to use Kubuntu instead of Ubuntu since that one did get to the main menu and displayed the options (Try Kubuntu, F1, F2, etc.).

              In one of the F menus, there’s an option to set acpi=off. If you do that, you’ll be able to boot all the way to the desktop and then install. After you get Kubuntu 12.04 installed, then you can use “sudo apt-get install ubuntu-desktop” to get Ubuntu in place.

              To boot Ubuntu instead, go to a terminal and do the following:
              “sudo dpkg-reconfigure kdm” and select lightdm from the list and then “OK”.

              Restart machine.

              It should now be using lightdm as the default manager. If everything works fine up to this point, then you only need to check what you need to do in order to remove all KDE components. For example, “sudo apt-get remove kde-full –purge” might be a good one to start looking into.

              Good luck.

  6. Anonymous
    July 27, 2012 at 6:54 pm | #11

    Thanks a ton!, it worked.

  7. anon
    September 12, 2012 at 9:25 am | #12

    how do i get the fingerprint reader working

  8. Anh
    September 15, 2012 at 7:20 am | #14

    Select from the Ubuntu installer menu “Advanced settings”.
    Press F1 and then F6. It will open a command prompt.
    ……………

    My advanced setting doesn’t have any thing and I can’t open Command prompt after press f1 and then f6

  9. jk
    September 17, 2012 at 5:20 pm | #15

    Between step 16 and 17: You may need to press “shift” to display the Grub loader.

    • September 17, 2012 at 6:41 pm | #16

      Thank you for your comment. I will update the post.

  10. lurk
    December 1, 2012 at 2:10 pm | #17

    Did you try updating to 12.10 on it? If so, did it work fine, without problems?

  11. Dave
    March 20, 2013 at 9:14 pm | #18

    ThomasBeelen :
    Hello, I have a small update.
    when finally trying to install ubuntu, i found an other unseen problem with the partitioning: the 8560w comes with 4 partitions already (system, C, HP_TOOLS, HP_RECOVERY) this way I cannot make a new partition for ubuntu. Deleting one of the hp partitions could be an option but it might be a bad idea. I know this article focusses on a different problem, but how did you overcome this partition problem and how did you make an extended partition?

    Thanks again!

    For a debian install, I shrank C: using ntfsresize, made a note of the position of the TOOLS partition, deleted it, then created an extended partition in the gap, and recreated a logical drive at the same position as the TOOLS one (at the end of the extended partition). So TOOLS is now a logical partition rather than primary. Still seems to be working, but no guarantees.

    (I actually created new logical partitions for linux first, and the TOOLS one last, so that the logical partitions would be in disk order. Not sure if that’s critical.)

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: