Installation of Ubuntu 16.04 through bootable USB fails on my UEFI system (no dual boot, previously only Ubuntu installed).

I see on gparted, that the partition table on the boot partition is set to msdos, which apparently is not recommended and should be GPT.

So how can I change this, and why did the ubuntu installation fail to do this?

  • Is there anything on the disk you want to keep? Is it backed up? You can set up a UEFI booting system with either gpt or dos partitioning of the disk, Ubuntu doesn't care. – ubfan1 Jun 5 '18 at 21:55
  • There is no concern of data lost, all is backed up and the partitions are all empty. I just need to have a Ubuntu install that is able to boot. – hirschme Jun 5 '18 at 22:05

gpt disk partitioning is recommended on a machine new enough to use it. To change from dos partitioning to gpt, run a disk partitioning tool like gdisk, delete all the current partitions, create a new partition table as gpt, then remake partitions in the size you want them. Google for recommended partitioning schemes -- search for disk partitioning recommendation for ubuntu . These days, a swap partition is not necessary and is not automatically created because a swap file is used. Fine, unless you want to have multiple installations on the disk and have them share swap. I like to have two partitions for root, so I can try out a new release without giving up the current one being used. Make a swap partition if you will eventually have multiple installations. I like a big data partition, mounted at /usr/local/data. Not /home, because with multiple installations, the home directory has release specific files. From the any release's home directory, you may add links to the data partition as needed. Make a 300M partition first, for the EFI partition.

At the installer, chose the "something else", select the partitions you created, and set what they contain and what they are to be used for (e.g. fat filesystem, efi or ext4 filesystem, root).

The mode (UEFI vs legacy) the installer is booted determines the way the install is done.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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