Skip to content

vmlinuz-efi missing from HashTool UEFI Secure Boot

Hey,

I'm trying to install arch via usb on to a computer with UEFI and Secure Boot on. I'm following the instructions here: https://wiki.archlinux.org/index.php/Unified_Extensible_Firmware_Interface#Secure_Boot

I get into the hashtool and I'm able to add \loader.efi but.. the next file I need vmlinuz-efi is not listed in the archiso directory like the wiki suggests it should be.

Anyone have any ideas on where I can find this vmlinuz-efi and why it's not in the place listed on the wiki?

3 points9 comments
Open on Reddit
About this post
Posted
Archived
Score
3 · 100% up
Kind
Text
ID
3mesub

Author

1
posts
3
comments
0
media
View profile

9 comments

Try vmlinuz.efi or just vmlinuz. Also, check these steps for setting up Secure Boot.

2 points

I just looked into the iso file and the file you're searching seems to be in /arch/boot/x86_64/vmlinuz or /arch/boot/i686/vmlinuz if you've got a 32 bit proc (i may be wrong but as far as i know, there is means to start the archiso with secure boot enabled but none to run arch after install (other than disabling secure boot)

1 points

Yeah Secure Boot "just works" with the Arch ISO, but needs to be manually set up on a new install. The kernel (vmlinuz) location doesn't matter, what matters is having preloader.efi enrolled as your bootloader and then having the actual bootloader named loader.efi and ensuring it is in the same directory as preloader.efi. Kernels can go wherever and it's the bootloaders job to know where they are. Though Arch pretty much always installs them directly in /boot.

All the setup is done in the installation chroot and provided by the package prebootloader. Trying to set up Secure Boot using the files on the livecd isn't going to work.

1 points

Yeah I'm unable to find anything close to vmlinuz in any of the folders/directories. I'm about to give the installation another go. I'll update if I find anything new

Edit: Found vmlinuz! It was burried somewhere... I'm a terrible person and didn't record where I found it for the next soul that encounters this issue.

1 points

Just curious, why do you want to leave Secure Boot enabled?

1 points

More than anything just to learn how the technology interacts with Linux/arch.. I'm not particularly attached to it. I was just curious if I could get it working.

1 points

Fair enough. My view is, for the educated user, it is mostly in the way. For any OS to load with Secure Boot on, a portion of the code must be frozen and certified by an administrative process. Any technology here is a work-around.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.