How do i mount 2nd Partition of Sd Card using Termux? - Samsung Galaxy J2 Questions & Answers

Hi, hello!
I'm having problems of Link2SD lately not being able to mount my Sd Card's 2nd Partition, and i was wondering how could i manually mount the 2nd Partition using Termux ?.

Why not use APP2SD instead?
Nicholas I said:
Hi, hello!
I'm having problems of Link2SD lately not being able to mount my Sd Card's 2nd Partition, and i was wondering how could i manually mount the 2nd Partition using Termux ?.
Click to expand...
Click to collapse
I think your better off using APP2SD it's same with L2SD but with better compatibility, i hope this solves your problem ?.

Related

[Q] Switching from A2SD to D2EXT help

I was recently using a ROM that required an A2SD formatted sdcard. I now switched to a D2EXT ROM and formatted my partitions accordingly to instructions. When i try to flash or even mount my sdcard, it comes out:
E:Can't mount /dev/block/mmcblk0 (or /dev/block/mmcblk0p1)
(Invalid argument)
Error mounting SDCARD:!
Does anyone know how to fix this problem? I know a little adb and am using Clockworkmod 2.5.0.1.
Thanks for any help!
try to reformat your sd card again, fat32 first then create ext partition.
sorry, didn't notice that you cannot mount your sd card also..
maybe you can try this.
http://forum.xda-developers.com/showthread.php?t=691639
termenk11 said:
try to reformat your sd card again, fat32 first then create ext partition.
sorry, didn't notice that you cannot mount your sd card also..
maybe you can try this.
http://forum.xda-developers.com/showthread.php?t=691639
Click to expand...
Click to collapse
thank you
termenk11 said:
try to reformat your sd card again, fat32 first then create ext partition.
sorry, didn't notice that you cannot mount your sd card also..
maybe you can try this.
http://forum.xda-developers.com/showthread.php?t=691639
Click to expand...
Click to collapse
Thanks very much!!
the method is “try to reformat your sd card again, fat32 first then create ext partition.”,
right?
thank u!

[Q] cant mount /dev/block/mmcblk0p2 [SOLVED]

I had been trying to install the new oxygen 2.0.1 with and the data2whatever scripts and also tried to reformat my sd card to increase from 512 to 1024mb.
from what ive read i may have somewhoe reformatted my internal sd ext or did something to it.
I followed one fix found from hereHere
but that didnt help it made another problem which is: cant mount /dev/block/mmcblk0 (or /dev/block/mmcblk0p1) I/O error
error mounting /sdcard/.android-secure!
does anyone else know a link for a fix or how to fix the sd-ext on the internal storage?
Please please help
Thanks
CWM messed up mine, so that's why I never use Recoveries to do this job.
I fixed it using GParted. Deleted both partitions, created new ones and aligned both.
No problem ever since.
nagypapi said:
CWM messed up mine, so that's why I never use Recoveries to do this job.
I fixed it using GParted. Deleted both partitions, created new ones and aligned both.
No problem ever since.
Click to expand...
Click to collapse
Hey thanks for the reply, can you explain a little more.
you deleted the mmcblk0p2 directory and created new ones?
Did you do that in adb with parted?
if not how did you go about with it?
Thank you
I booted GParted from my usb stick, and the phone was in recovery mode, where I mounted the SD Card (Advanced - Mount USB Storage).
Gparted recognized it as dev/sdb0 (I think) and showed to partitions.
Removed them both (showed 15 GB Unallocated space*) and created the 1GB Ext4 and then the Rest FAT32.
*=16GB is 15 GB usable space (just in case ).
nagypapi said:
I booted GParted from my usb stick, and the phone was in recovery mode, where I mounted the SD Card (Advanced - Mount USB Storage).
Gparted recognized it as dev/sdb0 (I think) and showed to partitions.
Removed them both (showed 15 GB Unallocated space*) and created the 1GB Ext4 and then the Rest FAT32.
*=16GB is 15 GB usable space (just in case ).
Click to expand...
Click to collapse
Yeah thanks. I figured out how to do the sd card but i think my problem is the actual sd-ext folder in the system partition on the phone.
E:cant mount /dev/block/mmcblck0p2 (file exists) error mounting /sd-ext/!
ANy one else have any other suggestions??
im getting desperate
SOLVED
I finally solved this. the problem was that somehow i dont know but
when i made the ext 3 partition it was extened, so obviously recovery couldnt mount it so that was the problem.
I fixed it by following this guys thread Here using parted and the shell to format and partition my sd card
So relieved i fixed this.
Same problem was in my desire.however, solved by install RUU ROM to remove the root then I root again the problem solved.

[Q] link2sd ext2/ext3/ext4 or FAT32?

hi, can anyone help me.
im using link2sd to move all applications that movable to sdcard.
it says to partition the sdcard, which the second partition is ext2/ext3/ext4 or FAT32.
i've tried ext2, but when i turn off the phone at night and then turn on the phone at morning, it says "mount warning"
cant find second partition, and give me choice to "recreate script" or "quick reboot".
it happen again again and again. and then im trying to use FAT32 for second partition because the developer of link2sd says that FAT32 supported on all devices.
but it happen again like when im using ext2.
can anyone help me, what should i do?
how to know that SG Grand i9082 supported on which ext or fat?
thx a lot
kholiokhong said:
hi, can anyone help me.
im using link2sd to move all applications that movable to sdcard.
it says to partition the sdcard, which the second partition is ext2/ext3/ext4 or FAT32.
i've tried ext2, but when i turn off the phone at night and then turn on the phone at morning, it says "mount warning"
cant find second partition, and give me choice to "recreate script" or "quick reboot".
it happen again again and again. and then im trying to use FAT32 for second partition because the developer of link2sd says that FAT32 supported on all devices.
but it happen again like when im using ext2.
can anyone help me, what should i do?
how to know that SG Grand i9082 supported on which ext or fat?
thx a lot
Click to expand...
Click to collapse
try ext 4 ...it should work
kholiokhong said:
hi, can anyone help me.
im using link2sd to move all applications that movable to sdcard.
it says to partition the sdcard, which the second partition is ext2/ext3/ext4 or FAT32.
i've tried ext2, but when i turn off the phone at night and then turn on the phone at morning, it says "mount warning"
cant find second partition, and give me choice to "recreate script" or "quick reboot".
it happen again again and again. and then im trying to use FAT32 for second partition because the developer of link2sd says that FAT32 supported on all devices.
but it happen again like when im using ext2.
can anyone help me, what should i do?
how to know that SG Grand i9082 supported on which ext or fat?
thx a lot
Click to expand...
Click to collapse
for stable and good functionality of second partition it should be mounted on any format except fat32
also if you are having problems with link2sd try cronmod script
here's the link to it
http://forum.xda-developers.com/showthread.php?t=1879806
if you have trouble flashing it contact me
till then good luck:laugh::laugh::good::good::good:
It happens because samsung's firmware doesnt mount the second partition in some cases( mostly in ics). All you need to do is hit ''quick reboot'' when you get the prompt. Link2sd would take care of the rest and mount the second partition after a soft reboot.
There's no need to format your card again. Ext2 should be just fine.
Same Problem here when my samsung s2 restart and ext2 partition hide and not mounting invalid argument error showing can any one solve this issue?
misterhong said:
hi, can anyone help me.
im using link2sd to move all applications that movable to sdcard.
it says to partition the sdcard, which the second partition is ext2/ext3/ext4 or FAT32.
i've tried ext2, but when i turn off the phone at night and then turn on the phone at morning, it says "mount warning"
cant find second partition, and give me choice to "recreate script" or "quick reboot".
it happen again again and again. and then im trying to use FAT32 for second partition because the developer of link2sd says that FAT32 supported on all devices.
but it happen again like when im using ext2.
can anyone help me, what should i do?
how to know that SG Grand i9082 supported on which ext or fat?
thx a lot
Click to expand...
Click to collapse
I Have A Better Way To Move Obb To Sd Card Whitout Any Second Partition By An App Named Folder Mount In Playstore And It Hackable With Lucky Patcher The Idea Is To Make A Empty Folder With The Same Name Of The Obb Folder In The Place That The App Will Look For Obb In It And It's In Internal Storage In Android/Obb And Better Put The The Original Obb Folder That Have The Original Obb File In The External Storage In Android/Obb To So When FolderMount Try To Locate The Original File It Will Locate It Easily Then The App Will Trick The System To Think That The Two Folders Are One But Actualy The One That You And The App Lead To It Is The Folder In The External Storage And This Trick Work For Anything Like If You Want To Make Google Offline Translate Files Stored In External Sd Card And The App Will Still See The Files Becouse It Will Think That The Files Is In Internal Sd Card But Actualy It's In External Sd Card And For Moving Unmovabel Apps Use Link2sd It Will Move Apps Only Without Second Parition.:good:

[Q] XPERIA M with Android 4.3 (15.4.A.1.9) and Link2SD (3.7.3) - only FAT32 ?

Problem: Link2SD can not link partitions with EXT2/EXT3/EXT4-Filesystem, only FAT32.
Recently I updated my XPERIA M (C1905) with Sonys PC Companion from Android 4.1.2 to 4.3 (15.4.A.1.9).
I lost root, and Link2SD didn't work.
* Towelroot-v3 gave me (half) root again.
* I installed BusyBox Free 2.5 (v 1.23.0) and SuperSU Pro 2.40 with chainfires SUPERSU-binary 2.40
* I applied remountrebootfix (rootfixer) for 4.3 (2014-06-18, install.bat) to get full root.
* I applied term-init.sh to get init.d-support (seems to be not present in Sonys Android 4.3 / 15.4.A.1.9).
RootValidator says, that I have root. Uni-init says, that I have init.d-Support.
I formatted the (new) external SD-Card (64GB) with Minitool Partition Wizard: First primary partition (57GB), second primary Partition (1.99GB). First I tried EXT2/EXT3/EXT4 - all these attempts fail. The only solution was to format both partitions as FAT32 - doing so everything went well with Link2SD.
My questions:
* Does XPERIA M with Build 15.4.A.1.9 support EXT2/EXT3/EXT4 filesystem on the external SD-Card (first partition) at all?
* Does Link2SD (v. 3.7.3, with Link2SD Plus 1.0.6) support mounting the second partition as EXT2/EXT3/EXT4 on XPERIA M?
Thanks in advance for your help!
Michael
schiel said:
Problem: Link2SD can not link partitions with EXT2/EXT3/EXT4-Filesystem, only FAT32.
Recently I updated my XPERIA M (C1905) with Sonys PC Companion from Android 4.1.2 to 4.3 (15.4.A.1.9).
I lost root, and Link2SD didn't work.
* Towelroot-v3 gave me (half) root again.
* I installed BusyBox Free 2.5 (v 1.23.0) and SuperSU Pro 2.40 with chainfires SUPERSU-binary 2.40
* I applied remountrebootfix (rootfixer) for 4.3 (2014-06-18, install.bat) to get full root.
* I applied term-init.sh to get init.d-support (seems to be not present in Sonys Android 4.3 / 15.4.A.1.9).
RootValidator says, that I have root. Uni-init says, that I have init.d-Support.
I formatted the (new) external SD-Card (64GB) with Minitool Partition Wizard: First primary partition (57GB), second primary Partition (1.99GB). First I tried EXT2/EXT3/EXT4 - all these attempts fail. The only solution was to format both partitions as FAT32 - doing so everything went well with Link2SD.
My questions:
* Does XPERIA M with Build 15.4.A.1.9 support EXT2/EXT3/EXT4 filesystem on the external SD-Card (first partition) at all?
* Does Link2SD (v. 3.7.3, with Link2SD Plus 1.0.6) support mounting the second partition as EXT2/EXT3/EXT4 on XPERIA M?
Thanks in advance for your help!
Michael
Click to expand...
Click to collapse
1. i never tried to format my sdcard 1st partition with ext2/3/4, but why would you change your 1st partition format?
2. definitely yes, i'm using link2sd with ext4 format on my sdcard 2nd partition
adjidorporah said:
1. i never tried to format my sdcard 1st partition with ext2/3/4, but why would you change your 1st partition format?
2. definitely yes, i'm using link2sd with ext4 format on my sdcard 2nd partition
Click to expand...
Click to collapse
ad 1: Cause I'd like to take with me the offline wikepedia kiwix with (small) pictures. therefore I have to put a file on the sdcard bigger than 4GB - no way to do this on FAT, it needs EXT2/3/4.
ad 2: Are you using a Xperia M (Single, Model-Type C1905) with Android 4.3 (build-nr. 15.4.A.1.9)?
schiel said:
ad 1: Cause I'd like to take with me the offline wikepedia kiwix with (small) pictures. therefore I have to put a file on the sdcard bigger than 4GB - no way to do this on FAT, it needs EXT2/3/4.
ad 2: Are you using a Xperia M (Single, Model-Type C1905) with Android 4.3 (build-nr. 15.4.A.1.9)?
Click to expand...
Click to collapse
if the problem is you want to copy >4gb file to FAT drive, maybe you can split the file first, you can split it with winrar or hjsplit or other app, after copied, then join it back
yes, exactly same
SD-Card with first partition working with EXT2/EXT3/EXT4-format?
adjidorporah said:
if the problem is you want to copy >4gb file to FAT drive, maybe you can split the file first, you can split it with winrar or hjsplit or other app, after copied, then join it back
Click to expand...
Click to collapse
That doesn't work - FAT32 doesn't support file sizes bigger than 4GB. Thats why I'm trying the EXT-FileSystems.
But when I tried I've got the following message: "SD-Karte ist beschädigt. Bitte formatieren." ("SD-Card is damaged. Please format."). In my opinion that means, that my XPERIA M (C1905) with Android 4.3 doesn't support external SD-Cards with first partition formated as EXT2/EXT3/EXT4-format.
Is there anybody out there on a XPERIA M and Android 4.3 who's external SD-Card is working with the first partition formatted as EXT2/EXT3/EXT4-format?
schiel said:
That doesn't work - FAT32 doesn't support file sizes bigger than 4GB. Thats why I'm trying the EXT-FileSystems.
But when I tried I've got the following message: "SD-Karte ist beschädigt. Bitte formatieren." ("SD-Card is damaged. Please format."). In my opinion that means, that my XPERIA M (C1905) with Android 4.3 doesn't support external SD-Cards with first partition formated as EXT2/EXT3/EXT4-format.
Is there anybody out there on a XPERIA M and Android 4.3 who's external SD-Card is working with the first partition formatted as EXT2/EXT3/EXT4-format?
Click to expand...
Click to collapse
just try to format your sdcard as NTFS or exFAT, maybe not all devices supported that formats, but it worth to try, keep me posted, i want to know the result
adjidorporah said:
just try to format your sdcard as NTFS or exFAT, maybe not all devices supported that formats, but it worth to try, keep me posted, i want to know the result
Click to expand...
Click to collapse
Same result with exFAT - "SD-Card is damaged. Please format".
NTFS I tried with "Paragon NTFS & HFS+" - same result.
There seems to be no other way than using FAT32 on the first partition of the external SD-Card.
By the way: I use a second partition formated with EXT2 for Link2SD. First Link2SD refused to mount this second partition as EXT2. As mentioned in another thread mounting as EXT4 solved the problem. It's a little bit strange.
schiel said:
Same result with exFAT - "SD-Card is damaged. Please format".
NTFS I tried with "Paragon NTFS & HFS+" - same result.
There seems to be no other way than using FAT32 on the first partition of the external SD-Card.
By the way: I use a second partition formated with EXT2 for Link2SD. First Link2SD refused to mount this second partition as EXT2. As mentioned in another thread mounting as EXT4 solved the problem. It's a little bit strange.
Click to expand...
Click to collapse
maybe our device only support FAT/FAT32 format on first partition,
yes, maybe it's link2sd bugs or something, I've formatted my second partition as ext3 and when I create the script with ext3, it's came out error, but when I choose ext4 it's working well, I don't know what actually happened
link2sd
How come my device doesn't support any of these formats? I've tried all options for partition sd card, and phone doesn't recognize second partition... and i don't have an option to create link in Link2sd. Do you know what's the problem? Do I have to unlock bootloader?
crazymina89 said:
How come my device doesn't support any of these formats? I've tried all options for partition sd card, and phone doesn't recognize second partition... and i don't have an option to create link in Link2sd. Do you know what's the problem? Do I have to unlock bootloader?
Click to expand...
Click to collapse
You definitely don't have to unlock the bootloader. The bootloader of my Xperia M is locked.
The phone itself doesn't recognize the second partition, it's only the app Link2SD mounting the second partition.
Are there any error messages?
When I press ext2 in second partition, i get message - Link2sd cant found 2nd partition. But, when I press other options, I get this error message, that Link2sd sending me - mount script created, please restart your device. Than, phone cant turn on, he's got bootloop until I get off sdcard. Then, phone turn on without problems. I tried all combinations for partition, and got the same error. Must say, when I rooted the phone, i installed also remountrebootfix, found it also on this forum. It didnt helped.

link2SD second partition not mounting

So i have link2SD and i have my Micro SD split equally but one partition won't mount, ext2 gets read and allows data copy via link2SD but I can't access it and the other partition won't mount at all so I can't use it for storage. I used part of this tutorial to help
https://m.wikihow.tech/Use-Link2SD
elderwolf123 said:
So i have link2SD and i have my Micro SD split equally but one partition won't mount, ext2 gets read and allows data copy via link2SD but I can't access it and the other partition won't mount at all so I can't use it for storage. I used part of this tutorial to help
https://m.wikihow.tech/Use-Link2SD
Click to expand...
Click to collapse
Try a different format.
Sent from my Samsung SM-A520W using XDA Labs
iloveoreos said:
Try a different format.
Click to expand...
Click to collapse
No luck, I have been able to mount the ext2 but the Fat32/exfat partition won't mount
elderwolf123 said:
No luck, I have been able to mount the ext2 but the Fat32/exfat partition won't mount
Click to expand...
Click to collapse
Try exFat.
Sorry you said you tried that. Would if you would reformat the whole card and recreate the partition. And by the way, the android system uses ext4(the app partition). Don't know if it makes a difference though.
Sent from my Samsung SM-A520W using XDA Labs
elderwolf123 said:
No luck, I have been able to mount the ext2 but the Fat32/exfat partition won't mount
Click to expand...
Click to collapse
You tried create partition with minitool partition wizard? Try ext4 or ext2 and associate in link2sd

Categories

Resources