Update to Debian trixie
This commit is contained in:
parent
7a83c50208
commit
6118557715
12 changed files with 193 additions and 140 deletions
|
|
@ -41,17 +41,8 @@ if efibootmgr --quiet; then
|
|||
efibootmgr --bootnum 0150 --delete-bootnum || true
|
||||
efibootmgr --bootnum 0151 --delete-bootnum || true
|
||||
|
||||
# efibootmgr --create-only --bootnum 0150 --label "Removable media" --file-dev-path --loader '\EFI\BOOT\BOOTx64.EFI'
|
||||
# efibootmgr --create-only --bootnum 0151 --label "Debian" --file-dev-path --loader '\EFI\debian\shimx64.efi'
|
||||
|
||||
# The version of efibootmgr in bookworm does not support the --file-dev-path
|
||||
# argument, so here are commands that directly write to efivarfs.
|
||||
# When upgrading from bookworm to trixie, remove the commands below and
|
||||
# uncomment the commands above.
|
||||
echo "BwAAAAEAAAA0AFIAZQBtAG8AdgBhAGIAbABlACAAbQBlAGQAaQBhAAAABAQwAFwARQBGAEkAXABCAE8ATwBUAFwAQgBPAE8AVAB4ADYANAAuAEUARgBJAAAAf/8EAA==" | \
|
||||
base64 --decode - > /sys/firmware/efi/efivars/Boot0150-8be4df61-93ca-11d2-aa0d-00e098032b8c
|
||||
echo "BwAAAAEAAAA4AEQAZQBiAGkAYQBuAAAABAQ0AFwARQBGAEkAXABkAGUAYgBpAGEAbgBcAHMAaABpAG0AeAA2ADQALgBlAGYAaQAAAH//BAA=" | \
|
||||
base64 --decode - > /sys/firmware/efi/efivars/Boot0151-8be4df61-93ca-11d2-aa0d-00e098032b8c
|
||||
efibootmgr --create-only --bootnum 0150 --label "Removable media" --file-dev-path --loader '\EFI\BOOT\BOOTx64.EFI'
|
||||
efibootmgr --create-only --bootnum 0151 --label "Debian" --file-dev-path --loader '\EFI\debian\shimx64.efi'
|
||||
|
||||
efibootmgr --bootorder 0150,0151
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue