Git Product home page Git Product logo

Comments (2)

gohrner avatar gohrner commented on August 17, 2024

@dennyh: I often manually have to set the correct default boot entry using efibootmgr on Linux only machines.

Otherwise, it won't boot - it will load the fallback boot loader in EFI/boot and get stuck.

The UEFIs on my machines support a "boot from file" option where I can manually select the (in my case) Ubuntu boot loader on the EFI partition to boot the freshly installed system, and then I can use efibootmgr to point the default boot to it.

Maybe this helps?

from sedutil.

dennyh avatar dennyh commented on August 17, 2024

I messed around a little with efibootmgr that @gohrner mentioned.
I made another boot entry in the UEFI boot manager and pointed it to grubx64.efi and made it default, instead of the previous default, shimx64.efi. I thought that perhaps shim was introducing some issue related to sedutil's incompatibility with secure boot. (As far as I can tell; secure boot is disabled on my system.) I performed a warm reboot and tested this new boot entry and it worked as expected. I now had two entries for launching the boot loader.

However, as soon as i did a cold restart and unlocked the drive, both entries were gone from the boot manager. I assume my UEFI can't find the partition or files or they are otherwise deemed corrupt maybe. I booted windows and I can see the three expected partitions; ESP, system and swap. I could not find any boot from file function in my UEFI. There is the UEFI Shell, but I am unsure how to use it to manually boot grub. Next, I guess I will try to boot a rescue shell and re-add the boot entries to the UEFI boot manager, after having unlocked the drive.

Edit:
I successfully launched shim from UEFI shell after unlocking the drive. It did it's thing and got Debian up and running. Now I know that it works and that it's just the UEFI boot menu not showing/generating the entry for some reason.

from sedutil.

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.