Hello,
I am having issues with getting the LUKS passphrase prompt during boot. I get a blank screen with no prompt. I am looking for a solution that is not a workaround.
Here is what I am able to do:
- Boot into the older kernel 6.8.11 with no issues. The passphrase prompt is displayed without any issues.
- Boot into kernel 6.9.4 by removing the
rhgb quiet
option by editing the boot command from the GRUB menu. By doing this I am shown a passphrase prompt at the end after system prints out detailed boot info. I think I need to press ENTER before I’m shown the prompt but I’m not too sure. - Unplug the display port cable from my dGPU and plug it into the iGPU on my motherboard. This displays the prompt.
I have the NVIDIA Proprietary Driver v550.90.07 installed from rpmfusion
. But I doubt the driver is causing issues since I am able to boot into kernel v6.8.11 without having to make any edits to the boot command.
Here are the detailed system specs from inxi
:
Full System Specs from inxi
System:
Kernel: 6.9.4-200.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc
v: 2.41-37.fc40 clocksource: tsc avail: hpet,acpi_pm
parameters: BOOT_IMAGE=(hd2,gpt2)/vmlinuz-6.9.4-200.fc40.x86_64
root=UUID=bcf2b727-c487-44b2-aece-50e1367b21b0 ro rootflags=subvol=root
rd.driver.blacklist=nouveau modprobe.blacklist=nouveau
rd.luks.uuid=luks-d8d7c612-e097-4ce3-8773-a4a77c6cb4ac
nvidia-drm.modeset=1 rd.driver.blacklist=nouveau
modprobe.blacklist=nouveau
Desktop: GNOME v: 46.2 tk: GTK v: 3.24.42 wm: gnome-shell
tools: gsd-screensaver-proxy dm: GDM v: 46.2 Distro: Fedora Linux 40
(Workstation Edition)
Machine:
Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
Mobo: ASUSTeK model: TUF GAMING B650-PLUS WIFI v: Rev 1.xx
serial: <superuser required> part-nu: SKU uuid: <superuser required>
UEFI: American Megatrends v: 2413 date: 02/04/2024
CPU:
Info: model: AMD Ryzen 7 7700X bits: 64 type: MT MCP arch: Zen 4 gen: 5
level: v4 note: check built: 2022+ process: TSMC n5 (5nm) family: 0x19 (25)
model-id: 0x61 (97) stepping: 2 microcode: 0xA601206
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 8 MiB desc: 8x1024 KiB
L3: 32 MiB desc: 1x32 MiB
Speed (MHz): avg: 989 high: 3593 min/max: 400/5573 scaling:
driver: amd-pstate-epp governor: powersave cores: 1: 400 2: 400 3: 3590
4: 400 5: 400 6: 400 7: 400 8: 400 9: 400 10: 400 11: 400 12: 400 13: 3447
14: 400 15: 3593 16: 400 bogomips: 143732
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities:
Type: gather_data_sampling status: Not affected
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: reg_file_data_sampling status: Not affected
Type: retbleed status: Not affected
Type: spec_rstack_overflow mitigation: Safe RET
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 mitigation: Enhanced / Automatic IBRS; IBPB: conditional;
STIBP: always-on; RSB filling; PBRSB-eIBRS: Not affected; BHI: Not
affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA AD104 [GeForce RTX 4070 SUPER] vendor: ASUSTeK
driver: nvidia v: 550.90.07 alternate: nouveau,nvidia_drm non-free: 550.xx+
status: current (as of 2024-04) arch: Lovelace code: AD1xx
process: TSMC n4 (5nm) built: 2022+ pcie: gen: 3 speed: 8 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s ports: active: none off: DP-3,HDMI-A-2
empty: DP-2,DP-4 bus-ID: 01:00.0 chip-ID: 10de:2783 class-ID: 0300
Device-2: AMD Raphael vendor: ASUSTeK driver: amdgpu v: kernel arch: RDNA-2
code: Navi-2x process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4
speed: 16 GT/s lanes: 16 ports: active: none
empty: DP-1,HDMI-A-1,Writeback-1 bus-ID: 0d:00.0 chip-ID: 1002:164e
class-ID: 0300 temp: 34.0 C
Device-3: Logitech C920 HD Pro Webcam driver: snd-usb-audio,uvcvideo
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-7:4
chip-ID: 046d:0892 class-ID: 0102 serial: <filter>
Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 24.1.0
compositor: gnome-shell driver: X: loaded: amdgpu,nvidia
unloaded: fbdev,modesetting,vesa alternate: nouveau,nv dri: radeonsi
gpu: nvidia,nvidia-nvswitch display-ID: :1 screens: 1
Screen-1: 0 s-res: 4920x2160 s-dpi: 96 s-size: 1302x572mm (51.26x22.52")
s-diag: 1422mm (55.99")
Monitor-1: DP-3 mapped: DP-2 note: disabled pos: primary,top-right
model: LG (GoldStar) Ultra HD serial: <filter> built: 2018 res: 3840x2160
hz: 60 dpi: 163 gamma: 1.2 size: 600x340mm (23.62x13.39")
diag: 690mm (27.2") ratio: 16:9 modes: max: 3840x2160 min: 640x480
Monitor-2: HDMI-A-2 mapped: HDMI-0 note: disabled pos: bottom-l
model: MSI MP251 serial: <filter> built: 2023 res: 1080x1920 hz: 60 dpi: 91
gamma: 1.2 size: 302x543mm (11.89x21.38") diag: 623mm (24.5") ratio: 16:9
modes: max: 1920x1080 min: 640x480
API: OpenGL v: 4.6.0 vendor: nvidia v: 550.90.07 glx-v: 1.4
direct-render: yes renderer: NVIDIA GeForce RTX 4070 SUPER/PCIe/SSE2
memory: 11.71 GiB
API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
Device-1: NVIDIA AD104 High Definition Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s bus-ID: 01:00.1 chip-ID: 10de:22bc
class-ID: 0403
Device-2: AMD Rembrandt Radeon High Definition Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 0d:00.1 chip-ID: 1002:1640 class-ID: 0403
Device-3: AMD Family 17h/19h HD Audio vendor: ASUSTeK driver: snd_hda_intel
v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 0d:00.6
chip-ID: 1022:15e3 class-ID: 0403
Device-4: Logitech C920 HD Pro Webcam driver: snd-usb-audio,uvcvideo
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-7:4
chip-ID: 046d:0892 class-ID: 0102 serial: <filter>
Device-5: XMOS EDIFIER S880DB driver: hid-generic,snd-usb-audio,usbhid
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 5-1:2
chip-ID: 20b1:30a0 class-ID: 0300
API: ALSA v: k6.9.4-200.fc40.x86_64 status: kernel-api
tools: alsactl,alsamixer,amixer
Server-1: JACK v: 1.9.22 status: off tools: N/A
Server-2: PipeWire v: 1.0.7 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
tools: pw-cat,pw-cli,wpctl
Network:
Device-1: Realtek RTL8125 2.5GbE vendor: ASUSTeK driver: r8169 v: kernel
pcie: gen: 2 speed: 5 GT/s lanes: 1 port: d000 bus-ID: 08:00.0
chip-ID: 10ec:8125 class-ID: 0200
IF: eno1 state: down mac: <filter>
Device-2: Realtek RTL8852BE PCIe 802.11ax Wireless Network
vendor: AzureWave driver: rtw89_8852be v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: c000 bus-ID: 09:00.0 chip-ID: 10ec:b852 class-ID: 0280
IF: wlp9s0 state: up mac: <filter>
Info: services: NetworkManager, sshd, wpa_supplicant
Bluetooth:
Device-1: IMC Networks Bluetooth Radio driver: btusb v: 0.8 type: USB
rev: 1.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-5:2 chip-ID: 13d3:3571
class-ID: e001 serial: <filter>
Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.3
lmp-v: 12 sub-v: b20f hci-v: 12 rev: dbc6 class-ID: 7c0104
Info: acl-mtu: 1021:6 sco-mtu: 255:12 link-policy: rswitch hold sniff park
link-mode: peripheral accept service-classes: rendering, capturing, object
transfer, audio, telephony
Drives:
Local Storage: total: 2.51 TiB used: 247.51 GiB (9.6%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/nvme0n1 maj-min: 259:6 vendor: Western Digital
model: WD BLACK SN770 1TB size: 931.51 GiB block-size: physical: 512 B
logical: 512 B speed: 63.2 Gb/s lanes: 4 tech: SSD serial: <filter>
fw-rev: 731100WD temp: 36.9 C scheme: GPT
ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: SanDisk model: THNSN5256GPUK
NVMe TOSHIBA 256GB size: 238.47 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
fw-rev: 5KDA4101 temp: 34.9 C scheme: GPT
ID-3: /dev/nvme2n1 maj-min: 259:2 vendor: Samsung
model: SSD 970 EVO Plus 500GB size: 465.76 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
fw-rev: 2B2QEXM7 temp: 36.9 C scheme: GPT
ID-4: /dev/sda maj-min: 8:0 vendor: HGST (Hitachi) model: HTS721010A9E630
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
tech: HDD rpm: 7200 serial: <filter> fw-rev: A3W0 scheme: GPT
Partition:
ID-1: / raw-size: 464.16 GiB size: 464.16 GiB (100.00%)
used: 28.95 GiB (6.2%) fs: btrfs dev: /dev/dm-0 maj-min: 253:0
mapped: luks-d8d7c612-e097-4ce3-8773-a4a77c6cb4ac
ID-2: /boot raw-size: 1024 MiB size: 973.4 MiB (95.06%)
used: 780.7 MiB (80.2%) fs: ext4 dev: /dev/nvme2n1p2 maj-min: 259:4
ID-3: /boot/efi raw-size: 600 MiB size: 598.8 MiB (99.80%)
used: 19 MiB (3.2%) fs: vfat dev: /dev/nvme2n1p1 maj-min: 259:3
ID-4: /home raw-size: 464.16 GiB size: 464.16 GiB (100.00%)
used: 28.95 GiB (6.2%) fs: btrfs dev: /dev/dm-0 maj-min: 253:0
mapped: luks-d8d7c612-e097-4ce3-8773-a4a77c6cb4ac
Swap:
Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
comp: lzo-rle avail: lzo,lz4,lz4hc,842,zstd max-streams: 16 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 36.6 C mobo: N/A
Fan Speeds (rpm): N/A
GPU: device: nvidia screen: :1.0 temp: 37 C fan: 0% device: amdgpu
temp: 33.0 C
Info:
Memory: total: 32 GiB note: est. available: 30.56 GiB used: 2.92 GiB (9.6%)
Processes: 467 Power: uptime: 2m states: freeze,mem suspend: deep
avail: s2idle wakeups: 0 hibernate: disabled image: 12.19 GiB
services: gsd-power, power-profiles-daemon, upowerd Init: systemd v: 255
target: graphical (5) default: graphical tool: systemctl
Packages: pm: flatpak pkgs: 36 Compilers: gcc: 14.1.1 Shell: Bash v: 5.2.26
running-in: gnome-terminal inxi: 3.3.34
Here is the content of my /etc/default/grub:
Contents of /etc/default/grub
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.driver.blacklist=nouveau modprobe.blacklist=nouveau rd.luks.uuid=luks-<UUID> rhgb quiet nvidia-drm.modeset=1 rd.driver.blacklist=nouveau modprobe.blacklist=nouveau"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true
I have searched for solutions online and came across the following posts on Fedora Discussion and Reddit:
Other related issues in this forum and reddit
LUKS Encryption Password Screen not Showing
No Luks Password Prompt on 5.18.13
Not seeing LUKS Password Screen on Boot
LUKS login not displayed with kernel 6.6.6 and 6.6.7
Reddit - Dive into anything
Is there a proper fix - without workarounds - for this issue? Or should I wait for the next kernel release and hope things will be fixed?