Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just installed Fedora 29 on my laptop. I did a fresh install from a previous version. On the system Monitor resource tab it states swap unavailable. The File systems tab states I have 3.6 gb of swap available. Is the system just not using swap and that's why it's not available on the resource tab or is Fedora not finding swap to use? If it's the latter can I fix this without reinstalling? My Linux knowledge is probably beginner to Mid level, I have been running Linux since about the time Fedora 1 so I am fairly familiar with How Fedora works and I have never seen this, have I just been blissfully ignorant in the past? I set this install up like I always do. I am somewhat comfortable using the terminal if I have good instructions. A new install wouldn't be horrible other than the time spent as my home directory is its own partition.
Does the swap partition's UUID from blkid output match the UUID used by fstab's swap entry, and grub.cfg's linux lines? They need to, unless mounting is being done by LABEL, in which case the LABELs must match.
I couldn't find that directory nor could I cd to it in the terminal. I am not sure how to add it via terminal since Fedora doesn't allow gui login to root. GParted also doesn't show a swap partition.
Output from blkid will show which partition, if any, is swap, and its UUID.
You can login as root on Fedora's vttys, such as you get using Ctrl-Alt-F3.
In a terminal or a vtty, using mc to navigate filesystems, persuse files, edit text files, copy & rename files and much more is easy. If mc is not installed, install it, using sudo if necessary:
The UUID you see there needs to match exactly the UUID in the swap line in /etc/fstab. Does it?
And the "type=ext4" sounds wrong to me, a swap partition (or logical volume, in this case) should not have a file system on it. The OP may have reformmated the partition to a fs so that swap cannot find the swap header anymore.
And the "type=ext4" sounds wrong to me, a swap partition (or logical volume, in this case) should not have a file system on it. The OP may have reformmated the partition to a fs so that swap cannot find the swap header anymore.
I missed that. We need to see his /etc/fstab if he wants help determining the optimal way to repair. In the mean time, he can avoid the problem by commenting the swap line in /etc/fstab.
And the "type=ext4" sounds wrong to me, a swap partition (or logical volume, in this case) should not have a file system on it. The OP may have reformmated the partition to a fs so that swap cannot find the swap header anymore.
When I try an open that directory it tells me it does not exist. If I did that my bad, didn't mean to.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.