This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "--------------------------------------------------------------------------------------" | |
echo "This script builds a full operating system with debootstrap and chroot" | |
echo "To use this script, please mount an empty partition or alternate disk" | |
echo "" | |
echo "If you are using btrfs, and using subvolumes, mount the root subvolume explicity" | |
echo "Example: mount /dev/sdb1 /media/bootstrap -o subvol=@" | |
echo "Failure to do this will cause the script to break. It needs the root directory" | |
echo "" | |
echo "The script is specifically built for Ubuntu" |