diff options
Diffstat (limited to 'core/scripts/act-chroot.sh')
-rw-r--r-- | core/scripts/act-chroot.sh | 36 |
1 files changed, 7 insertions, 29 deletions
diff --git a/core/scripts/act-chroot.sh b/core/scripts/act-chroot.sh index 317b5b7..29103b1 100644 --- a/core/scripts/act-chroot.sh +++ b/core/scripts/act-chroot.sh @@ -1,37 +1,15 @@ #!/bin/bash - CHROOT="/mnt" -#DEV=$1 -# -###read BLK_EFI -#BLK_EFI="${DEV}2" -###read BLK_BOOT -#BLK_BOOT="${DEV}3" -###read BLK_ROOT -#BLK_ROOT="${DEV}4" -###read BLK_VAR -#BLK_VAR="${DEV}5" -###read BLK_USR -#BLK_USR="${DEV}6" -###read BLK_SWP -#BLK_SWP="${DEV}7" -###read BLK_HOME -#BLK_HOME="${DEV}8" -# -#mount $BLK_ROOT $CHROOT -# -#mount $BLK_BOOT $CHROOT/boot -#mount $BLK_EFI $CHROOT/boot/efi -# -#mount $BLK_VAR $CHROOT/var -#mount $BLK_USR $CHROOT/usr -#mount $BLK_PRT $CHROOT/usr/ports -#mount $BLK_HOME $CHROOT/home +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 -vt devpts devpts $CHROOT/dev/pts -#mount -vt tmpfs shm $CHROOT/dev/shm mount -t proc proc $CHROOT/proc mount -t sysfs sys $CHROOT/sys mount --bind /dev $CHROOT/dev |