Sample Header Ad - 728x90

Disable swap file from the Linux kernel boot parameters

2 votes
2 answers
2318 views
I am thinking of installing linux-lts as a backup kernel to use temporarily if mainline breaks (I'm on Arch). I use a swap file under Btrfs and that's not supported on Linux <5.0. Anyway to disable swap file with kernel boot parameters or some other way before systemd mounts the swap file reading off the fstab?
Asked by Zethex (117 rep)
Jul 8, 2019, 10:22 AM
Last activity: Apr 24, 2025, 11:09 PM