X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=blobdiff_plain;f=zboot;h=4e4edce21a7ad5a97a6da4e9fcb0d7469b36fd6b;hp=3a0a46a74b33be8da8b6ceb4e53b05db326b1966;hb=7b47d6a266340223e78317cfe0570868f45a4cad;hpb=12cab163424e3a7b0815646d1d4407f9b5839bcb diff --git a/zboot b/zboot index 3a0a46a..4e4edce 100755 --- a/zboot +++ b/zboot @@ -19,6 +19,11 @@ source /usr/local/lib/err set -x +if [[ ! -e /mnt/root/root2-fstab || ! -e /mnt/root/root2-crypttab ]]; then + echo $0: "error: create /mnt/root/root2-fstab & /mnt/root/root2-crypttab from running /a/bin/fai/fai/config/hooks/partition.DEFAULT mkroot2 or mkroot2tab" + exit 1 +fi + mount -o bind /mnt/root2/root_ubuntubionic /mnt/1 cd /mnt/1 /b/ds/gen-amy-fstab ubuntubionic .