diff options
Diffstat (limited to '')
-rwxr-xr-x | chroot/debian11.sh | 8 |
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 |