I followed this guide to create a second partition (in order to save internal space). But the problem is, Link2Sd won't work on it saying /data/sdext2 mount is not found (whilst /data/sdext2 exists). I also selected and tried the following : Ext2 and ext4. At this moment, I'm not sure if Fat32 or ext3 will work anymore.
Related
Hi everyone,
I have project in mind but all i did to realize it didn't work.
my project is: i want to use the sdcard with 1st primary partition for saving Roms and updates to work with cwm (fat or fat32), 2nd prim. part. for my data aka "/mnt/sdcard" (ext4), 3rd prim.part. for apps using Link2SD (ext4) and last, optionally, 4th prim. part as SWAP (swap).
this is because i want to use ext4 for /mnt/sdcard but cwm can not read ext4 to backup/restore roms. i tried something with vold.fstab, and init.local.rc, init.rc, /etc/init.d/ but i couldn't achieved the goal.
can anyone help me achieve this?
thx
i'm using CM7 (CyanogenMod-7.1.0-MADTEAM Gingerbread 2.3.7) SD 8GB
512 MB (FAT/FAT32)
6 GB (EXT4)
1GB (EXT4)
128MB (SWAP)
i found a manner to make the first primary partition visible only to cwm: i made it hidden fat.
so android looking for the first usable partition of my sd to mount as sdcard. also by a script i can make swapable the last partition, but this is an option as it is not always wise to have a swap partition.
but some problems remain:
-android forces mount in fat32 for sdcard
-link2sd forces to mount the 2nd partition for its purposes, and it cant because the partition is already mounted as sdcard in fat32. link2sd has to mount the third partition for linked apps.
On my Archos 101IT I formatted the (removable) SD card as ext3. This was required for TitaniumBackup. When UrukDroid is booted, it mounts the file system as:
/dev/block/vold/179:17 on /mnt/storage/sdcard type ext3 (rw,nosuid,nodev,noexec,noatime,nodiratime,fmode=0 666,dmode=0777,errors=continue,data=ordered)
I do not want the fmode/dmode since these make it impossible to protect files on the storage (again, as required by TitaniumBackup).
Where can I change what to have this file system mounted with the right options on reboot?
ANSWER:
Urukdroid has a special script, /system/bin/mount_sdcard.sh, that mounts the SD card upon boot. This script understands (V)FAT and EXT4. Anything else is left to the vold automounter. Archos modded vold so it could do a bit more than stock A 2.1 vold, e.g., mount EXT3 file systems.
I upgraded the file system on the SD card to EXT4, and now mount_sdcard.sh mounts the SD card upon boot with the correct mount options.
Thanks to $aur0n for helping me solve this.
Upgrading an EXT2 or EXT3 file system to EXT4 is easy, see https://ext4.wiki.kernel.org/index.php/Ext4_Howto#Converting_an_ext3_filesystem_to_ext4 .
So ran out of storage in /data partition, decided to create 2 partitions in my external SD and i created it using Gparted, one is ext4 and the other is fat32, now the phone refuses to mount the ext4 partition from Link2SD.
Looking at the vold.fstab file and sysfs paths(/devices/platform/mtk-msdc.0) , it seems that our phone can mount only 2 (+1 otg) partitions ? (or is it just 2 sd cards ?)
is it even possible to mount the second partiton ?? (No /devices/platform/msm_sdcc )
I do know of the EMMC method, i don't like it ;p
A block for the second partiton is present in /dev/block,(mmcblk1p2) gonna mount and see what happens
gowtham121 said:
So ran out of storage in /data partition, decided to create 2 partitions in my external SD and i created it using Gparted, one is ext4 and the other is fat32, now the phone refuses to mount the ext4 partition from Link2SD.
Looking at the vold.fstab file and sysfs paths(/devices/platform/mtk-msdc.0) , it seems that our phone can mount only 2 (+1 otg) partitions ? (or is it just 2 sd cards ?)
is it even possible to mount the second partiton ?? (No /devices/platform/msm_sdcc )
I do know of the EMMC method, i don't like it ;p
A block for the second partiton is present in /dev/block,(mmcblk1p2) gonna mount and see what happens
Click to expand...
Click to collapse
hi, gowtham121
ROOT your phone first,
create 2 partitions as fat32 on sdcard
its work on my chd:fingers-crossed:
Hello,
I own the plus version of Link2SD but I encouter an issue.
I was using a µSD card of 32Gb with 2 partitions, 1 FAT and 1 ext3
Then I decided to upgrade my µSD card with a 64Gb. I recreated 2 partitions, 1 FAT and 1 ext4 this time. And then I copied the files from the old card to the new one from my linux box.
After installing the new µSD card and booting the phone, the apps that were linked to SD card are not available so I checked Link2SD and for apps that were totally or partly linked to SD card, there is an orange flag telling me to reboot the phone. I did it twice but nothing changes.
So I recreated the mount scripts as the previous partition was ext3 and now ext4. But it is still the same.
So I tried to re-create mount script, but with ext3 this time, and after reboot, most of the apps where linked again (but not all apps). But some apps are missing. And if I try to link apps/cache/library files... it says /data/sdext2 not found
I had a look at the files on the sdcard : maybe the problem is that when I copied files from one card to another, I was root on my linux system and the owner and group of the file are now root:root ?
Otherwise, the permissions seems to be correct (r, w, x)
So what is the rignt procedure to get everything back ?
Hi , i have 32 g sdcard . I partitiong it into two partition fisrt with fat32 and second with ext4 i use app2sd to do that . When i use link2sd i can mount second part easly with no problem but when try to link obb file to first fat32 partition i got error and i can't mount it . I try foldermount and i got "error:extsd permission"