I'm currently trying to set up dual-booting between Windows 10 and Manjaro Linux on a work laptop.
I also wanted to set up full disk encryption.
Is it normal that my laptop takes 10 minutes to boot up from an SSD drive?
It boots up in a few seconds when not using LUKS.
The full picture:
On the Windows side VeraCrypt did an excellent job. But on Manajro I was unable to get a well-working encrypted system.
I've found and followed a guide by Octez:
I've been following that using Manjaro Architect to install the system and KPartitionManager to partition the disks, as it was easier for me to do.
After my 6th (IIRC) attempt I've finally got a system that booted into the KDE desktop. It didn't mount my swap or extra data partitions (both using LUKS encryption).
But - it managed to mount the LUKS-encrypted Btrfs root filesystem (with /boot on the same filesystem, and /boot/efi mounted to an unencrypted Windows partition). So it was something.
However - the boot process took like 5-10 minutes and I was sure it would not work at all
The laptop is an MSI Alpha 15 A3DD with Ryzen 7 CPU, 512 GB nvme SSD and 32 GB of RAM.
Also - for some reason I had to start and enable NetworkManger service manually.
So even if I got everything working in that install, it'd be so slow I would not be able to work on it.
I have done another installation, using the same partition layout, only this time without using LUKS, and I got a fast, working Manjaro KDE desktop up in no time!
(Thought I still had to start and enable Network manager manually - is that a bug in M-A?)
So my question is:
Is it a known problem that LUKS full-disk encryption doesn't work fast with Btrfs or something?
Maybe there's a solution to this?
Full system specs:
$ inxi -Fxzc0 System: Host: unfa-alpha15-manjaro Kernel: 5.6.16-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.1.0 Desktop: KDE Plasma 5.18.5 Distro: Manjaro Linux Machine: Type: Laptop System: Micro-Star product: Alpha 15 A3DD v: REV:1.0 serial: <filter> Mobo: Micro-Star model: MS-16U6 v: REV:1.0 serial: <filter> UEFI: American Megatrends v: E16U6AMS.10C date: 10/30/2019 Battery: ID-1: BAT1 charge: 44.7 Wh condition: 49.5/53.4 Wh (93%) model: MSI BIF0_9 status: Charging CPU: Topology: Quad Core model: AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx bits: 64 type: MT MCP arch: Zen+ rev: 1 L2 cache: 2048 KiB flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 36750 Speed: 1355 MHz min/max: 1400/2300 MHz Core speeds (MHz): 1: 1777 2: 1462 3: 1369 4: 1321 5: 1204 6: 1290 7: 1286 8: 1268 Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Navi 14 [Radeon RX 5500/5500M / Pro 5500M] vendor: Micro-Star MSI driver: amdgpu v: kernel bus ID: 03:00.0 Device-2: Advanced Micro Devices [AMD/ATI] Picasso vendor: Micro-Star MSI driver: amdgpu v: kernel bus ID: 07:00.0 Display: x11 server: X.Org 1.20.8 driver: amdgpu FAILED: ati unloaded: modesetting,radeon resolution: 1920x1080~120Hz OpenGL: renderer: AMD RAVEN (DRM 3.36.0 5.6.16-1-MANJARO LLVM 10.0.0) v: 4.6 Mesa 20.0.7 direct render: Yes Audio: Device-1: Advanced Micro Devices [AMD/ATI] Navi 10 HDMI Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus ID: 03:00.1 Device-2: Advanced Micro Devices [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor driver: N/A bus ID: 07:00.5 Device-3: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus ID: 07:00.6 Sound Server: ALSA v: k5.6.16-1-MANJARO Network: Device-1: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter vendor: AzureWave driver: rtw_pci v: N/A port: f000 bus ID: 05:00.0 IF: wlo1 state: down mac: <filter> Device-2: Realtek vendor: Micro-Star MSI driver: r8169 v: kernel port: e000 bus ID: 06:00.0 IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac: <filter> Drives: Local Storage: total: 2.29 TiB used: 8.85 GiB (0.4%) ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB512HAJQ-00000 size: 476.94 GiB ID-2: /dev/sda vendor: Seagate model: ST2000LM015-2E8174 size: 1.82 TiB Partition: ID-1: / size: 210.85 GiB used: 8.82 GiB (4.2%) fs: btrfs dev: /dev/nvme0n1p5 ID-2: /home size: 210.85 GiB used: 8.82 GiB (4.2%) fs: btrfs dev: /dev/nvme0n1p5 ID-3: swap-1 size: 31.25 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/nvme0n1p4 Sensors: System Temperatures: cpu: 53.5 C mobo: N/A Fan Speeds (RPM): N/A GPU: device: amdgpu temp: 55 C device: amdgpu temp: 50 C fan: 65535 Info: Processes: 298 Uptime: 3m Memory: 29.38 GiB used: 1.16 GiB (3.9%) Init: systemd Compilers: gcc: 10.1.0 Shell: bash v: 5.0.17 inxi: 3.0.37