7

I recently purchased a Dell Vostro 5470 with a pre-installed Windows 8 OEM on a HDD 500GB. Now I'm trying to replace the HDD with a Sandisk SSD 240GB as my main disk (next step will be use the HDD with Win8 in a USB external case).

Here's the deal: I was able to install Ubuntu 14.04 in the SSD, however it can't boot with UEFI mode enabled since the installation with UEFI mode is not working (yes, I want it to work in UEFI mode, and I know it can).

I already followed the instructions to create a EFI partition: I created a GPT partition table along with a Fat32 partition, with EFI as label, and with the boot flag. Here's the output of parted -l

Model: ATA SanDisk SDSSDHII (scsi)
Disk /dev/sda: 240GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system     Name  Flags
 1      1049kB  2097kB  1049kB                        bios_grub
 2      2097kB  540MB   538MB   fat32                 boot
 3      540MB   59,6GB  59,1GB  ext4
 4      59,6GB  68,2GB  8591MB  linux-swap(v1)
 5      68,2GB  240GB   172GB   ext4

I run the Ubuntu installer, but it doesn't recognize as an EFI partition. Then, I proceed with installation and later try to use the boot-repair tool, however the option "separated /boot/efi partition" is never enabled.

How can I get this SSD running Ubuntu 14 with UEFI mode enabled?

7

If your motherboard fully supports UEFI mode, enable that. Then, make sure when selecting your flash drive, you boot into UEFI mode. To do this, I recommend using dd. To find your flash drive

sudo fdisk -l

Let's say it responds with

/dev/sda
/dev/sda1
250 gb
/dev/sdb
/dev/sdb1
14.9 gb

Then you would

dd bs=4M if=/path/to/Ubuntu.iso of=/dev/sdb

To further clarify,
bs=4m Is the base size of four megabytes, a number that I found to be fast and stable with my devices.
if=/path/to/Ubuntu.iso Input file, and then the path to the file. (Right click the file, click copy, and click the terminal and select 'Paste filenames'
of=/dev/sdb Output file (usb stick, should be discovered with sudo fdisk -l and selected based on size)

After successful boot in UEFI mode, install and make a ~100 mb partition and make it an 'EFI boot partition'. That should be it.

  • 1
    It worked perfect! I was creating my bootable USB drive with the "Startup Disk Creator" and the option 'EFI boot partition' never came up! With dd, the the usb drive was created properly in EFI mode and the option was available. Now the Ubuntu 14 is installed in the SSD and booting as secure boot! – Gabriel Araujo Dec 19 '14 at 1:43
  • No problem. Happy to be of service. – Hellreaver Dec 19 '14 at 1:44
  • Sorry about my atrocious formatting, I'm on a phone – Hellreaver Dec 19 '14 at 2:22
-1

Some motherboards have the option to select which OS to boot (mine, for instance). Then you should be able to select "Other OS" option. Look at the UEFI setup. Since you are not going to dual boot, let the installer make the partitions for you. You don't need to worry about them.

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.