Giter Club home page Giter Club logo

Comments (6)

eaksel avatar eaksel commented on July 29, 2024

I'll try looking into it in the next few days.
Thanks for reporting the issue.

from packer-debian10.

Erriez avatar Erriez commented on July 29, 2024

@eaksel. I could not find a solution in the meantime. Thanks!

from packer-debian10.

eaksel avatar eaksel commented on July 29, 2024

@Erriez,
Found multiple ways of fixing this issue, but the only one that I've been able to make work during the build sequence is copying "/boot/efi/EFI/debian/grubx64.efi" to "/boot/efi/EFI/boot/bootx64.efi" (ref: https://blog.wbcchsyn.net/1574439775.html).

The other solutions are to boot into Debian using this command in the uefi shell:
FS0:\EFI\debian\shimx64.efi

And once in Debian run one of these two commands:

from packer-debian10.

Erriez avatar Erriez commented on July 29, 2024

@eaksel Thanks for your investigation! I'll test it.

from packer-debian10.

Erriez avatar Erriez commented on July 29, 2024

Good news it that it works for UEFI builds. However, the change in setup.yml breaks build of debian10.json:
13cc32e#r56149114

A suggestion is to set an environment variable in debian10_uefi.json to ignore steps Configure automatic UEFI Boot for VirtualBox x in setup.yml.

from packer-debian10.

eaksel avatar eaksel commented on July 29, 2024

Thanks for the feedback, I hadn't checked the bios build.

Added a check to only apply this to UEFI builds.

Based on lines 34-36 of this: https://github.com/openstack/ansible-hardening/blob/master/tasks/main.yml

from packer-debian10.

Related Issues (9)

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.