Help with swap file


BAFelton

Well-Known Member
Joined
Jun 23, 2010
Messages
1,273
Website
www.open-consoles.com
Hi, I use a swap file on my SD and with SZ Final, it doesn't seem to activate anymore when I boot the Pandora.


I used to edit my fstab in filesystem/.etc (sudo mousepad) and add this line :


/media/SDLOCATION/swap none swap sw 0 0


and after the reboot with swapon -s it doesn't appear.


But if I :


sudo swapon /media/SDCARD/swap


and swapon -s , it appears.


Do I have to change the '/media/SDLOCATION/swap none swap sw 0 0' line into something else ?


I used a tutorial on GP32x to do this, not my work.


Thanks !
 
It can't mount the swap before it mounts the SD card: add the SD card mount point to your fstab as well.
 
Here is my fstab :


# OpenPandora fstab.


rootfs / auto defaults,noatime 1 1


proc /proc proc defaults 0 0


devpts /dev/pts devpts mode=0620,gid=5 0 0


usbfs /proc/bus/usb usbfs defaults 0 0


tmpfs /var/volatile tmpfs defaults 0 0


tmpfs /dev/shm tmpfs mode=0777 0 0


tmpfs /media/ram tmpfs defaults 0 0


/media/SD2/swap none swap sw 0 0


# The /boot kernel volume on the OpenPandora NAND.


ubi1:boot /boot ubifs defaults 0 0


Made a mistake ? Cause it worked before SZ final.
 
Back
Top