aboutsummaryrefslogtreecommitdiffstats
path: root/chroot/debian11.sh
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-12-29 16:55:20 +0000
committerterminaldweller <thabogre@gmail.com>2021-12-29 16:55:20 +0000
commitf2ef99d0ac3cde7469da9a0b35a66043d13acc4a (patch)
tree7349c560d39c0489aac59f8d3dfe05aa8a65c9e3 /chroot/debian11.sh
parentmore updates. some chroot stuff (diff)
downloadscripts-f2ef99d0ac3cde7469da9a0b35a66043d13acc4a.tar.gz
scripts-f2ef99d0ac3cde7469da9a0b35a66043d13acc4a.zip
updates
Diffstat (limited to '')
-rwxr-xr-xchroot/debian11.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/chroot/debian11.sh b/chroot/debian11.sh
new file mode 100755
index 0000000..158224e
--- /dev/null
+++ b/chroot/debian11.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+CHROOT_DIR=/home/devi/rootfs/debian11
+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 chroot $CHROOT_DIR