Sunday 2 October 2016

Tricking Ubuntu to boot on a Sony Vaio Pro 13

This is just a reminder to myself for the next time I install / update Ubuntu on my laptop that I need to do the following after installation, otherwise Ubuntu won't boot. Assumes that Secure Boot is disabled and using UEFI boot.


  1. Install Ubuntu
  2. Use the boot disk to load a live session (Try Ubuntu)
  3. Mount the EFI partition
    sudo mount /dev/sda1 /mnt
    cd /mnt/EFI
  4. Create a Microsoft boot directory
    sudo mkdir -p Microsoft/Boot
  5. Copy the Ubuntu boot files into the Microsoft boot directory
    sudo cp -r ubuntu/* Microsoft/Boot/
  6. Create the boot file Microsoft wants (assumes not using Secure Boot)
    sudo cp Microfsoft/Boot/grubx64.efi Microsoft/Boot/bootmgfw.efi
  7. Unmount partition
    cd
    sudo umount /mnt