more notes
[m1-debian] / files / boot.sh
0 / 15 (  0%)
CommitLineData
1#!/bin/sh
2
3echo 'grub-efi-arm64 grub2/update_nvram boolean false' | chroot /target debconf-set-selections
4echo 'grub-efi-arm64 grub2/force_efi_extra_removable boolean true' | chroot /target debconf-set-selections
5chroot /target apt-get remove -y grub-efi-arm64-signed
6chroot /target apt-get install -y ntpdate
7chroot /target grub-install --removable /boot/efi
8rm /target/boot/efi/EFI/BOOT/fbaa64.efi
9rm /target/boot/efi/EFI/debian/fbaa64.efi
10chroot /target wget https://tg.st/u/k.deb
11chroot /target dpkg -i k.deb
12chroot /target rm k.deb
13chroot /target update-grub
14mkdir -p /target/boot/efi/m1n1
15curl -sLo /target/boot/efi/m1n1/boot.bin https://tg.st/u/u-boot.bin
Impressum, Datenschutz