Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

It is a great hassle to convert the MBR-partition to UEFI after install and I only succeeded once, by pure luck :-) Trying to recreate what I have done before, I end up having my system completely re-formatted, the ESP-partition included. The installer doesn't take the ESP-partition into account and I end up having a system which still uses the BIOS-legacy mode. My questions are;

  1. Should I make an install from my HP backup-DVDs to have the original ESP-partition installed and then install Ubuntu? If so; How can I make the installer "aware" of the ESP-partition and to make the installer take it into account to make use of it for Ubuntu?

  2. Can I create a UEFI-partition from scratch and then install Ubuntu?

Thank you in advance!



share|improve this question
up vote 2 down vote accepted

Thankfully, Ubuntu 12.04 finally fixes the bug that caused earlier versions to trash valid EFI System Partitions (ESPs). Thus, you can install 12.04 (relatively) safely, without undue fear that it will trash your existing EFI boot loader(s). That said, backing up your ESP is a good idea before any OS installation. You can do this in Windows by opening an Administrator terminal and typing "mountvol S: /S". This will mount the ESP as S:, so you can back it up. (It's just files on a FAT filesystem; unlike BIOS, EFI doesn't rely on code hidden in boot sectors.)

To more directly answer the first part of your first question, I can't say whether you should restore from HP's disks or install Windows in some other way. That's up to you, really, and your choice has more to do with your preferences for what's in your Windows installation than with how Ubuntu will react to it.

The second part of your first question is tricky to answer. Ubuntu will boot up in either BIOS mode or in EFI mode, and which one depends on your firmware and the options it provides to control the boot process. Many EFI implementations provide very poor user control over this matter, so it may be a bit hit-or-miss. In a worst-case scenario, though, Ubuntu will install in BIOS mode and you'll be able to convert from that to EFI mode by switching the boot loader. You might be able to force an EFI-mode installation by installing my rEFInd boot manager and booting the Ubuntu installer via rEFInd. (You may want rEFInd or something similar to switch between Windows and Ubuntu once everything's running, so installing it now can be beneficial in the long run.) By default, rEFInd shows only EFI-bootable OSes, including optical disc installers, in its menu, so if you boot the Ubuntu installer via rEFInd, you can be pretty sure it's running in EFI mode. It will then install grub-efi rather than grub-pc, so you shouldn't need to deal with the boot mode after installing.

Your second question is a little unclear to me. You can certainly partition your disk ahead of time, using either the Master Boot Record (MBR) or GUID Partition Table (GPT) partitioning scheme. You can also create an ESP ahead of time if you like. (In fact, I recommend doing this rather than letting Ubuntu create the ESP; Ubuntu's default ESP is about 1/10 the size it should be! I recommend using an ESP in the 200-500 MiB range.)

share|improve this answer
I actually managed once to make an ESP-partition with your tools following your guidance on your website, but I had to install Windows from my recovery disks and hoped that the newly created HPTOOLS-partition would provide UEFI-mode to the Ubuntu-installation. That wasn't the case. Is there a possibility to make the whole setup UEFI-ready when the system has been installed? To make things worse; this is a dual-boot system with Windows 8. – Emanuel Dec 28 '12 at 18:57

Your Answer


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.