]> git.zerfleddert.de Git - m1-debian/commitdiff
typos, tutorial += firmware-linux, live system += cryptsetup
authorThomas Glanzmann <thomas@glanzmann.de>
Fri, 2 Sep 2022 08:35:03 +0000 (10:35 +0200)
committerThomas Glanzmann <thomas@glanzmann.de>
Fri, 2 Sep 2022 08:35:03 +0000 (10:35 +0200)
Hallo Thomas,

vielen Dank dafür, dass Du dich um den Debian Support für Asahilinux
kümmerst.

Ich konnte dank deines Tutorials

https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blob_plain/refs/heads/master:/files/quickstart.txt

und des Live-Systems Debian nach meinem Geschmack installieren
(separate /boot Partition und / mit luks verschlüsselt).

Mir sind nur ein paar Kleinigkeiten aufgefallen, wenn man dem "Use the
live system to install debian" Teil folgt.

- typo: den.debian.org statt deb.debian.org ;)
- /lib/firmware/ existiert noch nicht auf dem mit debootstrap
  installierten system, so dass das entpacken der firmware von der EFI
  Partition fehlschlägt, es sei denn man hat vorher in der chroot
  Umgebung firmware-linux installiert oder das Verzeichnis manuell
  angelegt.
- Man könnte vielleicht darauf eingegangen, dass man in der chroot
  Umgebung einen User anlegen sollte (am Besten mit sudo), oder
  root ein Passwort gibt. Sonst hat man sich nach dem booten selbst
  ausgesperrt.
- cryptsetup im Live-System wäre vorteilhaft für luks recovery (kann
  man natürlich nachinstallieren und auch persistent machen, aber wenn
  es direkt dabei wäre, wäre es noch besser ;)

Ich weiß, das sind alles Kleinigkeiten, und jeder, der solche Dinge
tut, sollte genug Wissen haben um nicht darüber zu stolpern.

Also nochmals vielen Dank! :)

Andreas

bootstrap.sh
files/quickstart.txt

index c79389d2e741f3ff36e67a121c0b12a5a3ed9aa9..aa7279ac57d6ff67cd83f1e5ed3768c95032e11f 100644 (file)
@@ -78,7 +78,7 @@ build_rootfs()
         handle_crosscompile
         sudo rm -rf testing
         mkdir -p cache
         handle_crosscompile
         sudo rm -rf testing
         mkdir -p cache
-        sudo eatmydata ${DEBOOTSTRAP} --cache-dir=`pwd`/cache --arch=arm64 --include initramfs-tools,pciutils,wpasupplicant,tcpdump,vim,tmux,vlan,ntpdate,parted,curl,wget,grub-efi-arm64,mtr-tiny,dbus,ca-certificates,sudo,openssh-client,mtools,gdisk testing testing http://deb.debian.org/debian
+        sudo eatmydata ${DEBOOTSTRAP} --cache-dir=`pwd`/cache --arch=arm64 --include initramfs-tools,pciutils,wpasupplicant,tcpdump,vim,tmux,vlan,ntpdate,parted,curl,wget,grub-efi-arm64,mtr-tiny,dbus,ca-certificates,sudo,openssh-client,mtools,gdisk,cryptsetup testing testing http://deb.debian.org/debian
 
         export KERNEL=`ls -1rt linux-image*.deb | grep -v dbg | tail -1`
 
 
         export KERNEL=`ls -1rt linux-image*.deb | grep -v dbg | tail -1`
 
index 4b57a8966676d9c9b4ff04ec06cd40bbb9e793af..61fed7de1e626d7f02c58684cc98ecbd2e0a7e75 100644 (file)
@@ -113,12 +113,12 @@ cat <<EOF > /etc/fstab
 EOF
 
 cat <<EOF > /etc/apt/sources.list
 EOF
 
 cat <<EOF > /etc/apt/sources.list
-deb http://den.debian.org/debian testing main contrib non-free
-deb-src http://den.debian.org/debian testing main contrib non-free
+deb http://deb.debian.org/debian testing main contrib non-free
+deb-src http://deb.debian.org/debian testing main contrib non-free
 EOF
 
 apt update
 EOF
 
 apt update
-apt-get -y install initramfs-tools pciutils wpasupplicant tcpdump vim tmux vlan ntpdate parted curl wget grub-efi-arm64 mtr-tiny dbus ca-certificates sudo openssh-client mtools gdisk
+apt-get -y install initramfs-tools pciutils wpasupplicant tcpdump vim tmux vlan ntpdate parted curl wget grub-efi-arm64 mtr-tiny dbus ca-certificates sudo openssh-client mtools gdisk firmware-linux cryptsetup
 
 apt-get install -y grub-efi-arm64-signed-
 echo 'grub-efi-arm64 grub2/update_nvram boolean false' | debconf-set-selections
 
 apt-get install -y grub-efi-arm64-signed-
 echo 'grub-efi-arm64 grub2/update_nvram boolean false' | debconf-set-selections
Impressum, Datenschutz