[Q] mount ext2 partition on boot ? - General Questions and Answers

I made an ext2 partition in my sd card to use for data2sd (titanium). I guess since it's all about linux, I need to add an entry in /etc/init.d/ . Can anyone tell me what's the proper command syntax?

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.

Link2sd mount script cannot be created

Hi,
When I instal Link2SD and open it for the first time it asks for the file system for my SD card second partition and I select ext4, but after always gives this error message "Mount script cannot be created".
The rom I'm using is CyanogenMod 10.2 by Rashed97 and Kernel 2.6.35.10.
Anyone can help me with this please, I tryed many things but didnt worked.
Problem resolved...
I've updated Superuser and rebooted the phone and after link2sd created automatically a new script and mounted the sd card properly.
Cant know exatcly what was the reason but worked.
But now I'm having another problem, Whenever I try to converte to User App I get this message "Failure - pkg: 7cache/download/****.apk Failure [INSTALL_FAILED_INVALID_APK]
Anyone can help me with this?
Mount script cannot be created.
If you store the Link2sd application in your memory card, it will not able to link to SD. Move that application to internal storage and use ext4 as second partition. It is working in my Samsung Galaxy 4.
solved for me
i had the same problem but got it resolved by....
connected the SD and phone using USB cable
backed up my files
i formatted the SD card created 2 partitions using Mini Tool Partition Wizard Manager, one with FAT32 and one with Ext4
exited the Mini Tool Partition Wizard Manager
DIDN'T safely remove the hardware from the taskbar
DIDN'T turn off USB storage
DIDN'T detach the USB cable from the PC
turned off the phone by the power button and disconnected the usb cable.
turned on the phone and opened the Link2sd app and chose ext4 and it created the mount script successfully
Hi all, same here, cannot create mount scripts.
MicroSD 32GB, recovery TWRP v2.7.0.0, rom CyanogenMod 11.0.0-RC11-p500.
Formatted SD-EXT (1024MB, no SWAP partition) in ext4 and now ext3, the mount scripts are not working.
Baboo85 said:
Hi all, same here, cannot create mount scripts.
MicroSD 32GB, recovery TWRP v2.7.0.0, rom CyanogenMod 11.0.0-RC11-p500.
Formatted SD-EXT (1024MB, no SWAP partition) in ext4 and now ext3, the mount scripts are not working.
Click to expand...
Click to collapse
Tried ext4, ext3, ext2 and even fat32... Not one of them works.
There is an app similar to Link2SD but working?
Or how can I use SD-EXT to extend the space for apps?
Thank you.
Baboo85 said:
Tried ext4, ext3, ext2 and even fat32... Not one of them works.
There is an app similar to Link2SD but working?
Or how can I use SD-EXT to extend the space for apps?
Thank you.
Click to expand...
Click to collapse
same issue here
Had similar problem also ("invalid argument" message). Problem in my case was that my CWR formatted to ext4 by my ROM do not want to work with ext4. So I used "mini tool" and formatted to ext3. Connect in CWR to PC and format , reboot, create script, ....
I solve the problem by not using the SD-Ext.
I'm guessing that this is something none of you are aware of as I don't see it mentioned in any of your posts...
Link2SD will fail if there isn't enough free space in /system.
Baboo85 said:
Tried ext4, ext3, ext2 and even fat32... Not one of them works.
There is an app similar to Link2SD but working?
Or how can I use SD-EXT to extend the space for apps?
Thank you.
Click to expand...
Click to collapse
For others who find their way to this thread
It appears this is an issue specific to the device - and that is an "unknown" until you try. I tried the above also - with minitool partition manager and easus partition manager and none of the partitions worked with Link2SD. Then I downloaded and installed app2sd (all in one tool) on the device and used the partition tool included with it to reformat the second partition. Be advised the app2sd version from google Play was full of absolutely ridiculous ads that I had to constantly escape and back out of or "X" out of at the top right or left corners - to get back to use the actual tool itself.
1. Ext2 format failed with an error (tried it twice even after wiping the partition)
2. did not try Ext3
3. Ext4 formatted successfully - but the mount script of Link2SD STILL failed
4. FAT32 formatted successfully - AND the mount script of Link2SD worked
I then uninstalled App2SD - and hopefully all the ads it brings
It should be noted even after successfully getting Link2SD working - it could not "move an app" to the SD card because it reported the device - a Teclast x70R was using "emulation" - but Link2SD reported it could "link" and move some files to the SD of some programs. I suspect the reality is the FAT32 file system has something to do with this as it cannot carry the permissions needed by UNIX type Operating Systems.
Others have said the EXT file system partition must be the first partition on the SD card; and while this had proved to be true with a PC hard drive when trying to install OSX as a dual boot Operating System - on my Android device it simply resulted in the SD card being unmounted - or failing to mount at all
It should also be noted that the minitool and easus partition managers COULD NOT successfully format the second partition of the SD card apparently either - because Windows technically only will recognize the first partition on a removable SD card type drive - apparently true even though they both reported successfully formatting the partition - when in fact it was ONLY AFTER reformatting using the app2sd partition tool did I get meaningful error messages - and/or that the FAT32 format of the second partition actually worked in Link2SD
It is another example of "go figure"

Problem mounting sdcard

My sdcard can be detected by windows. I can see all files on it.
I tried minitool partition to make an EXT4. Now I have a problem, I format the sdcard and still can't be mounted on my pico.
I tried to activate the option via adb
I hope xda's help me.
(sorry from my english)
did you make the main sdcard partition as ext4? is it logical? you gotta make fat32 as primary to make it work in your android..windows can read logical partition but androids 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?

ext2

is there other way to move file to the ext2 patition ?
already tried ext2fsd and it didnt work

Categories

Resources