aboutsummaryrefslogtreecommitdiffstats
path: root/chroot/arch.sh
blob: 43e8879857e7fa07c0c4b8588a26e1058b7f4492 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

CHROOT_DIR=/home/devi/chroots/arch
# 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 mount -t devpts none "$CHROOT_DIR/dev/pts" -o ptmxmode=0666,newinstance
# sudo mount -t auto  /dev/dri "$CHROOT_DIR/dev/dri"
sudo xchroot $CHROOT_DIR