From feb01e618438f4cd3e55985c6fe9f303741d43c8 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Sat, 23 Apr 2022 16:55:24 +0430 Subject: updates --- chroot/ubuntu2204.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 chroot/ubuntu2204.sh (limited to 'chroot/ubuntu2204.sh') diff --git a/chroot/ubuntu2204.sh b/chroot/ubuntu2204.sh new file mode 100755 index 0000000..792270b --- /dev/null +++ b/chroot/ubuntu2204.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +CHROOT_DIR=/home/devi/chroots/ubuntu2204 +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 chroot $CHROOT_DIR -- cgit v1.2.3