Ah yes, The Compaq CQ58 Presario laptop with that wonderful processor with the built in graphics crap. It was cheap, it was neat, and it had the wonderful windows 8 on it
...Didnt sound half bad until windows 8 popped up..
Okay, So you have a CQ58 and you want to install Ubuntu on it. of course this would typically be trivial on other laptops, simply popping in a disc into the tray, booting from the disc and installing. That was until HP decided to make the motherboard, OS, and boot file UEFI. Originally, Ubuntu 64bit (any flavor) will also install into a UEFI system. Only issue is that HP also made the EFI boot file for windows 8 only. A very annoying choice of going about things. This can potentially render the laptop useless if the OS goes corrupt ( Unless you know how to make backups and restore said EFI file and windows 8 OS ). But anyways, if you came here you are probably looking for a way to get ubuntu working on this laptop, just in case you hate windows 8 and its bloatware with memory leaks... (yes on my laptop windows 8 has horrible memory leaks at startup...)</rant>.
Take in mind, there is no 100% guarantee on my end this will work for you, it worked for me and its a rather simple work around that still enables you to boot windows 8 AND ubuntu by simply pressing a hotkey after powering on the laptop.
Now, if you are ready to go, and understand the Risk of messing around with the BIOS and OS boot system, then continue on, I can at least say that if this worked for me with my luck, itll probably work for you, scroll down to begin the tutorial.
**Step 1 Setting up the BIOS for legacy support.
1.) Power on the computer, and while at the black screen press F10
2.) You will come to a BIOS setup screen, using the arrow keys to navigate, go to the System Configuration Tab, and then select the Boot Options section.
3.) In the Boot options window, Select Enable legacy Support. And on this section select Enable and hit enter. Another prompt will come up warning things like "This can make the system unable to boot", just select Yes to finalize it and leave it at that. Do not worry about making the system unable to boot, it will boot just fine as long things are done right.
4.) after this is done, press F10 To save and exit the BIOS settings, and then when the computer boots simply shut it back down, and leave it off for now, until the next section of the tutorial.
Basically what you did here was enable Legacy support on the laptop. As Primarily the laptop is UEFI, it also supports Legacy for older operating systems like Windows7, XP, Ubuntu, etc... But you have to enable it in the BIOS. next up, how to install Ubuntu Secure Remix x64 bit.
**Step 2 Installing Ubuntu Secure Remix x64bit.
1.) Get the Ubuntu Remix install disc if you haven't already. (See Authors notes below for link to the image)
2.) Now start the laptop, at the black screen before the compaq splash screen comes up, hit the F9 Button to bring up a boot menu, this will have various boot options, and this is the part where you slip the install disc into the CD drive, and select Internal Optical Drive, (it might not be called that on your laptop, idr it corectly, but just boot from the disc drive, youll know it when you see it.)
3.) Ubuntu should boot up in the CD, where you will install like you would install Ubuntu on any other laptop. If you need help going through the install process I suggest you look somewhere on ubuntu forums for that... But its straightforward. You dont have to worry about repartitioning yourself or anything, just keep enough space for the windows 8 partition and the ubuntu partition at the slider, etc... and let it install.
4.) Now after it is done installing, It will reboot, now here is the trick, you would think you can boot windows 8 from grub and boot straight up to grub. You cannot. HP, as I said before. Jacked with the UEFI configuration and made windows 8 the primary operating system (no matter what). Now even though this is true there is a work around which ill explain here...
** Using the new ubuntu install alongside windows 8
To boot into Ubuntu ->
After powering on the laptop, hit the F9 button to go into the boot menu. When you are in the boot menu you simply select Notebook Hard Drive to boot with GRUB into ubuntu. and thats it! Take in mind you will see the "Windows 8 loader" option in GRUB but you cant use it to boot into windows 8, this is due to all kinds of lulziness to the which would be annoying to explain, simply see below if you want to boot into windows 8...
To boot into windows 8 ->
After powering on the laptop, let it sit and it will automatically boot into windows 8 if you do not select any hot key (IE: F9, F10, etc.. ) The laptop will go into the windows 8 bootloader and boot into windows 8 if you so please.
And that is it! you now have Ubuntu 64 bit installed alongside windows 8 on your compaq CQ58! using this simple work around.
PS: If youre having any issues or questions with this, let me know and ill see if I can help, as I said earlier because of how HP set this laptop up, it was rather a sticky situation getting any of this to work at first, but after I did these exact steps I showed you here, it got to working. So of course issues should be gone, and this system should work to getting ubuntu installed and running.
- From the Fellow Experimental Deviant