Install Ubuntu on Windows 8 Laptop/PC with UEFI
#1
How to install Ubuntu on a system with UEFI Secure Boot...

The introduction of personal computers with Windows 8 preinstalled with them also introduced a controversial under-the-hood modification – Secure Boot.
Secure Boot is a technology which is included in any new computer that has Windows 8 preinstalled and the official sticker.
It is meant to check that you have a certified operating system installed on your computer before it tries to boot it.
This prevents the system from running any “non-certified” (or non-trusted) operating systems, lowering the risk that malicious code runs at boot time.

The idea itself is reasonable, but it completely ignores the fact that personal computers are able to run more than just Windows – there’s Linux, BSD variants, and plenty more. Ever since the specification came into effect, Linux developers have been working hard to support it so that people can continue installing their favorite Linux distributions.

Since manufacturers tend to stick with Microsoft’s specifications, you won’t find a lot of computers that don’t have Secure Boot. If you happen to have a computer which doesn’t include Secure Boot, then you’ll have it a lot easier by following the regular installation procedure. However, if you’re stuck with it, here’s what you’ll need to do.

Try It Normally

Since Ubuntu 12.10 and the release of 12.04.2, the distribution has added support for Secure Boot. While this support is supposed to work for most systems, it may not always be the case. The best way to find out is to try to boot the installation media and install Ubuntu onto your hard drive. Be sure, however, that you’re using the 64-bit media, as it is the only one which works with UEFI Secure Boot (this rule applies to any operating system, not just Ubuntu or Linux as a whole).

If you can’t boot the installation media or you can’t boot into your new installation, then something has gone wrong. As Secure Boot is a brand new technology, experiences can vary for everyone, with failures remaining largely unexplainable.

Disable Secure Boot

If attempting a regular installation with Secure Boot enabled worked out for you, great! If not, you may need to try something else. The specification by Microsoft states that, in order to be Windows 8 certified, it needs to allow the user to disable the technology. Therefore, you should be able to boot into your system’s BIOS and find the setting for Secure Boot and disable it. Any Windows partitions that you keep on the system will still run normally, but it just theoretically reduces the security of your system by a bit.

Turning off this feature should allow Ubuntu to be installed and run without any issues. Just remember to boot off your installation media in UEFI mode instead of BIOS mode in order to remain uniform, as Windows 8 will already be installed on your system in UEFI mode.

Re-Enable Secure Boot If Desired

From here, you’ll have two options – either keep Secure Boot off and work on your system with the slight increase in security risk, or attempt to turn Secure Boot back on. You’re more than welcome to try turning it on if you choose to do so, as you can always turn it back off if Ubuntu fails to load.

Fixing Your Booting Options
[Image: secure_boot_boot_repair.jpg?ec7b17]

If you still have Windows alongside Ubuntu, you will most likely need to update your boot configuration so that it can correctly identify Windows, especially in a Secure Boot environment. You can easily fix any issues with the Boot-Repair utility.

get boot repair utility here - Boot repair

You’ll first need to add the PPA (personal repository) as well as install it before using it.
You can do all of this, as well as launch the utility, by running the command :

Code:
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update && sudo apt-get install -y boot-repair

and then run
Code:
boot-repair
to launch it.

From here, you can click on “Recommended repair”, or go into the Advanced options and make sure that the Secure Boot option is enabled (only if you chose to re-enable it again). Hopefully, after another restart, you should be good to go!

Hope this helps,
Reply
#2
Wow, nice piece.

I have a question: which one of these worked for you, if any?
Reply
#3
to be honest i never had a real problem or difficult time installing Ubuntu on laptops with UEFI, both dual boot as wel as removing windows completely and fitting Ubuntu always worked without to much hassle...but if you know what to do and wich options you have when first try fails does make it easier Wink
Reply
#4
Another question. Did you only try Ubuntu? Have you ever tried/succeeded with Debian or Linux Mint?

Linux Mint is the only one I'm using.

It doesn't apply to me since I already have Linux Mint on my prime computer dual-booted with Windows 7, but I would like to know.

Thanks again for the tutorial.
Reply
#5
i tried various distributions, and most work..a few exceptions for some older distributions..but most distributions should work just fine as long as it is 64bit Wink
Reply
#6
What if the laptop is 32-bit, if it's still around? Would I be out of luck?
Reply
#7
Give it a try, i could maybe work Cool
You never know if you don't try
Reply
#8
not in combination with windows 8, then it has to be 64
Reply
#9
So am I to assume that each laptop that is to be sold with Windows 8 is usually 64-bit?
Reply
#10
Well, 64-bit and Touchsreen Angry
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Bypass internet connection to install Windows 11 theSEMAR 7 15,521 May 09, 2023, 07:51 am
Last Post: theSEMAR
  How to install Windows 11 in PC without Secure Boot capable and TPM version 2.0. theSEMAR 3 17,249 May 02, 2023, 23:54 pm
Last Post: RobertX
  When Debian-Mint-Ubuntu OS won't boot - The Busybox, initramfs prompt - How to fix Resurgence 2 23,745 Jan 05, 2021, 02:21 am
Last Post: waregim
  Driver only available for Windows Vista/7 but your machine running Windows 10 theSEMAR 0 20,170 Aug 13, 2020, 21:19 pm
Last Post: theSEMAR
  Disable Windows Defender in Windows 10 Pro 19H1 theSEMAR 0 26,688 May 25, 2019, 19:00 pm
Last Post: theSEMAR



Users browsing this thread: 1 Guest(s)