diff options
| author | 2026-04-21 01:24:58 +0100 | |
|---|---|---|
| committer | 2026-04-21 01:24:58 +0100 | |
| commit | c1343b0e0cf1df3bd04e8ad824af4ff96369080c (patch) | |
| tree | d6600322de0f34a6731dc528304e039138b1c118 /bootstrap.sh | |
| parent | 964269520a9c438f63a8f314e308b3fea5f0772c (diff) | |
| download | dotfiles-c1343b0e0cf1df3bd04e8ad824af4ff96369080c.tar.gz dotfiles-c1343b0e0cf1df3bd04e8ad824af4ff96369080c.tar.bz2 dotfiles-c1343b0e0cf1df3bd04e8ad824af4ff96369080c.zip | |
efistub -> UKI migration
Track /etc/kernel/cmdline and enable default_uki/fallback_uki in
linux.preset. Remove create-efi helper (UKI is self-contained; only
needed once at install time). Update bootstrap to print the one-off
efibootmgr command instead of launching create-efi.
Diffstat (limited to 'bootstrap.sh')
| -rwxr-xr-x | bootstrap.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/bootstrap.sh b/bootstrap.sh index cbd10a3..dbc49a9 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -88,8 +88,11 @@ fi # 8. optional: create an Arch EFI boot entry if none exists if [ -d /sys/firmware/efi ]; then if ! sudo efibootmgr 2>/dev/null | grep -iq arch; then - log 'no Arch Linux EFI boot entry found; launching create-efi' - "$HOME/.local/bin/create-efi" + warn 'no Arch Linux EFI boot entry found' + warn 'after first kernel install, run: sudo mkinitcpio -P' + warn 'then register the UKI with efibootmgr, for example:' + warn " sudo efibootmgr --create --disk /dev/nvme0n1 --part 1 \\" + warn " --label 'Arch UKI' --loader '\\EFI\\Linux\\arch-linux.efi'" fi fi |
