UEFI boot error

nelson687

New Member
Messages
8
Hi, I have a problem with my EFI boot. Due my university requirements, I had to install Ubuntu 12.10 into my Samsung laptop which came with Windows 8. At the beginning everything went well, but one day I tried to activate the secure boot and when I restart the laptop I got the message "Invalid signature detected, check secure boot policy in setup". So i restarted the pc and inactivated the secure boot, but when I tried to start Windows 8 I got this message "The boot configuration data for your PC is missing or contains errors. File :\EFI\Microsoft\Boot\BCD Error code: 0xc000000f". Since then, I've been trying a lot ways in order to have BCD repaired, but none worked.I tried to do this (http://qliktips.blogspot.com.ar/2012/11/fix-windows-8-boot-issue.html)Bootrec /fixmbrBootrec /fixboot Bootrec /rebuildbcdbut in the rebuildbcd I got this meesage "the requested system device cannot be identified due to multiple indistinguishable devices potentially matching the identification criteria"also tried Recovering the Windows Bootloader from the DVD - EasyBCD - NeoSmart Technologies Wiki for the nuclear holocaust but when I do this bcdedit.exe /import c:\boot\bcd.temp I got the same above message.I don't know what else to do, I think I've tried everythin, I'd really appreciate if you could help me,thanks!
 

My Computer

System One

  • OS
    Windows 8
When you boot your system and go into the bios or look at a Boot Device Menu, what options do you show?

I assume you still show a Windows Boot Manager, and you have tried that?
 

My Computer

System One

  • OS
    Windows 8.1 x64
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Home Grown
    CPU
    i7 3770K
    Motherboard
    ASUS P8Z77 -v Pro, Z87-Expert
    Memory
    16 G
    Graphics Card(s)
    EVGA GTX 680 Classified (2)
    Hard Drives
    Kingston SSD 240 GB
I don't know why I wrote Samsung, actually my laptop is an Asus. I'm not sure what do you mean with Windows Boot Manager? I just have the grub menu, and into the bios I just have all hw options
 

My Computer

System One

  • OS
    Windows 8
When you boot, you should be able to get into the bios. You might see an F8 option to open Boot Device menu. Check the attachment and see if you have something like it.

If all you see during boot is the grub menu, you may want to disable Fast Boot, if so enabled. Also in some cases, starting from a cold boot might help you get into the bios.
 

Attachments

  • Ubuntu boot - Copy.gif
    Ubuntu boot - Copy.gif
    199.5 KB · Views: 492

My Computer

System One

  • OS
    Windows 8.1 x64
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Home Grown
    CPU
    i7 3770K
    Motherboard
    ASUS P8Z77 -v Pro, Z87-Expert
    Memory
    16 G
    Graphics Card(s)
    EVGA GTX 680 Classified (2)
    Hard Drives
    Kingston SSD 240 GB
actually a I see a something like your picture, but choosing either option, either windows or ubuntu, when I choose windows I still getting the error
 

My Computer

System One

  • OS
    Windows 8
Do you know for sure you installed Ubuntu as UEFI and not Legacy?

If you boot to the Windows Boot Manager, you should not see the Grub loader.

I am also a little surprised, if you have the Windows Boot Loader set as first priority in your bios that Windows 8 is not popping up a recovery message.

Can you still boot your system if secure boot is turned off? If so, there are a couple of Items we could use from your install.
 

My Computer

System One

  • OS
    Windows 8.1 x64
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Home Grown
    CPU
    i7 3770K
    Motherboard
    ASUS P8Z77 -v Pro, Z87-Expert
    Memory
    16 G
    Graphics Card(s)
    EVGA GTX 680 Classified (2)
    Hard Drives
    Kingston SSD 240 GB
I cannot start windows either with secure boot on or off. Ubuntu was installed in UEFI mode, and I can start Ubuntu normally, but cannot start Windows. When I have Windows Boot Loader as first in priority I don't see grub, but I'm still getting the same error
 

My Computer

System One

  • OS
    Windows 8
That must be a relief.

If you really want to be able to boot into 8 again (what for ? ), you could see if boot repair will fix it.

I think it comes with ubuntu 12.10 - if you don't see it, you can install it :

from Konsole/Terminal

-Type:

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

- Press Enter.

- Then type:

sudo apt-get install -y boot-repair

-Press enter

He should then be under System>Administration>Boot-Repair
 

My Computer

System One

  • OS
    7/8/ubuntu/Linux Deepin
    Computer type
    PC/Desktop
While you are in Ubuntu, could you take a picture of the GParted Partitions windows with the screenshot utility. Rename it something simple and attach using the paperclip on the Advanced Replies? I will attach mine to see how close yours is. The Windows 8 partitions will be different because you have a OEM install, and of course the Ubuntu partition probably be different, depending on how you set it up.

Also, if you ever boot back into the Install DVD and go to the repair-Advanced Options-Command prompt, you might try getting us a listing of your BCD Store. When in the command prompt, type the following and replace the drive letter to store the resulting text to a flash drive or somewhere else you can retrieve it. Then attach it also.

bcdedit /enum all > L:\bcdedit.txt

I am just hoping we can see what might be going wrong and correct it with BCDedit.

In the grub menu, do you have a bkpbootx64.efi and Windows Boot Manger entry. If so, have you tried the bkpbootx64.efi option?
 

Attachments

  • GParted_Ubuntu2.png
    GParted_Ubuntu2.png
    25.9 KB · Views: 293

My Computer

System One

  • OS
    Windows 8.1 x64
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Home Grown
    CPU
    i7 3770K
    Motherboard
    ASUS P8Z77 -v Pro, Z87-Expert
    Memory
    16 G
    Graphics Card(s)
    EVGA GTX 680 Classified (2)
    Hard Drives
    Kingston SSD 240 GB
This is the state of my partitions. The only difference I see with your image is that I have the sda5 partition which I thought that was the EFI partition for Ubuntu. I created another EFI partition following a tutorial for install Ubuntu with Windows 8, but as I can see now, the /boot/efi is mounted into the fat32 partition, the strange thing is that Widows and Ubuntu was working well until I start to change things in the bios options. (I activate the secure boot, then inactivate and a few things more and windows stopped working)



screenShot.PNG


Also I tried to run this command bcdedit /enum all but all I had was:

Code:
the boot configuration data store could not be opened


the requested system device cannot be identified due to multiple indistinguishable devices potentially 
matching the identification criteria

In my grub menu I have "Windows Boot Uefi Loader" and "Windows UEFI bootmgfw.efi", none of those are working.

thanks!
 

My Computer

System One

  • OS
    Windows 8
You may not have noticed, but our partitions are more than just a little different. If you notice your windows 8 partition, on the right side, has a boot flag... which probably means that partition is set as active. I am a little hesitant about suggesting anything since I don't want you to loose you one bootable OS.

But, you might think about restoring your system to factory specs, unless you have an easier way, and then reinstall Ubuntu according to the video link Theog posted.
 

My Computer

System One

  • OS
    Windows 8.1 x64
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Home Grown
    CPU
    i7 3770K
    Motherboard
    ASUS P8Z77 -v Pro, Z87-Expert
    Memory
    16 G
    Graphics Card(s)
    EVGA GTX 680 Classified (2)
    Hard Drives
    Kingston SSD 240 GB
you are right! I didn't notice that, the sda4 should not have the boot flag. I have tried to restore the system to factory specs, but it's not possible since the recovery has problems to find the recovery partition, also, when I try to restore the system, I get an error saying that the disk is locked or something like that. Actually, I don't mind losing my data, since I have no data, my pc is almost new, I just want to keep the windows 8 original copy, and don't want to install it again since I don't have a original copy, therefore, I'm willing to take the risk and try something to fix this problem, do you have any suggestion regarding how to set that partition to inactive?

thanks!
 

My Computer

System One

  • OS
    Windows 8
you rock man!! I could fix it! Using gparted I remove the boot flag in both partitions (sda4 and sda5) and just leave it in the FAT32 partition, then, I restore the windows to factory specs, now I can boot both windows and ubuntu :) . I just have 2 more concerns, every time I start windows, I get first a message which says "scanning and fixing E:" then windows starts normally.
Second, I'd like to know, I will change ubuntu for debian when it has UEFI support. Should I use again one efi partition for each SO? or I'd just have to use the FAT32 partition for boot for windows and linux?

again thanks! I really appreciate your help guys
 

My Computer

System One

  • OS
    Windows 8
As far as I know, there should only be one EFI partition on a system. If you were to have two drives, you could put one on each drive and boot independently to each OS.

With the Disk Manger utility in Ubuntu, you can mount the partitions. Mount the EFI partition and you should see the file structure you might be used to. A Boot Folder and a Microsoft folder with the normal sub folders. When you install Ubuntu, it adds another folder to the root of that structure.

I like to keep them separate and use the Boot Device menu during boot to pick an OS. If you like the grub menu, then use the Boot-Repair utility in Ubuntu. But somewhere the partitions were set a strange way and I do not know how that might have happened.

Anyway, glad you got it working.
 

My Computer

System One

  • OS
    Windows 8.1 x64
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Home Grown
    CPU
    i7 3770K
    Motherboard
    ASUS P8Z77 -v Pro, Z87-Expert
    Memory
    16 G
    Graphics Card(s)
    EVGA GTX 680 Classified (2)
    Hard Drives
    Kingston SSD 240 GB
Just registered to say THANKS!!! After installing Kali Linux I was unable to boot my Windows8 partition. I have been trying everything. At the end I resolved the problem by removing the additional boot flags. Thanks again. This post made my day.
 

My Computer

System One

  • OS
    Windows 8, Linux Kali, Ubuntu 14
Back
Top