Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Before I begin : I have read many of the questions and solutions available here and on other sites to no avail. I hope I am not asking a duplicate question, but I am an admitted Linux novice.

My goal : Dual boot Windows 8 & Ubuntu 13.10 with UEFI/secure boot enabled. I want to retain Windows master boot record as first boot record and have Grub installed on same 'drive' as Ubuntu.

I am attempting to dual boot on a HP m7-j010dx. I created a live USB of Ubuntu 13.10. The only way I could get the live session to run was by disabling secure boot, the Windows fast start option, and running with UEFI disabled (legacy or "CMS" mode).

I installed from the live session. As expected, there was no option to choose OS when I restarted. The computer boots directly to Windows. From within Windows, I edited the master boot record to include an entry for Ubuntu with EasyBCDedit 2.2. I choose the appropriate partition (sda7 in my case) the appropriate boot loader (Grub 2) and made the entry. When I restarted Windows, I was given the Blue UEFI 'Choose OS' screen. Both options were available. Windows boots fine from this screen. However, when I choose Ubuntu, I am immediately directed to an error screen that reads :

"Windows failed to start. A recent hardware or software change might be the case..."

With the following error : "Status : 0xc000007b"

I've researched the error and understand what it means. I have tried numerous combinations for the Ubuntu entry in the master boot record. No luck.

One thing I suspect may be the issue is that I had to install Ubuntu in legacy mode. I have read several solutions involving boot-repair. However, If I understand correctly, this will make GRUB the first boot option and wipe out my Windows master boot record.

Any help would be appreciated.
Thank you.

share|improve this question

closed as off-topic by Avinash Raj, Braiam, Lucio, Olli, souravc Feb 15 at 18:24

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This is not about Ubuntu. Questions about other Linux distributions can be asked on Unix & Linux, those about Windows on Super User, those about Apple products on Ask Different and generic programming questions on Stack Overflow." – Avinash Raj, Braiam, Lucio, Olli, souravc
If this question can be reworded to fit the rules in the help center, please edit the question.

1  
Two things: Windows won't start unless you use UEFI + secure mode. Ubuntu can be installed using UEFI and secure mode. –  Braiam Feb 14 at 14:31
    
Reinstall Ubuntu using secure mode and UEFI (I wonder if you first have to repair Windows to reactivate it) and problem fixed (hopefully) –  Braiam Feb 14 at 14:34
    
Windows does start in either legacy or UEFI mode. If I attempt to load a live session from USB or DVD with UEFI enabled, the device fails to boot. –  123 Feb 14 at 14:35
    
Windows cannot easily switch boot modes. It may be booting with legacy mode enabled in the firmware, but in most cases, enabling legacy mode does not disable EFI mode, it just adds the possibility of booting in legacy mode. Thus, you're booting Windows in EFI mode. Period. Linux is more flexible, but switching between EFI and BIOS mode for two OSes is usually quite awkward. –  Rod Smith Feb 14 at 22:40

1 Answer 1

I recommend you read the two following pages:

To achieve your goal, I recommend that you begin by disabling Secure Boot (which you can do temporarily). Leaving it active can create complications. Disabling it may enable you to work past these problems; you can then work on Secure Boot as its own issue.

If you can't install Linux except in legacy mode, go ahead and do so, then install rEFInd or some other EFI-mode boot loader for Linux. This should enable you to boot in EFI mode. You can then tackle Secure Boot. See my page on Secure Boot generically or the rEFInd Secure Boot documentation if you end up using rEFInd.

I realize I've just given you a lot of reading; but neither EFI generally nor Secure Boot specifically is working as smoothly as it should, and the only fix is to understand things pretty well yourself.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.