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:
- Restart your laptop.
- Press F10 (or Escape and then F10) to open BIOS settings menu.
- Reset to default BIOS settings by selecting this option in the first tab and confirm the action.
- Use the left/right arrow keys to go to the System configuration tab.
- Using up/down arrow keys, select BIOS boot order.
- Make sure CD/USB Hard drive/SD card is selected, depending on your install storage medium.
- You can also modify the boot order.
- Save changes and exit.
- 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.
- Your Ubuntu installer will start. If boot procedure is stuck after displaying one line of text, restart from step 1.
- Select from the Ubuntu installer menu “Advanced settings”.
- Press F1 and then F6. It will open a command prompt.
- Type
live nouveau.modeset=0
. It will start the Live Ubuntu on your stick. - Start the installer by clicking on the icon on the desktop.
- Now follow the usual installer procedure.
- Wait until your system restarts.
- 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.
- Add the
nouveau.modeset=0
kernel parameter to thelinux
command (afterquiet splash
) - Boot your system and log in
- Now you have to add the
nouveau.modeset=0
kernel parameter to the GRUB options.- Edit the
/etc/default/grub
file and add the kernel parameter to theGRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
line, likeGRUB_CMDLINE_LINUX_DEFAULT="quiet splash nouveau.modeset=0"
. - On the command line run
sudo update-grub
- Alternatively you can install GRUB Customizer.
- Edit the
- Install the nVidia drivers
- Go to
System Settings
. - Select
Additional drivers
and install theRecommended
one.
- Go to
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 withacpi=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!
Categories: Software
Thanks!
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.
I updated my post according to your comment. Thanks!
Is other HW in this notebook working ok with Ubuntu 12.04, or not?
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.
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!
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.
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!
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..
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.
Thanks a ton!, it worked.
how do i get the fingerprint reader working
Hmmm, never tried it …
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
Between step 16 and 17: You may need to press “shift” to display the Grub loader.
Thank you for your comment. I will update the post.
Did you try updating to 12.10 on it? If so, did it work fine, without problems?
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.)
Hi Adrian, I want to dig up this old article because I am looking to restore an elitebook 8370w by installing ubuntu 12.04.5 LTS on it. Did you find your elitebook reliable with ubuntu 12? Anything you can tell me about relibability, here in a response to this comment, i would appreciate, thanks!
I used it successfully for approximately 2 years, so …
Hello sir im thankful to have found a thread on this. However, correct me if I am wrong, does this guide apply when you have windows installed in the laptop?
Yes, it applies when you have Windows already installed. If you don’t, just create the USB stick/SD card image on another laptop.
Great ! That’s good to hear sir. Let say, If i want to install ubuntu 17.04 instead, do you think this will work. Well I know from this thread that you haven’t try it out, but if you think it would work, let me know. Thanks!
sorry i mean 16.04
I suspect that this will work. If you try it, please leave a comment here if it works or not. Thanks!
im lost, well i cant open command prompt, theres something called “advanced options” and i press f1 then f6 then. I will figure this out first
update: everything is OK, I was able to open the command prompt using ctrl+f1, unfortunately, i have encountered an error while installing and the installation failed
“The installer encountered an error copying files to the hard disk:
[Errno 5] Input/output error
This is often due to a faulty CD/DVD disk or drive, or a faulty hard disk. It may help to clean the CD/DVD, to burn the CD/DVD at a lower speed, to clean the CD/DVD drive lens (cleaning kits are often available from electronics suppliers), to check whether the hard disk is old and in need of replacement, or to move the system to a cooler environment.”
I will update you later if it works or not, after I get a new USB drive for installation