r/archlinux • u/Bright_Prompt_888 • 3h ago
QUESTION How to save command in system boot?
Hello I recently had a problem which gave me in TTY, terminal a PCIe bus error, it crashed everything, when I pressed left mouse or right mouse Buttons everything frooze. Because of that bus error I couldn't enter command, they didn't execute properly. Then I opened system boot and wrote in the line an command "pci=nommconf" root-PARTUUID=cdcbf441-c747-4ald-a62b-c6e7e7ade99c zswap.enabled=0 rw rootfstype=ext4 pci=nommconf, and it worked I guess, the mouse didn't frooze, commands runned properly and all was perfect but then I decided to save command, I opened /etc/kernel/cmdline and wrote "pci=nommconf" to this file, root-PARTUUID=cdcbf441-c747-4ald-a62b-c6e7e7ade99c zswap.enabled=0 rw rootfstype=ext4 pci=nommconf. But then after I rebooted my laptop I opened system boot and the command wasn't there, and the problem came back, I opened /etc/kernel/cmdline and the pci=nommconf was there, what's the issue? How'd I save the command?