dCore Import Debian Packages to Mountable SCE extensions > dCore X86

swap partition not automatically used

(1/1)

jls:
Hi
I'm trying my usb pendrive in many places, but on this pc the swap partition is not automatically used:

--- Code: ---jls@box:~$ cat /etc/fstab
# /etc/fstab
proc            /proc        proc    defaults          0       0
sysfs           /sys         sysfs   defaults          0       0
devtmpfs       /dev         devtmpfs mode=0755,nosuid    0     0
/dev/fd0        /mnt/fd0        auto     noauto,users,exec    0 0 # Added by TC
/dev/sda1       /mnt/sda1       ext4     noauto,users,exec    0 0 # Added by TC
/dev/sda2       /mnt/sda2       ext4     noauto,users,exec    0 0 # Added by TC
/dev/sda4       none            swap     defaults             0 0 # Added by TC
/dev/sdb1       /mnt/sdb1       vfat     noauto,users,exec,umask=000 0 0 # Added by TC
/dev/sdb2       /mnt/sdb2       ext2     noauto,users,exec,relatime 0 0 # Added by TC
jls@box:~$


--- End code ---
but if I

--- Code: ---sudo swapon /dev/sda4

--- End code ---
then it is used.
Thnks

Jason W:
Ok, I will check it out

Jason W:
Swap is getting automatically set up on my box:


--- Code: ---tc@box:~$ swapon -s
Filename                                Type            Size    Used    Priority
/dev/sda1                               partition       2047996 91216   -1
tc@box:~$


--- End code ---

netnomad:
hi jason,

what do you think about enabling swap in zram, again.

thank you for your help

Jason W:
Hi netnomad.

I had disabled it as I could not get it to work before, I will try iti again.

Navigation

[0] Message Index

Go to full version