Swap file on /data - HTC Pico (Explorer)

Hi. i use cody script to mount /data and /cache as external sdcard partitions. I edit it and mount internal /data as something other (name doesn't matter) and i make swap file using mkswap and when i try to enable it using swapon i getting error 22. Can you help me? Swap on internal data will not broke faster my sdcard and work faster

Related

sdcard partitions for droid

I have a Motorola Droid. I'm looking to create partitions on a 16g sdcard because every time I try to mount the card in custom recovery or rom manager I get message E:can't mount sdcard /dev/block/mmcblk0. I've been trying to do this through fdisk through adb and I can delete partition 1 and to the prompt to create new partitions but don't know size/space I should allocate to the Fat32 primary, or ext2 and if I even need and ext 3/4? Any help would be appreciated.

Partitioning and mounting /sd-ext for swap purpose

I know that this problem has been discussed before but I want to know the following.
I partitioned my phone using CWM and set a swap file (partition 512Mb, Swap 256Mb) using CWM, But when I browse through root/ I'm unable to find /sd-ext folder.
My problem is that I need to make a swap file (using RAM Extender) But if I make the swap file as such in the SD Card I will be needing to disable every time I connect to USB Mass storage, so I would like to do a partition in my card and Mount it in /sd-ext folder a create a swap file there.
I found that the folder /asec and /extasec exist in /mnt folder with 220 mb space each, can I use it for swap?
Can Anyone Please Help Me?
This phone has swap partition by default.
Sent from my LG-P920 using xda app-developers app

[Q] How to mount entire internal sdcard (/mnt/sdcard2) as /data

Since I'm using a custom ROM that make the External (bigger: 14GB) SD mount as the default /sdcard, and internal (smaller) as /sdcard2 or something I don't really need it and would much rather like to mount it entirely as /data
.. something similar to this script : http://forum.xda-developers.com/showthread.php?t=1716124 except that it "Mounts **/sd-ext** to /data" but I want to mount /mnt/sdcard2 to /data
. How do I do that?
Problems: I've found that Android would neither let that internal partition be ext3 (it switches it back to FAT even if I somehow manage to format it as ext3). Nor would it mount /data to a FAT partition. What can/should I do?
iBrickYouNot said:
Since I'm using a custom ROM that make the External (bigger: 14GB) SD mount as the default /sdcard, and internal (smaller) as /sdcard2 or something I don't really need it and would much rather like to mount it entirely as /data
.. something similar to this script : http://forum.xda-developers.com/showthread.php?t=1716124 except that it "Mounts **/sd-ext** to /data" but I want to mount /mnt/sdcard2 to /data
. How do I do that?
Problems: I've found that Android would neither let that internal partition be ext3 (it switches it back to FAT even if I somehow manage to format it as ext3). Nor would it mount /data to a FAT partition. What can/should I do?
Click to expand...
Click to collapse
you can't

Link2SD mounting issues

I made an ext3 partition on the SD card so I could move the apps to the SD card. But when I create the mount script, it works after a reboot. I reboot again to find that my ext3 partition hasn't mounted on boot. So I go to Link2SD and it asks to create the mount script again. So what I understand is that the mount script cannot be used during boot. What should I do?

Change sdcard default filesystem

So I bought a new Samsung sdcard. The sdcard automatically formats into f2fs if I try to use it as adoptable(Internal) storage. I don't have any problem with f2fs bit seems like my device or ROM doesn't support it (Random reboots and bootloops). I used the sdcard as portable as fat and ext4 and there Werner any issue. I previously had another sdcard which would convert into ext4 while using as internal and it didn't have any problems.
So can I change the sdcard's default file system so that it would convert into ext4 instead of f2fs if used as internal ? Any help is appreciated.

Categories

Resources