Antergos / Cnchi

A modern, flexible online system installer for Antergos Linux
GNU General Public License v3.0
291 stars 101 forks source link

Cant install antergos encrypted #1125

Open Mikopet opened 5 years ago

Mikopet commented 5 years ago

Hey!

So I wanted to install the OS with encryption. This is a company laptop (ThinkPad T480), so its mandatory. First I needed to do this in VESA fallback mode, because something is wrong with the default one. Latest installer now, 19.2

The funny thing, it worked for the first time, but cant unlock the disk with the good password :/ So I decided to reinstall again (maybe I forgot that pw, but now Im sure I didnt)

So without encryption pass it always fails with some keyroot-file (sadly I dont have logs yet, but its very edge case)

With password it worked until installing the bootloader. It freezes, and this is in the console:

==> Image generation successful  (run_cmd.py:149)
2019-02-14 18:57:48 [DEBUG  ] File user-dirs-update-gtk.desktop patched.  (post_install.py:784)
2019-02-14 18:57:48 [DEBUG  ] LightDM display manager configuration completed.  (post_install.py:287)
2019-02-14 18:57:48 [DEBUG  ] Enabled AUR in /etc/pamac.conf file  (post_features.py:196)
2019-02-14 18:57:48 [WARNING] Cannot find service systemd-rfkill.service (mask)  (services.py:57)
2019-02-14 18:57:48 [WARNING] Cannot find service systemd-rfkill.socket (mask)  (services.py:57)
2019-02-14 18:57:48 [DEBUG  ] Service 'bluetooth' has been enabled.  (services.py:43)
2019-02-14 18:57:48 [DEBUG  ] Service 'org.cups.cupsd' has been enabled.  (services.py:43)
2019-02-14 18:57:48 [DEBUG  ] Service 'avahi-daemon' has been enabled.  (services.py:43)
2019-02-14 18:57:48 [WARNING] Can't find service tlp.service  (services.py:45)
2019-02-14 18:57:48 [WARNING] Can't find service tlp-sleep.service  (services.py:45)
2019-02-14 18:57:48 [DEBUG  ] Service 'thermald' has been enabled.  (services.py:43)
2019-02-14 18:57:49 [DEBUG  ] Set GRUB_ENABLE_CRYPTODISK="y" in /etc/default/grub  (grub2.py:222)
2019-02-14 18:57:49 [DEBUG  ] Luks Root Volume: cryptAntergos  (grub2.py:161)
2019-02-14 18:57:49 [DEBUG  ] Set GRUB_THEME="/boot/grub/themes/Antergos-Default/theme.txt" in /etc/default/grub  (grub2.py:222)
2019-02-14 18:57:49 [DEBUG  ] Set GRUB_DISTRIBUTOR="Antergos" in /etc/default/grub  (grub2.py:222)
2019-02-14 18:57:49 [DEBUG  ] Set GRUB_CMDLINE_LINUX_DEFAULT="quiet resume=UUID=c6bd88f0-c8e8-496a-a86f-57c4063bad2f" in /etc/default/grub  (grub2.py:222)
2019-02-14 18:57:49 [DEBUG  ] Set GRUB_CMDLINE_LINUX="cryptdevice=/dev/disk/by-uuid/b326e2f9-b1ae-437e-aee9-1da926421040:cryptAntergos" in /etc/default/grub  (grub2.py:222)
2019-02-14 18:57:49 [DEBUG  ] Grub configuration completed successfully.  (grub2.py:196)
2019-02-14 18:57:49 [DEBUG  ] Cnchi will install the Grub2 (efi) loader  (grub2.py:71)
2019-02-14 18:57:49 [INFO   ] Installing GRUB(2) UEFI x86_64 boot loader  (grub2.py:352)
2019-02-14 18:57:49 [INFO   ] Configuring LightDM desktop manager...  (slides.py:240)
2019-02-14 18:57:49 [INFO   ] Installing bootloader...  (slides.py:240)
2019-02-14 18:57:52 [DEBUG  ] Installing for x86_64-efi platform.
Installation finished. No error reported.  (run_cmd.py:106)
2019-02-14 18:57:52 [DEBUG  ] Installing Grub2 locales.  (grub2.py:442)
2019-02-14 18:57:52 [INFO   ] No OEM loader found in /install/boot/efi/EFI/BOOT/BOOTX64.efi. Copying Grub(2) into dir.  (grub2.py:389)
2019-02-14 18:57:52 [INFO   ] No OEM loader found in /install/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi. Copying Grub(2) into dir.  (grub2.py:389)
2019-02-14 18:57:52 [DEBUG  ] Generating grub.cfg...  (grub2.py:270)
2019-02-14 18:57:52 [DEBUG  ] Special dirs are already mounted. Skipping.  (special_dirs.py:76)
2019-02-14 18:57:52 [DEBUG  ] 50mounted-tests file patched successfully  (grub2.py:436)
2019-02-14 18:57:52 [DEBUG  ] Running grub-mkconfig...  (grub2.py:280)
2019-02-14 18:58:02 [WARNING] Error running ['/bin/pidof', 'grub-mount']: b''  (grub2.py:265)
aaronky commented 5 years ago

If you run 'disk utility' and mount the boot partition manually the installer will finish without a problem. Hope this helps

kadir commented 5 years ago

Are you sure about the password, sometimes keyboard layout change could affect your password