diff --git a/scripts/chroot.txt b/scripts/chroot.txt new file mode 100644 index 0000000..ad293a5 --- /dev/null +++ b/scripts/chroot.txt @@ -0,0 +1,10 @@ +#!/bin/bash + +#step 1, get the drive + +sudo mkdir /mnt/chroot + +sudo mount $drive /mnt/chroot + +#test if BTRFS, if it is, might need @ dir +for f in proc sys dev ; do sudo mount --bind /$f /mnt/chroot/@/$f ; done