From 33678beddf20b33c1f107a4282a59931fed4b47d Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Fri, 24 Jun 2022 17:52:52 +0430 Subject: updates --- chroot/arch.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 chroot/arch.sh (limited to 'chroot/arch.sh') diff --git a/chroot/arch.sh b/chroot/arch.sh new file mode 100755 index 0000000..43e8879 --- /dev/null +++ b/chroot/arch.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +CHROOT_DIR=/home/devi/chroots/arch +# sudo mount -t proc proc $CHROOT_DIR/proc/ +# sudo mount -t sysfs sys $CHROOT_DIR/sys/ + +# sudo mount -o bind /tmp $CHROOT_DIR/tmp/ +# sudo mount -o bind /dev $CHROOT_DIR/dev/ + +# sudo mount -t devpts none "$CHROOT_DIR/dev/pts" -o ptmxmode=0666,newinstance +# sudo mount -t auto /dev/dri "$CHROOT_DIR/dev/dri" +sudo xchroot $CHROOT_DIR -- cgit v1.2.3