Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Yes, I have read, many times, "Installing Ubuntu on a Pre-Installed Windows 8 (64-bit) System (UEFI Supported)," and I have read the "UEFI" piece with the subtitle "Installing Ubuntu Quickly and Easily via Trial and Error." I have learned much from these pieces, but I'm still too much of a newbie to make it all work.

I have an HP15 Notebook with Windows 8.1 (64 bit) pre-installed. The chip is Intel Pentium CPU N3520 @ 2.16 GHz. Ram is 4GB. I wish to keep Windows 8.1 and have Ubuntu 14.04 dual boot with it.

The steps I've taken:

  1. I changed the boot order in BIOS to enable booting to the USB.

  2. I have Ubuntu on a USB, and I have toured it on that device. When I tried to install Ubuntu on the HD, I did not get the option of installing it along with Windows.

  3. I turned off fast startup in Win8.

  4. I disalbed hibernation in Win8.

  5. In Win8 Disk Management I noticed that the partitions are these: 400 MB (Recovery Partition) 260 MB (EFI System Partition) 678.58 GB NTFS Windows (C:) 19.28 GB NTFS Recovery (D:) (OEM Partition)

  6. Shut down.

  7. In Win 8's Disk Management I created 300 GB unalloated partition by shrinking C:. The partition is GPT. The other partitions seem to be MS-DOS. Based on my understanding of the above articles, I leave UEFI enabled/installed, and I leave Secure Boot enabled.

  8. On this machine ESC F10 gets one into BIOS. (ESC F2 gets one into UEFI.)

8 Booted up in the USB, using the try ubuntu without installing.

  1. Set up internet connection.

  2. tried to install Ubuntu on HD. Did not get the option to install alongside Windows.

  3. At this point I guess I'm supposed to use the "something else" option, but unless it takes me through step-by-step, I'm afraid of screwing things up.

  4. Here is what the BIOS currently has: Legacy Support is disabled Secure Boot is enabled UEFI boot order is USB Diskette then OS Boot Manager, then other options

(Many years ago I did this with MEPIS and had no trouble (:-).)

Many thanks.

share|improve this question
    
I think you'll have to choose "Something Else". In the partitioning screen that appears, can you see a partition marked EFI (the 260 MB partition)? If it shows up as an EFI partition, I think you're safe and can go ahead with the installation. Side note: You can't mix GPT and MSDOS partitions. The entire disk uses GPT, or it doesn't use GPT. In your case, it does. –  muru Jul 9 at 2:00
    
Suggested partitions are here: askubuntu.com/questions/336439/… Generally Desktop systems do not need /boot as a separate partition. HPs also often need work arounds to boot: askubuntu.com/questions/486752/… –  oldfred Jul 9 at 4:07

3 Answers 3

I have Ubuntu on a USB, and I have toured it on that device. When I tried to install Ubuntu on the HD, I did not get the option of installing it along with Windows.

The "Install Alongside" option is (almost?) always missing when doing an EFI-mode install of Ubuntu. You'll have to either use the "Something Else" option or completely wipe Windows from the computer. There are numerous descriptions of how to use the "Something Else" option, both on this site and elsewhere, such as:

In Win 8's Disk Management I created 300 GB unalloated partition by shrinking C:. The partition is GPT. The other partitions seem to be MS-DOS. Based on my understanding of the above articles, I leave UEFI enabled/installed, and I leave Secure Boot enabled.

You're confusing two things. The GUID Partition Table (GPT) is a data structure that describes the entire disk. On a GPT disk, every partition is a GPT partition -- but these partitions can belong to different OSes or be used for different purposes by a single OS, just like partitions on a Master Boot Record (MBR) disk.

The term "MS-DOS," applied to disk, can refer either to an entire disk that uses the MBR partition scheme or to a single partition that uses the FAT filesystem. Given your context, I suspect you mean the latter, although if you've got two physical disks, it could be that you've got one GPT and one MBR disk. A GPT disk can certainly hold FAT partitions, and in fact, one special FAT partition, known as the EFI System Partition (ESP), holds boot loaders that enable the computer to boot. If you need more help interpreting your disk layout, you must provide more details, such as a screen shot of a GUI partitioning tool or cut-and-pasted output showing your partitions from a text-mode tool like parted or gdisk.

share|improve this answer

An additional important point if you want both Windows and Ubuntu to be bootable through EFI:

When you select the Installation Type of "Something else" and then get the screen that allows you to do partitioning, select the EFI partition (e.g. /dev/sda1, not /dev/sda) for "Device for boot loader installation". This is allows GRUB to work together with EFI. At least in 14.04, this selection is not the default, so look at the partitions to find one with a Type of "efi".

share|improve this answer

I answer my own question above in the form of a newbie step-by-step guide for getting Ubuntu 14.04 and Windows 8.1 dual booting on an HP 15 Notebook sold in the US.

Thanks to all above who provided their own answers and follow-up questions to my own question and for putting up with my ignorance and nevertheless helping me along the way. Most of what follows merely applies your suggestions to this particular situation. [DISCLAIMER: Things always change. Your situation may differ for some reason. OR I might have made a mistake in remembering exactly what I did. Always back up your files before messing with the computer in ways not familiar to you. Know how to restore the computer before proceeding. See the User Manual in HP Support Assistant.]

  1. Assumption: You have an HP 15 Notebook with Windows 8.1 preloaded.

  2. In Win8.1 download the iso file of Ubuntu 14.04. Copy it to a USB stick or DVD [I used a USB stick, and the following directions reflect that. Adjust these directions if you are using a DVD or another source for Ubuntu.]

  3. Restart or power up the computer. Immediately press ESC f10. This gets you to the BIOS file. Use the arrow keys to select System across the top. Press Enter. This will give you a list of system settings. You will see that UEFI and Secure Boot are Enabled, and Legacy Support is disabled. Leave all that as is.

  4. In the UEFI Boot Order, use arrow keys to select USB diskette on Key/USB Hard Drive. With the f9 or f10 key [see bottom of screen] move that to the top of the list. OS boot manager should be second in the list. (Doing this allows you to boot with the USB stick and try Ubuntu.)

  5. Exit BIOS with changes saved.

  6. In Windows go to Control Panel -> Power Options -> Choose what the power button does. Here turn off fast startup.

  7. In a console, and with administrator rights, disable hibernate with this command: powercfg.exe -h off

  8. Shut down (not restart, etc.).

  9. Power on. In Windows, find Disk Management, which I think is through Control Panel. Since this was a brand new computer for me, it had a lot of space in the c: partition. I shrunk that by about half, leaving it free, unallocated space.

  10. Shutdown.

  11. Place the USB stick in and power on. You should be asked here if you want to install Ubuntu or try it without installing. I always selected the latter. You can install from the live-session of Ubuntu.

  12. Be sure to have your internet connection working.

  13. When you're ready, click on the Install Ubuntu 14.04 icon. If you're really lucky, you'll be given the option to install Ubuntu alongside Windows. I was not lucky, so here's what needed to be done.

  14. Choose "something else." Du courage!

  15. Select the empty partition you produced in Windows Disk Manager. Here, one by one, you will make a root partition (/), a home partition (/home), and a swap partition. For each you select a size, its name, and its mounting point. Root ad home are both primary; swap is logical. I did this in that order. Since my RAM is 64 GB, I made the swap partition that size. The root partition I made about 50 GB, and the rest I gave to /home. For file type I followed sage advice and remained with EXT4. When all that is done, click "Install Now."

  16. Shut down. Take the USB stick out. Power up, and what happened is that all I got was a direct boot into Windows. Fear not. Shut down. Power up again and immediately press ESC f9. That should bring up boot options. OS boot manager, ie Windows, comes first. Select Ubuntu, which is second, and the computer boots into Ubuntu.

  17. Done, unless you'd rather not have to do the ESC f9 business every time you want to boot Ubuntu. Then, I suggest you follow instructions provided by "oldfred" to the question at "Dual Boot Win8/Ubuntu Loads Only Win." I'm not enough of a non-newbie to be able to follow it, but installing rEFInd is tempting. Good luck.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.