devnull/debootstrap_minimal_dekstop...

476 B

Howto debootstra a bare minimal Debian Desktop from scratch

  • partitioning and filesystem
  • create a root partition and swap partition
  • mkfs.ext4 and mkswap
  • run debootstrap
  • debootstrap bullseye /mnt/ http://ftp.de.debian.org/debian
  • bind mound dev proc and sys
  • for m in dev proc sys ; do mount /$m /mnt/$m ; done
  • chroot into the new environment and run bash
  • chroot /mnt/ /bin/bash