Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:guide:encrypted_installation [2018/03/08 17:35]
emulatorman
en:guide:encrypted_installation [2022/01/26 00:00] (current)
emulatorman
Line 91: Line 91:
  
 <code bash> <code bash>
-# cryptsetup -v --cipher serpent-xts-plain64 --key-size 512 --hash whirlpool ​>--iter-time 500 --use-random --verify-passphrase luksFormat /dev/sdXY+# cryptsetup -v --cipher serpent-xts-plain64 --key-size 512 --hash whirlpool --iter-time 500 --use-random --verify-passphrase luksFormat /dev/sdXY
 </​code>​ </​code>​
  
Line 242: Line 242:
   - Change the value of the uncommented <color #​620BB9/#​EEDDFF>​MODULES</​color>​ line to <color #​620BB9/#​EEDDFF>​i915</​color>​.   - Change the value of the uncommented <color #​620BB9/#​EEDDFF>​MODULES</​color>​ line to <color #​620BB9/#​EEDDFF>​i915</​color>​.
     * This forces the driver to load earlier, so that the console font you selected earlier isn’t wiped out after getting to login.     * This forces the driver to load earlier, so that the console font you selected earlier isn’t wiped out after getting to login.
 +    * Be aware, when you add i915 into the uncommented modules line, that you remove these **" ​  "​** **before you add i915**, otherwise, it will not boot and will drop to a shell. ​ When you install with **full disk encryption**,​ this is a **requirement**.
     * If you are using a **Macbook 2,1** you will also need to add <color #​620BB9/#​EEDDFF>​hid-generic</​color>,​ <color #​620BB9/#​EEDDFF>​hid</​color>,​ and <color #​620BB9/#​EEDDFF>​hid-apple</​color>​ inside the quotation marks, in order to have a working keyboard when asked to enter the LUKS password. Make sure to separate each module by one space.     * If you are using a **Macbook 2,1** you will also need to add <color #​620BB9/#​EEDDFF>​hid-generic</​color>,​ <color #​620BB9/#​EEDDFF>​hid</​color>,​ and <color #​620BB9/#​EEDDFF>​hid-apple</​color>​ inside the quotation marks, in order to have a working keyboard when asked to enter the LUKS password. Make sure to separate each module by one space.
   - Change the value of the uncommented <color #​620BB9/#​EEDDFF>​HOOKS</​color>​ line to the following: <code bash>   - Change the value of the uncommented <color #​620BB9/#​EEDDFF>​HOOKS</​color>​ line to the following: <code bash>
 # nano /​etc/​mkinitcpio.conf # nano /​etc/​mkinitcpio.conf
  
-base udev autodetect modconf block keyboard keymap consolefont encrypt lvm2 filesystems fsck shutdown+"base udev autodetect modconf block keyboard keymap consolefont encrypt lvm2 filesystems fsck shutdown"
 </​code>​ Here’s what each module does: </​code>​ Here’s what each module does:
     * <color #​620BB9/#​EEDDFF>​keymap</​color>​ adds to initramfs the keymap that you specified in <color #​0B71B9/#​DDF1FF>/​etc/​conf.d/​keymaps</​color>​     * <color #​620BB9/#​EEDDFF>​keymap</​color>​ adds to initramfs the keymap that you specified in <color #​0B71B9/#​DDF1FF>/​etc/​conf.d/​keymaps</​color>​