diff options
author | MatMoul <matmoul@gmail.com> | 2015-08-22 21:24:16 +0200 |
---|---|---|
committer | MatMoul <matmoul@gmail.com> | 2015-08-22 21:24:16 +0200 |
commit | 56ad0869a4b2b1e5f297c23b3c9f7186d6f09bcf (patch) | |
tree | a481c3aef88043d35f9af85b420ef92c9b98b4c2 | |
parent | 1b6f2e971fdbcdc03e1cb73618ffccfe700a5d67 (diff) | |
download | hyperfi-56ad0869a4b2b1e5f297c23b3c9f7186d6f09bcf.tar.lz hyperfi-56ad0869a4b2b1e5f297c23b3c9f7186d6f09bcf.tar.xz hyperfi-56ad0869a4b2b1e5f297c23b3c9f7186d6f09bcf.zip |
Add luks support
-rw-r--r-- | archfi | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -903,7 +903,7 @@ archgencryptotab(){ archgenmkinitcpio(){ clear - sed -i "s/block filesystems/block encrypt filesystems/g" /etc/mkinitcpio.conf + sed -i "s/block filesystems/block encrypt filesystems/g" /mnt/etc/mkinitcpio.conf archchroot genmkinitcpio pressanykey } @@ -944,9 +944,9 @@ archinstallgrub(){ fi if [ "$luksroot" = "1" ]; then - if (whiptail --backtitle "$apptitle" --title "${txtinstall//%1/grub}" --yesno "luks root detected ! Add to grub.cfg" --defaultno 0 0) then + if (whiptail --backtitle "$apptitle" --title "${txtinstall//%1/grub}" --yesno "luks root detected ! Add to grub.cfg" 0 0) then clear - sed -i s/GRUB_CMDLINE_LINUX=\"\"/GRUB_CMDLINE_LINUX=\"root=/dev/mapper/root cryptdevice=/dev/disk/by-uuid/$luksrootuuid:root\"/g /etc/default/grub + sed -i s/GRUB_CMDLINE_LINUX=\"\"/GRUB_CMDLINE_LINUX=\"root=/dev/mapper/root cryptdevice=/dev/disk/by-uuid/$luksrootuuid:root\"/g /mnt/etc/default/grub fi fi |