View Single Post
Posts: 53 | Thanked: 48 times | Joined on Dec 2008 @ Montreal, Canada
#285
Originally Posted by FOFAO556 View Post
The only problem I had in both cloning is with my swap.
I type "free" and I get "0".
I do swapon /dev/mmcblk1p3 and I get my 256 MB, which remain in the mean time I don't turn the N810 off.
If I turn it off, I loose my swap and I need to use "swapon" again.
Any options?
Thank you
Here is a workaround that worked for me but there is probably a better way to get this done.

I managed to get swap to auto-mount on my cloned partition running Diablo. After some trials, I concluded that entries in /etc/fstab seem to be ignored at startup. Therefore, this is what I did.

-Get root in terminal

-
Code:
nano /etc/init.d/mountswap.sh
-input this in the mountswap.sh file that you are editing
Code:
#/bin/sh
swapon /dev/mmcblk1p3
-Ctrl-O to save. Yes to confirm

-Still in the terminal, issue:
Code:
update-rc.d mountswap.sh defaults
-Reboot and now your tablet should auto-mount the swap.

Shaq

Last edited by born2wonder; 2009-12-13 at 10:22.
 

The Following 3 Users Say Thank You to born2wonder For This Useful Post: