Installing Ubuntu 14.04 on a Intel NUC

These are the instructions I used to install Ubuntu 14.04 on a Intel NUC BOXD54250WYKH1.
I was having difficulty in getting the Ubuntu installer to recognize my SATA 2.5″ Crucial_CT240M500SSD1 SSD. Every time the Ubuntu install would get to the disk partitioning screen it would crash. It turns out my partition table was formatted in MSDOS and is required to be in GPT. Some of the screen shots I generated using a Ubuntu VMware virtual machine, however the same steps apply to a physical machine. In Fig 1 you can see that the partition table type is msdos.

STEP 1. Boot to the Ubuntu Live CD

STEP 2. Verify that your partition table is not GPT, by running diskparted. Select the disk you will be installing Ubuntu on and select VIEW and Device Information.

sudo diskparted

Fig 1.
partition-table-msdos

STEP 3. Run gdisk utility

sudo gdisk /dev/sda

The gdisk utility states that it found an invalid GPT, and will convert the MBR to a GPT.
Fig 2.
gdisk

Below I create a new partition 2 that is 550MB in size and flagged as an EFI system partition.

Command (? for help): n
Partition number (2-128, default 2):
First sector 34-33554398, default = 1077248) or {+-}size{KMGTP}
Last sector (1077248-33554398, default = 3354398) or {+-}size{KGTP}: +550M
Current type is 'Linux filesystem'
Hex code or GUID (L to show codes, Enter = 8300): ef00
Change type of partition to 'EFI System'
Command (? for help): w

Fig 3.
EFI-system-partition

STEP 4. Format the EFI system partition as FAT32

sudo mkfs.msdos -F 32 /dev/sda1

Fig 4.
gpt-device

After completing these steps I was able to restart the Ubuntu installer and install Ubuntu 14.04 on my NUC and Crucial SSD.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s