Posts: 150
rjm65
Joined: 20 Jan 2014
#1
I don't know what I did during install, however i must have missed something because i have no swap file...
I created my own swapfile by shrinking the mx15 volume, and creating a 2 gig swapfile, and marked it swapon...
Now I need to know how to get mx-15 to use my swapfile, I tried an old method i had using fstab, however when i tried it said that is no longer used, and something about a udev now controls it?
any help would be be appreciated, thanks in advance...
Last edited by rjm65 on 03 Apr 2016, 21:16, edited 1 time in total.
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#2
can you post

Code: Select all

blkid
and

and the contents of your fstab?
Posts: 150
rjm65
Joined: 20 Jan 2014
#3
dolphin_oracle wrote:can you post

Code: Select all

blkid
and

and the contents of your fstab?

Code: Select all

$ sudo blkid
/dev/sda1: UUID="3D31-1204" TYPE="vfat" PARTUUID="00090554-01"
/dev/sda2: LABEL="rootMX-15" UUID="8bd6a16f-6815-4312-a657-df63a2069bcf" TYPE="ext4" PARTUUID="00090554-02"
/dev/sda3: UUID="e2f9c4ca-11a9-42ca-b996-e3d4b4a3de8e" TYPE="swap" PARTUUID="00090554-03"
/dev/sdb1: UUID="D6B6-DC7F" TYPE="vfat" PARTUUID="00eb69af-01"
======
fstab contents:
# Pluggable devices are handled by uDev, they are not in fstab
UUID=8bd6a16f-6815-4312-a657-df63a2069bcf / auto defaults,noatime 1 1
======
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#4
so you need at add an entry in fstab.

Code: Select all

#Entry for /dev/sda3 :
UUID=e2f9c4ca-11a9-42ca-b996-e3d4b4a3de8e    swap    swap    defaults    0    0
save, then try

Code: Select all

sudo swapon -a 
Posts: 150
rjm65
Joined: 20 Jan 2014
#5
dolphin_oracle wrote:so you need at add an entry in fstab.

Code: Select all

#Entry for /dev/sda3 :
UUID=e2f9c4ca-11a9-42ca-b996-e3d4b4a3de8e    swap    swap    defaults    0    0
save, then try

Code: Select all

sudo swapon -a 
Thank you Dolphin this worked... __{{emoticon}}__