惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

H
Hackread – Cybersecurity News, Data Breaches, AI and More
W
WeLiveSecurity
C
Check Point Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
Vulnerabilities – Threatpost
GbyAI
GbyAI
A
Arctic Wolf
NISL@THU
NISL@THU
N
Netflix TechBlog - Medium
The Register - Security
The Register - Security
M
MIT News - Artificial intelligence
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Microsoft Security Blog
Microsoft Security Blog
Cyberwarzone
Cyberwarzone
C
CERT Recently Published Vulnerability Notes
T
Tenable Blog
G
GRAHAM CLULEY
O
OpenAI News
S
Schneier on Security
Google Online Security Blog
Google Online Security Blog
Vercel News
Vercel News
宝玉的分享
宝玉的分享
Attack and Defense Labs
Attack and Defense Labs
T
The Blog of Author Tim Ferriss
量子位
aimingoo的专栏
aimingoo的专栏
The Cloudflare Blog
P
Privacy & Cybersecurity Law Blog
S
SegmentFault 最新的问题
MongoDB | Blog
MongoDB | Blog
Apple Machine Learning Research
Apple Machine Learning Research
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
L
LINUX DO - 热门话题
博客园_首页
F
Full Disclosure
Recent Commits to openclaw:main
Recent Commits to openclaw:main
D
Docker
U
Unit 42
A
About on SuperTechFans
博客园 - 司徒正美
Hacker News - Newest:
Hacker News - Newest: "LLM"
人人都是产品经理
人人都是产品经理
Application and Cybersecurity Blog
Application and Cybersecurity Blog
G
Google Developers Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
J
Java Code Geeks
云风的 BLOG
云风的 BLOG
Scott Helme
Scott Helme
TaoSecurity Blog
TaoSecurity Blog

CachyOS Forum - Latest posts

Ran into a frozen black screen issue with latest update Niri Settings GUI Not Appearing Update to Gnome 50 and I'm getting black/blank screen on NVIDIA with hybrid graphics My JBL Quantum 350 headphones dont play sound 90% of the time on linux while on windows it plays audio 99% of the time Niri/Noctalia Shell notifications Getting a black screen after alt-tabbing too many times Rog-control-center Duplicate keyboard and mouse in system settings? Games running very poorly after first session (semi-solved, still need help though!) Amdgpu random hangs (does cachy perhaps plan to carry patches for this)? A little something. The adj script that replaces GNU fmt for non-ASCII text Mouse scroll wheel issues - ratchet Can't start steam after updates of today (17 April) Balena etcher or ventoy QEMU Bridge setup - Maybe already known but I found it pretty difficult to do and needed much reading Multi-boot install: what do I do about my /boot and /boot/efi partition? Do you collect all the solutions and post them on Wiki or Forum? System update - lts headers invalid or corrupted Sick to death of updates killing my games! I messed up my stuff again and cant download any thing now. error below Got Logitech MX4 with Haptic working in CachyOS Need help with the performance button on my Acer Nitro V16 AI Bailing out, you are at your own Troubles in the Starfield What is so special about the new Linux Kernel 7? "Issue: Display brightness is locked at a low level after waking from sleep on CachyOS (latest update) Balena etcher or ventoy Help with kernel update, emergency mode Issue happening only on wayland Display not recognised - low resolution Remmina, RDP -> black screen I updated my laptop and now my application launcher is broken, what do I do? Rekordbox / how to make a Pioneer USB When will Linux 7.0 be available for our OS? Internal Drives Not Recognized Due to RAID BIOS Setting Desktop icons highlighting issue after updating to KDE 6.5 What car you own and which is your dream? Linux tech help in DFW area Any one play Stalker 2 now Thunderbolt peripherals working but eGPU & SSDs within not recognised? Dual boot two CachyOS on the same BTRFS partition with Limine Beyond Compare won't start without root privilege (Exception at 000055C461983F92: EThread) Can't start new apps or close existing ones after lock screen wake AMD Radeon RX 7900 XTX: Horizontal Flickering at 144Hz (Gigabyte M32UC) What is the best VM for Cachyos Openbox install failed Blender dim ui when using vulkan on kde Low performance and stuttering when using modern upscalers Cachy-update ==> ERROR: Cannot fetch updates I want to sabotage my wife's Windows laptop Bonjour de l'ile de la Réunion Youtube videos not playing System update downloads stall halfway then proceed 30+ mins later Spectacle not recording video ME3Tweaks Mod Manager - Android USB tethering not working? Audio delay on a fresh install of CachyOS - Why is it a thing and not implemented from the start / fixed in a update? Bluetooth Pairing Failure After updates KDE kickoff not launching Installer hangs on iptables-nft repo selection - Installation ISO unusable Disable gamepad input on background apps Microphone broken by recent update Blue Yeti Microphone needs replugging Middle click cut-paste not working after update (solved) USB Headset Not Showing Wireless Bose bluetooth headphones only appearing as audio gateway and automatically switching back if I change it SDDM black screen on boot, how can I fix it? Booting in emergency mode after mounting a second SSD with cachyos from different computer MT7922 (MT7921e) Wi‑Fi fails to initialize: hardware init failed / patch semaphore timeouts on CachyOS Laptop external speakers not detected in fresh install 9070xt Performance Problems Sera - A script to update KDE Plasma addons in the terminal (initial feedback thread) PSA - Bluetooth Where does all this vlc bloat come from and how to get rid of it? 'Github wants your data' for AI training Handheld Edition Manga Mode Please stop enabling the cachyos-rate-mirrors.timer with every update Vulnerability reintroduction - pacman Brave browser won't launch! [flatpak] Open discussion on AI / LLM content: Opinions? Guidelines? What do the admins/moderators say? Useful Terminal System Commands How to optimize microphone quality (fix poor Krisp in discord) I have to log in every time I open Discord Multi Monitor login flickering Limine won't install How to mount Network Storage with fstab GNOME 50 broke extended display Kwin_wayland crash causing problem with clicking on anything with mouse. Note my mouse works and moves fine I'm trying to access files from my phone but dolphin shows this error. My phone is xiaomi 13pro+ [Help] MKX stuck at 7fps, GPU+CPU idle at 3% — GNOME 50 + RDNA4 Gaming Performance Halved [New User Help] Corsair rgb fans power cycling every 2-3 seconds (CachyOS/Limine) Terrible Performance in any games 5.1 Audio only as Stereo I feel like I am missing something simple with sleep ( Sleep issues ) Steam slow download speeds 5.1 audio channels randomly mixed up Mayflash Wii Sensor Bar Not Working in Dolphin "AI" Wallpaper Images Running X11 instead of Wayland
CachyOS asks for encrypted password twice for both root and swap partition
@samturner · 2026-05-17 · via CachyOS Forum - Latest posts

1

I initially installed cachyOS without swap partition. I decided to create an encrypted swap partition. However by doing so it always asks for the password before it starts grub bootloader and after I select the current option, it will then asks me for the same password for the swap partition, I only want it to prompt me for the password once.

image
image

Keep in mind it is using the same password.

This is what I have under the following files:

/etc/fstab:

UUID=C19D-448D                            /boot/efi      vfat    defaults,umask=0077 0 2
/dev/mapper/luks-6bc30522-a289-422e-9dd6-7d21ce6493b7 /              ext4    defaults,noatime 0 1
/dev/mapper/luks-8fd1bedb-61fe-4969-8c9a-5f72de6755c8 /home          ext4    defaults,noatime 0 2
/dev/mapper/luks-8fd1bedb-61fe-4969-8c9a-5f72de6755c8 swap           swap    defaults 0 0

/etc/crypttab:

luks-6bc30522-a289-422e-9dd6-7d21ce6493b7 UUID=6bc30522-a289-422e-9dd6-7d21ce6493b7     /crypto_keyfile.bin luks
luks-8fd1bedb-61fe-4969-8c9a-5f72de6755c8 UUID=8fd1bedb-61fe-4969-8c9a-5f72de6755c8     /crypto_keyfile.bin luks
luks-02eca58f-2415-488f-9a2e-89421d1a5fd8 UUID=02eca58f-2415-488f-9a2e-89421d1a5fd8 luks-6bc30522-a289-422e-9dd6-7d21ce6493b7 luks,keyscript=/lib/cryptsetup/scripts/decrypt_derived,initramfs

/etc/default/grub:

GRUB_DEFAULT=0
GRUB_TIMEOUT='5'
GRUB_DISTRIBUTOR='CachyOS'
GRUB_CMDLINE_LINUX_DEFAULT='nowatchdog nvme_load=YES rd.luks.uuid=6bc30522-a289-422e-9dd6-7d21ce6493b7 rd.luks.key=/crypto_keyfile.bin rd.luks.uuid=02eca58f-2415-488f-9a2e-89421d1a5fd8 resume=/dev/mapper/luks-02eca58f-2415-488f-9a2e-89421d1a5fd8 splash loglevel=3'
GRUB_CMDLINE_LINUX=""

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
GRUB_ENABLE_CRYPTODISK=y

# Set to 'countdown' or 'hidden' to change timeout behavior,
# press ESC key to display menu.
GRUB_TIMEOUT_STYLE=menu

# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `videoinfo'
GRUB_GFXMODE=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY='true'

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
GRUB_THEME='/usr/share/grub/themes/cachyos/theme.txt'

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"

# Uncomment to make GRUB remember the last selection. This requires
# setting 'GRUB_DEFAULT=saved' above.
#GRUB_SAVEDEFAULT=true

# Uncomment to disable submenus in boot menu
GRUB_DISABLE_SUBMENU='false'

# Probing for other operating systems is disabled for security reasons. Read
# documentation on GRUB_DISABLE_OS_PROBER, if still want to enable this
# functionality install os-prober and uncomment to detect and include other
# operating systems.
GRUB_DISABLE_OS_PROBER='false'
GRUB_EARLY_INITRD_LINUX_STOCK=''
GRUB_TOP_LEVEL='/boot/vmlinuz-linux-cachyos'

Any advise on what I need to do so that it only asks me once for the password?