maximbaz / arch-secure-boot

UEFI Secure Boot for Arch Linux + btrfs snapshot recovery
ISC License
126 stars 8 forks source link

initial-setup failed with "cat: '/boot/*-ucode.img': No such file or directory" #7

Closed zeno-io closed 2 years ago

zeno-io commented 2 years ago

problem : initial-setup failed with "cat: '/boot/*-ucode.img': No such file or directory"

OS: Arch Linux Kernel: x86_64 Linux 5.14.8-arch1-1

full output :

➜  ~ arch-secure-boot initial-setup
Generating Secure Boot keys...
Generating a RSA private key
.........................................................................................................++++
........................++++
writing new private key to 'PK.key'
-----
Generating a RSA private key
...............................................................................................................................++++
.......................................................++++
writing new private key to 'KEK.key'
-----
Generating a RSA private key
..................................++++
.....++++
writing new private key to 'db.key'
-----
Generating EFI images...
cat: '/boot/*-ucode.img': No such file or directory

== Command ==
/usr/bin/arch-secure-boot generate-efi

== Config ==
ESP=/boot/efi
EFI=/EFI/arch
KERNEL=linux
NAME=secure-boot-linux
CMDLINE=/proc/cmdline

== Command ==
/usr/bin/arch-secure-boot initial-setup

== Config ==
ESP=/boot/efi
EFI=/EFI/arch
KERNEL=linux
NAME=secure-boot-linux
CMDLINE=/proc/cmdline
maximbaz commented 2 years ago

Hello, you are missing one of the two optdepends, intel-ucode or amd-ucode depending on your processor.

zeno-io commented 2 years ago

Hello, you are missing one of the two optdepends, intel-ucode or amd-ucode depending on your processor.

fixed ~~