View Single Post
Posts: 111 | Thanked: 50 times | Joined on May 2015
#6
Originally Posted by michaaa62 View Post
Put in the card to remove the pre-installed partition, then add two new partitions. For additional data storage, roughly 30 GB, and for additional swap 768 MB. For best results first read the whole set of commands, try to understand, what is going on, ask any question as necessary.

You need the package rootsh installed on the N900 for the following commands to work fine
Code:
sudo gainroot
fdisk /dev/mmcblk1
Fdisk program is menu-based. Use 'h' for help to get the list of commands inside fdisk. In fdisk do
Code:
d
1
n
p
1
1
29764
n
p
2
29765
30532
w
You created two partitions, the first for additional file storage the second for the second swap partitions. Now apply the file systems
Code:
mkfs.vfat -n sdcard1 /dev/mmcblk1p1
mkswap -L swap_sdcard /dev/mmcblk1p2
After a reboot you might use one of the different methods to utilize the second swap like ereswap, swappolube or else.
Good luck!

Thank you very much for this detailed answer. I have another questions though:
1. On this page -> http://wiki.maemo.org/Flopswap you can find information, that on microSD card 3 partitions are needed. What do you think of this solution and how to implement it to the phone.
2. When I am trying to use fdisk in x-terminal I got the info: fdisk: not found. Is fdisk the same as sfdisk ?

Last edited by NotMicro; 2016-10-10 at 13:43.
 

The Following 2 Users Say Thank You to NotMicro For This Useful Post: