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.

I followed these instructions to dual boot windows 8 and ubuntu:

Installing Ubuntu on a Pre-Installed Windows 8 (64-bit) System (UEFI Supported)

I was successfully able to install ubuntu. But then I couldn't boot into windows 8

  "File: \Boot\BCD Status: 0xc000000c Info: the boot configuration data for your pc is missing or contains errors."

So I ran boot-repair in ubuntu.

But then when I restarted computer I get:

error: invalid arch independent ELF magic
grub rescue >

At the end of boot-repair I had this message:

Please do not forget to make your BIOS boot on sda2/EFI/ubuntu/shimx64.efi file! 

I have no idea how to do that. I am able to boot into ubuntu by hitting the F12 on startup, otherwise it goes to the screen with the invalid arch error.

Here is the summary of the boot-repair: http://paste.ubuntu.com/6535680

EDIT: Still not able to boot into windows 8 from grub screen btw I get:

error: unknown command 'drivemap'.
error: invalid  EFI file path. 

EDIT: A few more details: when I installed ubuntu I had my BIOS set to legacy mode (not UEFI) as suggested by the article above. When I installed Ubuntu I chose the "Install Ubuntu alongside Windows 8" option.

share|improve this question
    
Did you able to boot ubuntu? –  Avinash Raj Dec 7 '13 at 16:27
    
Yes, as I said in my post, I can get into ubuntu by going into the boot menu on startup –  Benjamin Dec 7 '13 at 16:28
    
askubuntu.com/questions/381601/… try this. –  Avinash Raj Dec 7 '13 at 16:36
    
Without windows disk,it's not possible. –  Avinash Raj Dec 7 '13 at 16:41
1  
From the boot-repair output, it seems as if it has concluded normally. The message was telling you that if you aren't taken straight into GRUB, you should open BIOS on startup and manually set it to boot from sda2/EFI/ubuntu/shimx64.efi. Inability to load Win 8 looks like a separate problem. –  Pavel Dec 7 '13 at 16:43

1 Answer 1

Since you say in one of your comments that you can boot to Windows by selecting its boot entry in the firmware's boot manager, my recommendation is to try rEFInd. You can do this risk-free by using the CD-R or USB flash drive image; prepare the medium and try it. If you can boot to both Linux and Windows, you can then install the Debian-package version under Ubuntu. rEFInd will then take over from GRUB as your primary boot manager. You may need to clean up unwanted boot options by deleting files from the /boot/efi/EFI directory tree in Linux or by using the dont_scan_dirs or dont_scan_files options in refind.conf; see the rEFInd documentation for details.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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