Giter Club home page Giter Club logo

Comments (12)

miluoZ avatar miluoZ commented on September 13, 2024 2

Here is just my comment. My computer is Mini PC Intel® NUC Kit NUC6i7KYK. At first, I installed win10. Then I installed Ubuntu 16 with wubiuefi. Due to EFI, there's no windows manager. It just goes through into win10. I checked it with EasyUFI under Win10. I found Ubuntu was there with "hidden" status. I moved it to the top and switched shimx64.efi to grubx64.efi (because I disabled the secure boot). Then I restarted the computer. Everything is ok~

from wubiuefi.

hakuna-m avatar hakuna-m commented on September 13, 2024 1

the entry was not showing it up, so I forced it with commmand "bcdedit /displayorder {id} /addlast".

The bcdedit commands to build a new Wubiuefi entry are:

  • Check your UEFI entries with
    bcdedit /enum firmware
  • Copy UEFI entry of "Windows Boot Manager" to create a new entry for Wubiuefi:
    bcdedit /copy {bootmgr} /d "Wubiuefi"
  • Set file path for the new Wubiuefi entry. Replace {guid} with the returned GUID of the previous command.
    bcdedit /set {guid} path \EFI\ubuntu\wubildr\shimx64.efi
    • shimx64.efi = 64 bit UEFI with Secure Boot
    • grubx64.efi = 64 bit UEFI without Secure Boot (i.e you have to disable Secure Boot)
    • grubia32.efi = 32 bit UEFI without Secure Boot (i.e you have to disable Secure Boot)
  • Set Wubiuefi as the first/last entry with addfirst/addlast in the boot sequence. Replace {guid} with the returned GUID of the copy command.
    bcdedit /set {fwbootmgr} displayorder {guid} /addfirst
    or
    bcdedit /set {fwbootmgr} displayorder {guid} /addlast
  • Set a timeout
    bcdedit /set {fwbootmgr} timeout 10
  • Check your UEFI entries again with
    bcdedit /enum firmware
    If you compare it with the comment of mcbyte-it, there is an entry in the UEFI menu ( guid=cbfe2a65-d996-11e5-8118-8b921f5b8924 )
Firmware Boot Manager
---------------------
identifier              {fwbootmgr}
displayorder            {bootmgr}
                        {cbfe2a65-d996-11e5-8118-8b921f5b8924}
timeout                 10

... and the description of the UEFI boot entry:

Windows Boot Manager
--------------------
identifier              {cbfe2a65-d996-11e5-8118-8b921f5b8924}
device                  partition=\Device\HarddiskVolume4
path                    \EFI\ubuntu\wubildr\shimx64.efi
description             Ubuntu MATE
locale                  en-US
inherit                 {globalsettings}
default                 {current}
resumeobject            {cbfe2a61-d996-11e5-8118-8b921f5b8924}
displayorder            {current}
toolsdisplayorder       {memdiag}
timeout                 30

from wubiuefi.

mcbyte-it avatar mcbyte-it commented on September 13, 2024

Checking bcdedit with detailed enum, I see it is there, but now showing:

C:\>bcdedit /enum firmware

Firmware Boot Manager
---------------------
identifier              {fwbootmgr}
displayorder            {bootmgr}
                        {cbfe2a65-d996-11e5-8118-8b921f5b8924}
timeout                 10

Windows Boot Manager
--------------------
identifier              {bootmgr}
device                  partition=\Device\HarddiskVolume4
path                    \EFI\MICROSOFT\BOOT\BOOTMGFW.EFI
description             Windows Boot Manager
locale                  en-US
inherit                 {globalsettings}
default                 {current}
resumeobject            {cbfe2a61-d996-11e5-8118-8b921f5b8924}
displayorder            {current}
toolsdisplayorder       {memdiag}
timeout                 30

Windows Boot Manager
--------------------
identifier              {cbfe2a65-d996-11e5-8118-8b921f5b8924}
device                  partition=\Device\HarddiskVolume4
path                    \EFI\ubuntu\wubildr\shimx64.efi
description             Ubuntu MATE
locale                  en-US
inherit                 {globalsettings}
default                 {current}
resumeobject            {cbfe2a61-d996-11e5-8118-8b921f5b8924}
displayorder            {current}
toolsdisplayorder       {memdiag}
timeout                 30

from wubiuefi.

mcbyte-it avatar mcbyte-it commented on September 13, 2024

I found out that it doesn't show because the entry is not in the {bootmgr} display order, I had to execute manually the command:

bcdedit /displayorder {id} /addlast

Now it shows upon boot, but it still doesn't work:

File: \EFI\ubuntu\wubildr\shimx64.efi
Status: 0xc000007b
Info: The application or operating system couldn't be loaded because required file is missing or contains errors.

from wubiuefi.

mcbyte-it avatar mcbyte-it commented on September 13, 2024

Guess this is my final update:

The entry in {fwbootmgr} works if I go to the bios settings, there I see Ubuntu, and when I select it to override default boot Ubuntu works perfectly.

The problem is that my bios doesn't show boot options, so each time I want Ubuntu I have to start with bios and override, or set it as default.

Is there a way to enable EFI boot with the Windows Boot Manager?

from wubiuefi.

hakuna-m avatar hakuna-m commented on September 13, 2024

The problem is that my bios doesn't show boot options, so each time I want Ubuntu I have to start with bios and override, or set it as default.

Maybe, it is helpful to manage EFI boot options without starting firmware/BIOS. There are Windows programs like EasyUEFI which can do it.

It is also possible to use bcdedit to manage EFI boot options. e.g.

bcdedit /set {fwbootmgr} displayorder {id} /addfirst

to set the entry with {id} to the top of the firmware/BIOS boot menu.

Is there a way to enable EFI boot with the Windows Boot Manager?

EFI boot is enabled because your Windows uses the Windows Boot Manager for EFI systems but there are known issues with non-Microsoft programs if you want to start them from BCD menu. Wubi has similar problems as described here for EasyBCD. That is the reason why Wubi uses the firmware/BIOS menu if your Windows is installed in EFI mode.

from wubiuefi.

enochmh avatar enochmh commented on September 13, 2024

Thanks @hakuna-m for the workaround to this problem. I'm still unable to make windows boot manager show the ubuntu entry, but now every time I want to switch to ubuntu I only have to use EasyUEFI then select the ubuntu entry and clic one time boot. Then I reboot the pc and voila!

from wubiuefi.

nhymxu avatar nhymxu commented on September 13, 2024

EFI system need to choose when bios logo load ( press some function button to display boot menu - using when choose usb device to boot ), then wubi display here.

Because EFI system load menu from EFI system partition - not windows boot menu

from wubiuefi.

enochmh avatar enochmh commented on September 13, 2024

@nhymxu unfortunately that does not work for me. I'm using a toshiba radius 12. When I press f12 and then on the boot menu nothing is there. there is no entry for wubi. only the usb boot option and the ssd.

from wubiuefi.

hakuna-m avatar hakuna-m commented on September 13, 2024

@enochmh Interesting. Regarding Gentoo Wiki your Toshiba Radius 12 has only poor UEFI support:

Long version: The system supports it, but poorly.

But if Windows 10 is preinstalled in UEFI mode, you need UEFI support to run Windows 10. So it is not really a good option to switch it off for a dual-boot with Ubuntu. So it seems Wubiuefi with EasyUEFI is also a solution for a firmware/BIOS with poor UEFI support.

from wubiuefi.

hakuna-m avatar hakuna-m commented on September 13, 2024

@miluoZ Thanks for your comment.

and switched shimx64.efi to grubx64.efi (because I disabled the secure boot)

That should be not necessary. shimx64.efi also launches grubx64.efi if Secure Boot is disabled.

from wubiuefi.

suoko avatar suoko commented on September 13, 2024

Hi there,

I had similar problems with an acer:
the entry was not showing it up, so I forced it with commmand "bcdedit /displayorder {id} /addlast".
This way I can see the entry in the win boot loader but still it's not loading, giving oxc00007b error.
Then I tried creating a new entry with easyuefi but it's not showing neither in the uefi menu nor in the win boot loader.
I also tried with visual bcd editor but it's not that easy to configure. When adding entries with this sw I can see them in win boot loader though.
Any suggestions ?

from wubiuefi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.