4

I'm planning to install a new Ubuntu system on an empty hard drive with more than 3TiB of volume. In order to fully utilize the drive, the regular MBR partition table can not be used.

How do I set up a GPT partition table in the Ubuntu installation? The manual installation option only offers ways of setting up certain partitions, not a general partition table, if I am not mistaken. How do I make sure that the installer will not use the usual MBR partition table?

Although my motherboard uses UEFI, there is no special reason for me to use another bootloader than the regular grub that I am aware of (except if it is easier to install on a GPT drive or significantly faster/more advanced). All guides I have found so far focus mainly on the mechanics of U/EFI boot.

What steps do I have to take to basically set up a regular manual Ubuntu installation, but with a GPT partition table instead of MBR/grub? I assume the selection for the bootloader installation is also different in this case?

  • 1
    Just partition the disk with Gparted from live system with a GPT partition table. Gparted>Device>New Partition Table>GPT – dadexix86 Feb 9 '16 at 19:08
  • 1
    If I remember that correctly the Ubuntu installer will automatically use a GPT table for partitioning huge drives. – Takkat Feb 9 '16 at 20:17
  • I actually planned on installing the system manually in any case and, won't the installer overwrite the formatting that has been done in Gparted? – Prototype700 Feb 10 '16 at 2:05
  • I recommend doing an EFI/UEFI-mode install. That actually simplifies the boot options on an EFI-based computer, since on such a machine, the EFI is always active, whereas the CSM (which provides BIOS-mode support) is an optional add-on. GRUB 2 is the default boot loader for both BIOS-mode and EFI-mode installs, although of course the code is not 100% identical for both modes. – Rod Smith Feb 10 '16 at 15:23
1

GPT partition table is specially used for Hard Disks sizes greater than 2TB.

The partition table is independent of the BIOS mode (i.e Legacy or UEFI).

To create a GPT partition table--

  1. Boot into the live USB or live CD containing Ubuntu.
  2. Click on TRY UBUNTU , so that you can create partition table manually.
  3. Open GParted Partition Editor.
  4. On the top of GParted Menu bar , click on Device --> Create partition Table.
  5. Select GPT from the drop down list and click on Apply.

Now to verify the Partition Table-

  1. Open Terminal
  2. Type the command:

sudo su

(to execute further commands as super user since some files are read-only)

parted -l

(to list all the partitions)

If the above command doesn't work , then try specifying the device as:

parted -l /dev/sda

There you will see that the partition is GPT.

Now install Ubuntu as usual , installation will not rewrite the partition table (partition table remains GPT only) but new partitions are created.enter image description here

  • 2
    This doesn't work for Ubuntu 16.04. When you start the installation and choose Entire, it will prompt you that it going to delete the partitions. It'll show you the partitions it's going to create. Then it deletes the GPT creates an MSDOS partition table. The GPT partition table is rewritten. It creates 3 partitions, the ext4 partition, and extended partition, and a linux-swap partition. The only way I can perform a fresh install of Ubuntu on a GPT partitioned drive, is to manually create the partitions, then use the Something Else option for the install. – L. D. James Mar 16 '17 at 0:54

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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