Ubuntu – Ubuntu 12.04 and 13.04 installs fail if Secure Boot (UEFI) is enabled on Toshiba Tecra R950

13.04secure-bootsystem-installationtoshibauefi

Just bought a Toshiba Tecra R950 laptop, which comes with Secure Boot enabled by default, and Win8 preinstalled.

I wrote an Ubuntu 12.04 amd64 iso on an USB using Linux Live Usb Creator – LiLi (I use this on all Ubuntu installs), installed the OS alongside Windows8-64 and the system continued to boot in Windows 8 without any boot prompt.

I wiped Win8 (actually dd if=/dev/zero of=/dev/sda) and reinstalled, and the bootloader went for PXE boot (didn't recognize the grubx64.efi file in the EFI partition).

I tried the same with Ubuntu 12.10 and 13.04 with no success. I tried reinstalling grub-uefi-amd64-signed, running grub-install –uefi-secure-boot, copying grubx64.efi to /EFI/Ubuntu/ and adding the bootloader entry using efibootmgr, with no success. The bootloader just loads Windows (or PXE if no Windows is installed).

I tried changing the BootOrder via efibootmgr to make the Ubuntu entry the only option, with no success. Also tried setting the entry name to "Windows Boot Manager", didn't have any effect.

A trip to the BIOS Setup didn't help much. I can disable SecureBoot but I want to keep Windows8 setup in UEFI mode, and apparently I can't have Ubuntu installed alongside it. Also I don't see any section in the BIOS for adding additional UEFI bootloader keys.

Has anyone had any success booting Linux with Secure Boot enabled on this device ? Or on a similar Toshiba (Tecra) model ?

Best Answer

I've experienced dual-booting with dual-boot and UEFI. Here's what I did:

  1. Disable Secure Boot from BIOS (Keep it disabled, as it prevents booting once installed)
  2. Install Ubuntu normally
  3. Open up a Terminal from the live CD and run:

    sudo apt-get install boot-repair
    sudo boot-repair
    
  4. Choose the recommended option and follow the instructions it gives you
  5. Reboot
  6. Your computer should boot straight into GRUB, with Ubuntu as the main option