Skip to content

Instantly share code, notes, and snippets.

View albertlincoln's full-sized avatar

Albert Lash albertlincoln

View GitHub Profile
@albertlincoln
albertlincoln / gist:61431e4a2f35efe9d5d21b409811fc2e
Last active December 25, 2021 22:52 — forked from cdown/gist:5c5b53e1855d7812dfbc
Debian chroot inside Arch
pacman -S wget arch-install-scripts debootstrap
CHROOTBASE=/mnt/DEBCHROOT
CHROOTSTRAP=$CHROOTBASE/strap
CHROOT=$CHROOTBASE/root
mkdir -p $CHROOTSTRAP
cd $CHROOTSTRAP
mkdir -p $CHROOT
debootstrap --arch amd64 bullseye $CHROOT http://ftp.uk.debian.org/debian/