Comments (6)
I'll try looking into it in the next few days.
Thanks for reporting the issue.
from packer-debian10.
@eaksel. I could not find a solution in the meantime. Thanks!
from packer-debian10.
@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:
-
efibootmgr -c -d /dev/sda -p 1 -l '\EFI\debian\shimx64.efi' -L 'Debian'
(My preferred option, ref: https://bugs.launchpad.net/ubuntu/+source/efibootmgr/+bug/1363719/comments/4) -
echo 'FS0:\EFI\debian\shimx64.efi' > /boot/efi/startup.nsh
(Alternative option)
from packer-debian10.
@eaksel Thanks for your investigation! I'll test it.
from packer-debian10.
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.
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)
- can't run with vmware HOT 2
- Disable Grub startup timeout HOT 2
- not available for hyper-v HOT 1
- variable iso_checksum_type does not exist anymore HOT 4
- VirtualBox debian10.json build: uto... failed: No such file or directory HOT 1
- Link up failed Debian 10 installation HOT 2
- Cannot build two VM's simultaneously HOT 3
- Feature request: Add Debian 11 Bullseye HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from packer-debian10.