I installed the latest version of ubuntu on my sony vaio e series machine which came with win8 64 bit pre-installed.I recently updated to 8.1 though.
Since the machine comes with secure boot and UEFI, I disabled secure boot, changed UEFI to legacy mode. To install ubuntu I used a live usb. I created a partition for installing ubuntu, formatted it to ext4, created another tiny partition to use it as bios code area, installed ubuntu on the partition ( the first one of course) with mount point
After installation was successful I restarted the machine. It booted into live usb again. I installed boot repair, ran it using the recommended settings. After the repair was successful it told me not to forget to change bios boot on
Now I don't now exactly what that means. So I rebooted the system, went into bios, enabled secure boot and boot mode to UEFI again (opposed to legacy). But now when I boot the system after detaching the live usb, it shows a message that operating system is unavailable. I disabled secure boot and changed to legacy mode again. Now the screen get's stuck in the initial vaio logo.
Now I think the issue was with not changing bios boot on shimx64.efi. But being this my first time with linux, I don't know what that means. Also it might be something else?I tried searching for a solution but was unable to find anything useful.I have now restored my efi files with boot repair and am able to boot into windows.
But couldn't get ubuntu to load anyways :( here is pastebin: paste.ubuntu.com/6732864/