#!/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 #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