Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
scratch [2019/03/09 17:21]
admin [LUKS]
scratch [2019/03/09 17:38]
admin [LUKS]
Line 191: Line 191:
   ###############################​   ###############################​
   ########### Encrypt ###########   ########### Encrypt ###########
 +  ​
   # Shrink root filesystem (NOT the partition)   # Shrink root filesystem (NOT the partition)
   sudo e2fsck -f $ROOTPART   sudo e2fsck -f $ROOTPART
Line 217: Line 217:
   HOOKS=(base systemd autodetect keyboard keymap sd-vconsole modconf block sd-encrypt filesystems fsck)   HOOKS=(base systemd autodetect keyboard keymap sd-vconsole modconf block sd-encrypt filesystems fsck)
   ​   ​
-  # Backup old config files+  # Backup old config files and create new ones
   for f in /​mnt/​boot/​loader/​entries/​*.conf;​ do sudo mv $f $f.bak; done   for f in /​mnt/​boot/​loader/​entries/​*.conf;​ do sudo mv $f $f.bak; done
-  ​ 
-  # Set the content of the file /​boot/​loader/​loader.conf,​ arch.conf and arch-fallback.conf:​ 
   echo -e "​default arch\ntimeout 5\nconsole-mode max\n" | sudo dd of=/​mnt/​boot/​loader/​loader.conf   echo -e "​default arch\ntimeout 5\nconsole-mode max\n" | sudo dd of=/​mnt/​boot/​loader/​loader.conf
   echo -e "title Arch Linux\nlinux /​vmlinuz-linux\ninitrd /​intel-ucode.img\ninitrd \   echo -e "title Arch Linux\nlinux /​vmlinuz-linux\ninitrd /​intel-ucode.img\ninitrd \
  • scratch.txt
  • Last modified: 2019/03/10 13:03
  • by admin