diff options
Diffstat (limited to 'linux/scripts/act-chroot.sh')
-rw-r--r-- | linux/scripts/act-chroot.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/linux/scripts/act-chroot.sh b/linux/scripts/act-chroot.sh new file mode 100644 index 0000000..29103b1 --- /dev/null +++ b/linux/scripts/act-chroot.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +CHROOT="/mnt" + +mkdir -p $CHROOT/boot/efi +mkdir -p $CHROOT/media + +mkdir -p $CHROOT/dev +mkdir -p $CHROOT/tmp +mkdir -p $CHROOT/proc +mkdir -p $CHROOT/sys + +mount -t proc proc $CHROOT/proc +mount -t sysfs sys $CHROOT/sys +mount --bind /dev $CHROOT/dev |