full disk encryption with luks on manjaro xfce - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111) +--- Forum: Pinebook Pro Tutorials (https://forum.pine64.org/forumdisplay.php?fid=117) +--- Thread: full disk encryption with luks on manjaro xfce (/showthread.php?tid=9052) |
RE: full disk encryption with luks on manjaro xfce - as400 - 05-05-2020 @e-minguez - as I wrote - I don't use mkinitcpio because it never worked for me. If I understand correctly you have no display early enough to enter password, right ? If the above is true I would try two things: 1. Add console=tty1 in extlinux.conf. 2. Include following modules in your initcpio image - rockchipdrm, drm, drm_kms_helper, analogix_dp, panel-simple, pwm_bl. RE: full disk encryption with luks on manjaro xfce - e-minguez - 05-05-2020 (05-05-2020, 05:40 AM)as400 Wrote: @e-minguez - as I wrote - I don't use mkinitcpio because it never worked for me. If I understand correctly you have no display early enough to enter password, right ? Thanks for your answer! It seems the pinebook pro uboot doesn't have the ability to use the screen just yet, so I've build a regular pinebook 1080p image and hit the same issue. https://www.youtube.com/watch?v=_HarlCAeyr8 It seems to start, the bootsplash screen is shown but no password prompt. If I press escape, just a blinking cursor waiting for something. I've tried to type the password (I'm using just 'f' as password) and nothing is shown and the boot is still 'blank'. I've disabled the bootsplash hook, the bootstrap setting in the extlinux.conf and also added console=ttyS0 just in case, but same stuff. Anything else that you can think of? Thanks. RE: full disk encryption with luks on manjaro xfce - as400 - 05-06-2020 Not really. Did you try adding the modules to initcpio ? RE: full disk encryption with luks on manjaro xfce - e-minguez - 05-06-2020 (05-06-2020, 12:26 AM)as400 Wrote: Not really. Did you try adding the modules to initcpio ? Same result, just a blinking cursor RE: full disk encryption with luks on manjaro xfce - as400 - 05-10-2020 Did you to generate initcpio with dracut ? RE: full disk encryption with luks on manjaro xfce - e-minguez - 05-10-2020 (05-10-2020, 02:10 AM)as400 Wrote: Did you to generate initcpio with dracut ? I did it with mkinitcpio which I think it does the same, right? https://wiki.archlinux.org/index.php/Mkinitcpio But if you can share the dracut steps I would be happy to try Thanks! RE: full disk encryption with luks on manjaro xfce - e-minguez - 05-10-2020 I've chroot'ed into the sd, installed dracut and force created the initrd (dracut -f /boot/initramfswhatever). The mkinitcpio.conf file have the following content: MODULES=(panfrost rockchipdrm drm_kms_helper hantro_vpu analogix_dp rockchip_rga panel_simple arc_uart cw2015_battery i2c-hid icp iscsi_boot_sysfs jsm pwm_bl spl uhid) BINARIES=() FILES=() HOOKS=(base udev keyboard autodetect keymap modconf block encrypt lvm2 filesystems fsck) COMPRESSION="cat" Which I guess it is not used by dracut... The pinebook pro now doesn't even show the blinking cursor, black screen. I've tried to type the password (a single 'f') with no result. Any other hint? Thanks. RE: full disk encryption with luks on manjaro xfce - lol110 - 05-10-2020 (05-10-2020, 11:57 AM)e-minguez Wrote: I've chroot'ed into the sd, installed dracut and force created the initrd (dracut -f /boot/initramfswhatever). The mkinitcpio.conf file have the following content: try this: nano /etc/mkinitcpio.conf "base udev autodetect modconf block keyboard keymap consolefont encrypt lvm2 filesystems fsck shutdown" Here’s what each module does:
RE: full disk encryption with luks on manjaro xfce - as400 - 05-13-2020 Here is how I'm generating initcpio with dracut. I have bootfs unencrypted and rootfs encrypted. I use nvme drive. Everything works just fine. Code: dracut -H --force -a "crypt lvm drm" -o "kernel-network-modules kernel-modules-extra kernel-modules mdraid qemu qemu-net \ RE: full disk encryption with luks on manjaro xfce - e-minguez - 05-13-2020 (05-13-2020, 03:49 AM)as400 Wrote: Here is how I'm generating initcpio with dracut. I have bootfs unencrypted and rootfs encrypted. I use nvme drive. Everything works just fine. I've used a slightly modified version (removed the -H and used the same name that mkinitcpio uses for the initrd file) because the manjaro-arm-installer is using a chroot. No luck either same blinking cursor. |