I've read some guides on dual-booting Ubuntu and Windows 8, but all of the guides I have read are about older versions of Ubuntu. They recommend disabling Secure Boot because there is a bug in the Ubuntu installer that deletes the Windows 8 bootloader altogether. Is disabling this still necessary in Ubuntu 14.04? Can I enable it again after I am done installing? Also, on a related note, I KNOW that disabling Fast boot is needed for the installation, but after the installation is done, can I re-enable that too?
-
2im not sure about if its necessary for 14.04. however i disabled mine to install 14.04. after the installation, i tried enabling it and windows wouldnt boot, so i had to disabled again. I dont know about about the fast boot because i always let it disabled: never liked the idea that my computer won't shut down but hibernate instead -.- – Geo Jul 09 '14 at 02:41
-
You should be able to boot with secure boot on, but then not from grub menu. There is a bug. Unable to chainload Windows 8 with Secure Boot enabled Also post #11 on using refind https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1091464 Also if reinstalling Ubuntu the issue is the installer does not see Windows or see it correctly so it overwrites it. If you use Something Else or manual install, then you are ok and that is the only way you should reinstall. – oldfred Jul 09 '14 at 04:01
-
oldfred I just tried dual-booting and I DID encounter that bug. I disabled Secure Boot to work around it. – John Scott Jul 14 '14 at 18:14
3 Answers
You've actually raised four distinct issues:
- Secure Boot -- In theory, disabling Secure Boot should not be necessary to install Ubuntu 14.04 (or even a couple versions before that). Practice usually follows theory, but sometimes it doesn't -- some computers just don't seem to get along well with Shim (the program that Ubuntu uses to work with Secure Boot). A Secure Boot problem is almost certain to manifest itself as an inability to even begin to boot -- either the Ubuntu installer or the Ubuntu system once it's installed. If you see so much as a GRUB menu or an Ubuntu boot logo, the Secure Boot hurdle has been passed. (In Fedora, Secure Boot can have follow-on effects much later, but this is much rarer in Ubuntu.)
- ESP-deletion bug -- Old versions of Ubuntu would blindly create a fresh FAT16 filesystem on the EFI System Partition (ESP), which is where EFI boot loaders are stored. This action would erase the Windows boot loader, along with any other files on the ESP (such as third-party boot managers, firmware update files, etc.). This bug was reported in 2011 and fixed prior to the release of Ubuntu 12.04, and so should not affect Ubuntu 12.04, 12.10, 13.04, 13.10, or 14.04. That said, backing up all your current partitions before installing Ubuntu (or any OS) is a worthwhile precaution.
- The firmware's fast boot feature -- Modern EFIs usually have a feature called "fast boot" or something similar. When enabled, the firmware takes certain shortcuts in its startup process, which can include minimal (rather than full) initialization of USB devices. (The OS must do its own full initialization later, no matter what the firmware does.) The effect can be that the computer won't boot from a USB flash drive. This is obviously bad if you're trying to install Ubuntu from such a disk, so it will be necessary to disable this feature when installing Ubuntu. (If your system has an optical disc and you're trying to install from it, USB-initialization shortcuts should be irrelevant, though.) Note that the details vary from one computer to another; you might not need to disable a "fast startup" feature on all computers. Once Ubuntu is installed, it's usually possible to re-enable the feature and Ubuntu will continue to boot -- but you'll need to disable it again if you want to boot from an external medium (say, for emergency maintenance).
- Fast Startup in Windows -- Windows 8 has a feature called Fast Startup (aka Hybrid Boot or Hybrid Shutdown). This feature turns an ordinary shutdown operation into a suspend-to-disk action. One consequence of this change is that filesystems, including the ESP, are not properly unmounted. If you then try to dual-boot, the result can be filesystem damage to shared filesystems and/or an inability to mount shared filesystems. Thus, it's imperative that this Windows feature be disabled, and left disabled. Many Internet sites, such as this one, provide instructions on how to disable this feature. Note also that the Windows Fast Startup feature is completely unrelated to the firmware feature that may bear a similar name.
I hope this clarifies matters.
EDIT:
Recent versions of Ubuntu (I don't recall precisely when this started, but 16.04 is affected) tightened Secure Boot controls, making these versions susceptible to the "follow-on effects" I noted earlier. Specifically, third-party kernel modules (drivers) may not load unless you jump through hoops to sign them, as described here. Drivers for ATI and Nvidia video cards and for VirtualBox are commonly cited as reasons to disable Secure Boot to work around these problems, but there are other unsigned drivers that affect some systems. Secure Boot does offer benefits, at least in theory, so if you're up to the technical challenge, I encourage leaving it active and signing any kernel modules you need. (Personally, I'm not a fan of proprietary video modules, but some people do need them to get adequate performance with some games and applications. If you don't need them, using the standard open source drivers is an adequate workaround.)

- 44,284
- 7
- 63
- 105
The question of disabling/enabling SecureBoot really is device-specific, but I don't know about enough models to answer that. It has worked on a few laptops for me but on most I have had to disable it. As a general answer, turn it off. As for FastBoot, the thing is, it will make your Windows partition unreadable to Ubuntu. The Windows partition will be marked unclean and Ubuntu can't mount it - it may also affect other partitions used in Windows. So enable FastBoot if you are certain that you won't need to use the Windows partitions from Ubuntu. Disable it if you may need to access them Ubuntu.

- 197,895
- 55
- 485
- 740
-
I was able to run Ubuntu live successfully with Secure Boot enabled. Does that mean anything? – John Scott Jul 09 '14 at 19:17
-
@FuzzyToothpaste Then you can install with SecureBoot, and SB causing problems will be unlikely. RodSmith's answer is a few levels above mine, since he also talks of how FastBoot affects the EFI partition (which I had forgotten). – muru Jul 09 '14 at 19:29
-
I just installed Ubuntu and from the GRUB menu I chose Ubuntu. It worked. Then I rebooted and chose Windows. It didn't work. Do yoy know what I did? I disabled Secure Boot and tried again. Now it works and I am using Ubuntu right now. – John Scott Jul 14 '14 at 18:11
-
I had to disable it to work around the bug oldfred mentioned when he commented on this question. https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1091464 – John Scott Jul 14 '14 at 18:14
-
@FuzzyToothpaste thanks for telling me that. Something to keep in mind the next time I install Ubuntu on a laptop. – muru Jul 14 '14 at 20:19
My Windows 10 would tell me I had to check MOK and then "continue boot", then it would fail and not load, then go straight to Windows. I turned off secure boot, loaded into Ubuntu, installed it. Secure Boot is messing with our process. Next time you boot into Windows when you're done, turn Secure Boot on

- 1