diff --git a/Misc/Arch-LuksCrypt-Install.bash b/Misc/Arch-LuksCrypt-Install.bash index b1e6fbd..6a0487e 100644 --- a/Misc/Arch-LuksCrypt-Install.bash +++ b/Misc/Arch-LuksCrypt-Install.bash @@ -324,7 +324,7 @@ main() { print-title "Configure System" printf "Entering Chroot\n" >&2 arch-chroot /mnt <<-__END_CHROOT_CMDS__ - printf "Setting default password as %s\n" "$(important "toor")" + printf "Setting default password as toor\n" printf "toor\ntoor\n" | passwd printf "Linking timezone as %s\n" "$(important "${ARCH_TIMEZONE}")" >&2 @@ -352,7 +352,7 @@ main() { printf "Configure Grub\n" >&2 yes | pacman -S grub efibootmgr intel-ucode amd-ucode sed -i - "s/GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"cryptdevice=UUID=$(blkid -s UUID -o value "${root_partition}"):cryptroot\"/" /etc/default/grub + "s/GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"cryptdevice=UUID=$(blkid -s UUID -o value "${root_partition}"):cryptroot root=\/dev\/mapper\/cryptroot\"/" /etc/default/grub grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB grub-mkconfig -o /boot/grub/grub.cfg