712 B
712 B
Howto debootstrap
a bare minimal Debian Desktop from scratch
- partitioning and filesystem
- create a root partition and swap partition
mkfs.ext4
andmkswap
- run debootstrap
debootstrap bullseye /mnt/ http://ftp.de.debian.org/debian
- bind mound
dev
proc
andsys
for m in dev proc sys ; do mount /$m /mnt/$m ; done
- chroot into the new environment and run bash
chroot /mnt/ /bin/bash
- give the machine a good hostname
echo mycrazyhostname > /etc/hostname
- install basic stuff, like linux kernel, grub and networking-scripts
apt update ; apt install linux-image-generic grub-pc ifupdown man console-data locales