maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Upgrading (https://talk.maemo.org/forumdisplay.php?f=8)
-   -   N800 how to set swap partition with only single partition? (https://talk.maemo.org/showthread.php?t=22906)

rash.m2k 2008-08-16 19:58

N800 how to set swap partition with only single partition?
 
Firstly I thought I would start a new topic because this is a different question and hopefully people who are stuck like me will be able to find it.

Now I have my N800 the problem is I have no swap space! I am booting completely of the SD card. How do I get some swap space?

I surmise that there are two ways I can proceed:

1) Resize SD card and create swap parition

2) Create a 128MB file and use that as swap.

Could someone please show me how to do this? Which method is easier and safer?

df -h shows tmpfs mount on /dev/shm, is this the swap partition? It is only 1MB by the way.

Do i need to add a new line to the fstab and mount the swap manually (if i went for step 1.)

Basically I can't enable the swap through the UI because there is not 'internal' vfat partition just one big ext2.

I just want to get some swap space, could someone please tell me how to do it.

rash.m2k 2008-08-17 17:45

Re: N800 how to set swap partition with only single partition?
 
Seems like I should have used google, anyway here is how to do it:

http://systembash.com/content/tag/ram/

This method means you do not need to resize the ext2 partition and also means swap can be >128mb.


All times are GMT. The time now is 03:06.

vBulletin® Version 3.8.8