diff --git a/ubuntu/1-pre-install.sh b/ubuntu/1-pre-install.sh index 6ed9247..67ac9c8 100644 --- a/ubuntu/1-pre-install.sh +++ b/ubuntu/1-pre-install.sh @@ -149,7 +149,7 @@ fi # if the root volun already exist # Finishing message cat <&2 ***** ERROR : The /target/etc/default/grub is not ready. ***** -Perhaps, to early to execute this script. +Perhaps, too early to execute this script. Installation terminated. HEREDOC @@ -26,13 +26,12 @@ HEREDOC fi # if grub file exists # Make target GRUB aware to the crypt partition -echo "...add GRUB_ENABLE_CRYPTODISK entry to /target/etc/default/grub " +echo "...Add GRUB_ENABLE_CRYPTODISK entry to /target/etc/default/grub " echo "GRUB_ENABLE_CRYPTODISK=y" >> /target/etc/default/grub # Finishing message cat <> /etc/cryptsetup-initramfs/conf-hook echo "UMASK=0077" >> /etc/initramfs-tools/initramfs.conf @@ -38,7 +38,7 @@ echo "UMASK=0077" >> /etc/initramfs-tools/initramfs.conf # Prepare a key file to embed in to the ramfs. echo "...Prepair key file." mkdir /etc/luks -dd if=/dev/urandom of=/etc/luks/boot_os.keyfile bs=4096 count=1 +dd if=/dev/urandom of=/etc/luks/boot_os.keyfile bs=4096 count=1 status=none chmod u=rx,go-rwx /etc/luks chmod u=r,go-rwx /etc/luks/boot_os.keyfile