Link2SD Error: cannot mount SD card partition: with Night Owl CM12.1 on GT N-7000 - Galaxy Note GT-N7000 Q&A, Help & Troubleshooting

I am using Night Owl([ROM][CM12.1][Lollipop][Android 5.1.1] NightOwl 20151003) on samsung galaxy Note GT N-7000.
I have partitioned my external SD card (16GB Class10) with AParted (11GB Fat32, 4GB ext2, 512MB Swap).
I was able to use this partition as my internal memory to install apps.
but after flashing this rom I am not able to mount the sencond partition.
Link2SD shows SD card 2nd part not found in the storage info.
When I try to recreate the mount script I get an error
Mount script error
Mount script can not be created
Mount: Invalid argument
Please suggest a way forward.

Link to Night Owl
http://forum.xda-developers.com/galaxy-note/development/rom-t2938649

Not a Note, but had this issue with CM12.1 on a Moto E. Try selecting Ext4 when Link2SD asks what format it is.

JacobT15 said:
Not a Note, but had this issue with CM12.1 on a Moto E. Try selecting Ext4 when Link2SD asks what format it is.
Click to expand...
Click to collapse
Thanks, Jacob but I already tried that and it didn't help
The main prob is about 2nd partition not being detected.

Try uninstalling (make sure everything reverts) and use this link to repartition instead. Link2SD isn't as reliable because of conflicts with the rom.

I've just bought a 64GB Class 10 SD card for my N7000, running the lastest Bauner Nightowl. This is to store mainly mp3 audio files.
Can anyone please tell me how it is best to format it? FAT32, VFAT, something else? Also although I'm happy to keep all the files in one partition, am I better off with additional partitions?

Related

[Q] ext2.ko link

Hi Everyone
My internal SD is gone. I have swapped my external SD card.
I am able to access Fat32 partition. Now the problem is with ext2 partition.
I need a file ext2.ko specifically for i9000 to mount this partition.
Can anybody tell, from where I can download it.
Thanks.
umerr said:
Hi Everyone
My internal SD is gone. I have swapped my external SD card.
I am able to access Fat32 partition. Now the problem is with ext2 partition.
I need a file ext2.ko specifically for i9000 to mount this partition.
Can anybody tell, from where I can download it.
Thanks.
Click to expand...
Click to collapse
Hey umerr,
try this one:
http://cache.saurik.com/android/2.6.25-01843-gfea26b0/fs/ext2/ext2.ko
Bushido

[Q] How i can improve the internal memory of my ace?

Hi, yesterday i installed the razodroid 2.5 rom , i need improve the internal memory of my device, can you help me , i had a 16GB sd card , i had particioned with minitool particion wizard but my phone app link2sd recognize the particion but show me the netx text: Mount script cannot be created mount: Invalid argument . Can you help me? plz
dianhuro said:
Hi, yesterday i installed the razodroid 2.5 rom , i need improve the internal memory of my device, can you help me , i had a 16GB sd card , i had particioned with minitool particion wizard but my phone app link2sd recognize the particion but show me the netx text: Mount script cannot be created mount: Invalid argument . Can you help me? plz
Click to expand...
Click to collapse
What filesystem is on your 2nd partition of the SD card? Make sure you select the correct filesystem in Link2SD when you create the mount script.
Mount the 2nd partition of your SD Card and transfer a file to it to make sure its been set up properly then delete the file.
Try repartitioning the SD card with ClockWorkMod Recovery, it does a better job of partitioning and creating filesystems on flash memory than partitioning tools meant for rotating storage.
Repartition using a different filesystem, when I setup Link2SD the only one that I could get to work was FAT32 but since you have the Razodroid ROM which includes Rafael's kernel I would have thought any FAT or ext filesystem would have worked. Incidentally before I got it working I was getting a similar error regarding "Mount script cannot be created" IIRC.
Hi i used ext4, but i just can make a link , when i check the capacity show me 200Mb total memory
makeyourself said:
What filesystem is on your 2nd partition of the SD card? Make sure you select the correct filesystem in Link2SD when you create the mount script.
Mount the 2nd partition of your SD Card and transfer a file to it to make sure its been set up properly then delete the file.
Try repartitioning the SD card with ClockWorkMod Recovery, it does a better job of partitioning and creating filesystems on flash memory than partitioning tools meant for rotating storage.
Repartition using a different filesystem, when I setup Link2SD the only one that I could get to work was FAT32 but since you have the Razodroid ROM which includes Rafael's kernel I would have thought any FAT or ext filesystem would have worked. Incidentally before I got it working I was getting a similar error regarding "Mount script cannot be created" IIRC.
Click to expand...
Click to collapse
dianhuro said:
Hi i used ext4, but i just can make a link , when i check the capacity show me 200Mb total memory
Click to expand...
Click to collapse
So it's working then or not?
Link2SD works by basically fooling Android into believing an app is on internal memory when its on the SD card. It does this by moving files to the SD card and then creating a link to them in internal memory. So you won't see an increase in internal memory capacity by using Link2SD. However when you link an app with Link2SD you will free up space in the internal memory which allows you to install far more apps.
Try this http://forum.xda-developers.com/showthread.php?t=1955422
, but read carefuly the instructions !!!
dianhuro said:
Hi i used ext4, but i just can make a link , when i check the capacity show me 200Mb total memory
Click to expand...
Click to collapse
RazoDroid v2.5 build version has had Link2SD removed i assume this was done for a reason as its a popular app, it might be worth checking out the thread to see if they mention why. Just a thought have you checked to make sure that both Partitions are primary?
1 word link2sd

LINK2SD Issue

I'm facing bootloop when i'm trying to create two partitions on SD Card (Sandisk 32gb class 10).I tried same thing on Xperia L & ZR (both stock rom / kernel, rooted, stock recovery), but i'm facing bootloop on both of them.
Created two partitions with minitool partition wizard- 1) FAT 32, PRIMARY, 27gb (2) ext2, primary, 2gb
After creating two partitions, inserted sd card, installed link2sd, asked for root permission, granted it, chose ext2, reboot and then it goes into bootloop.
i have to delete both partitions and re formart it to avoid bootloop.
also can i choose partition type again in link2sd, if i recreate partitions?
i think once the mount script has been created initially on 1st run of link2sd, it will detect ext2 as secondary partition from now on.
Pls help how to make link2sd functional w/o bootloop.
JOYGR said:
I'm facing bootloop when i'm trying to create two partitions on SD Card (Sandisk 32gb class 10).I tried same thing on Xperia L & ZR (both stock rom / kernel, rooted, stock recovery), but i'm facing bootloop on both of them.
Created two partitions with minitool partition wizard- 1) FAT 32, PRIMARY, 27gb (2) ext2, primary, 2gb
After creating two partitions, inserted sd card, installed link2sd, asked for root permission, granted it, chose ext2, reboot and then it goes into bootloop.
i have to delete both partitions and re formart it to avoid bootloop.
also can i choose partition type again in link2sd, if i recreate partitions?
i think once the mount script has been created initially on 1st run of link2sd, it will detect ext2 as secondary partition from now on.
Pls help how to make link2sd functional w/o bootloop.
Click to expand...
Click to collapse
I didn't try link2sd on my zr before but i'm using folder mount and it works grest you csn use it and there is another script to make extsd internal sd but i didn't tried it too
But for link2sd you can try to reboot fix before apply and detectthe 2nd partition
Hazem442 said:
I didn't try link2sd on my zr before but i'm using folder mount and it works grest you csn use it and there is another script to make extsd internal sd but i didn't tried it too
But for link2sd you can try to reboot fix before apply and detectthe 2nd partition
Click to expand...
Click to collapse
can u provide the link for reboot fix? and what does it do ?
JOYGR said:
can u provide the link for reboot fix? and what does it do ?
Click to expand...
Click to collapse
here you are
it supposed to stop bootloop you need to use it before installing scripts that makes phone goes into bootloop try it i hope it will work with you
Good Luck
i didn't know about this script earlier. so i partitioned sd card as fat32 and ext2 inserted card and installed link2sd, reboot and then goes into bootloop.the only way to avoid bootloop is to format card and insert it.
Now i have installed reboot-remount fix and it restarted phone successfully.But still link2sd is not working.Now it's saying "Mount Script cannot be created.Invalid argument". I have tried both ext2 and ext3.There is no bootloop with ext3, but if i format it as ext2, it goes into bootloop agian (even after installing reboot fix).
JOYGR said:
i didn't know about this script earlier. so i partitioned sd card as fat32 and ext2 inserted card and installed link2sd, reboot and then goes into bootloop.the only way to avoid bootloop is to format card and insert it.
Now i have installed reboot-remount fix and it restarted phone successfully.But still link2sd is not working.Now it's saying "Mount Script cannot be created.Invalid argument". I have tried both ext2 and ext3.There is no bootloop with ext3, but if i format it as ext2, it goes into bootloop agian (even after installing reboot fix).
Click to expand...
Click to collapse
Look the invalid argument is from the sd card it self cauz of alot format and devid with partition tool and other programs on pc with my old samsung the solution for me was devide with cwm but on sony i don't know I STILL WITH stock recovery
---------- Post added at 09:54 AM ---------- Previous post was at 09:44 AM ----------
If it didn't work see this topic
http://forum.xda-developers.com/xperia-zr/help/link2sd-forces-bootloop-t2811469
He ssid it worked with him at last try it
JOYGR said:
I'm facing bootloop when i'm trying to create two partitions on SD Card (Sandisk 32gb class 10).I tried same thing on Xperia L & ZR (both stock rom / kernel, rooted, stock recovery), but i'm facing bootloop on both of them.
Created two partitions with minitool partition wizard- 1) FAT 32, PRIMARY, 27gb (2) ext2, primary, 2gb
After creating two partitions, inserted sd card, installed link2sd, asked for root permission, granted it, chose ext2, reboot and then it goes into bootloop.
i have to delete both partitions and re formart it to avoid bootloop.
also can i choose partition type again in link2sd, if i recreate partitions?
i think once the mount script has been created initially on 1st run of link2sd, it will detect ext2 as secondary partition from now on.
Pls help how to make link2sd functional w/o bootloop.
Click to expand...
Click to collapse
Don't use Link2SD with Xperia.
Instead use folder mount.
If you do anything wrong in L2SD you may get into deep trouble. Also it requires emulated support which is possible only in Samsung phones.
With Android 4.4.x update and above Apps to SD has been disabled!

Huawei Honor 4x Che2-L11 / App2SD / Link2SD / Marshmallow

Due to the insufficient storage I've tried to partition my SD card to move apps there. I know that I can move them through system, but using APP2SD gives even more space. I've used Partition Magic and built-in APP2SD partitioning tool. Without success. 2nd partition is unrecognisable by any of those apps (i've tried to format it as ext2, ext4, ext3 and f2fs). Because of this app is unable to create mount script on 2nd partition. I was reading that EMUI 4.0 (with Marshmallow) is not working with adaptable storage (just like AOSP or CM when you can switch SD card as internal memory) and you can move only particular apps. Are there any solutions for the insufficient storage working on EMUI (Marshmallow)?
watchoutbehindyou said:
Due to the insufficient storage I've tried to partition my SD card to move apps there. I know that I can move them through system, but using APP2SD gives even more space. I've used Partition Magic and built-in APP2SD partitioning tool. Without success. 2nd partition is unrecognisable by any of those apps (i've tried to format it as ext2, ext4, ext3 and f2fs). Because of this app is unable to create mount script on 2nd partition. I was reading that EMUI 4.0 (with Marshmallow) is not working with adaptable storage (just like AOSP or CM when you can switch SD card as internal memory) and you can move only particular apps. Are there any solutions for the insufficient storage working on EMUI (Marshmallow)?
Click to expand...
Click to collapse
Yes, there is a solution on MM B515. Link2SD didnt work, but Apps2SD does work. Just make sure root functions properly. You can check my post in Che-L11 q&a page for instructioslns on how to do it. This is mine now. 128gb microSDXC card, 8gb (8192mb) as Ext4, rest is ExFat. Ignore the Link2SD screenshot, I only use Link2SD for freezing stuffs.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my Che2-L11 using Tapatalk
zzztidurvirus said:
Yes, there is a solution on MM B515. Link2SD didnt work, but Apps2SD does work. Just make sure root functions properly. You can check my post in Che-L11 q&a page for instructioslns on how to do it. This is mine now. 128gb microSDXC card, 8gb (8192mb) as Ext4, rest is ExFat. Ignore the Link2SD screenshot, I only use Link2SD for freezing stuffs.
Sent from my Che2-L11 using Tapatalk
Click to expand...
Click to collapse
Looks kinda complicated because of Magisk "root" issues. I wonder if this will work on b506 because this is the one I'm using (European variant).
watchoutbehindyou said:
Looks kinda complicated because of Magisk "root" issues. I wonder if this will work on b506 because this is the one I'm using (European variant).
Click to expand...
Click to collapse
b506? is it latest stock? i only upgraded to b510 via update.app then b515 via OTA update.zip this week, also installed magisk this week, even though that toggle doesnt seem to work, root works properly. Looks complicated, but once you do it, theres nothing to worry about. just make sure you partition the microsd properly. tell me, are you using 128gb now? its harder to do it for 128gb (ExFat issues) than for 32gb one (Fat32 is easier)
Sent from my Che2-L11 using Tapatalk
zzztidurvirus said:
b506? is it latest stock? i only upgraded to b510 via update.app then b515 via OTA update.zip this week, also installed magisk this week, even though that toggle doesnt seem to work, root works properly. Looks complicated, but once you do it, theres nothing to worry about. just make sure you partition the microsd properly. tell me, are you using 128gb now? its harder to do it for 128gb (ExFat issues) than for 32gb one (Fat32 is easier)
Sent from my Che2-L11 using Tapatalk
Click to expand...
Click to collapse
I'm using 64GB but I can switch to 16GB becasuse I currently don't have 32GB. B506 is the latest stock valid for my region (Eastern Europe) and I've downloaded it from Huawei Support website because for my region Marshmallow update wasn't distributed via OTA, later I've installed it through "force update".
So I did everything as in APP2SD tutorial - Partitioned my 64GB SD card as FAT32 (primary) than later I've separated from it a 16GB EXT (set as primary as well) partition (ext2, ext3, ext4 - I've tried with all of them). I tried to do it with partition minitool on Windows PC and built-in APP2SD partitioning tool. Without result. APP2SD is not detecting the EXT partition (it calls it 2nd partition), thus it's unable to create mount scripts there. So, after partitioning my SD Card, phone restarts and when I'm entering APP2SD it gives me and error about not detecting it. Do you think i should try the same with 16GB card? Can lack of Magisk may be the issue?
watchoutbehindyou said:
I'm using 64GB but I can switch to 16GB becasuse I currently don't have 32GB. B506 is the latest stock valid for my region (Eastern Europe) and I've downloaded it from Huawei Support website because for my region Marshmallow update wasn't distributed via OTA, later I've installed it through "force update".
So I did everything as in APP2SD tutorial - Partitioned my 64GB SD card as FAT32 (primary) than later I've separated from it a 16GB EXT (set as primary as well) partition (ext2, ext3, ext4 - I've tried with all of them). I tried to do it with partition minitool on Windows PC and built-in APP2SD partitioning tool. Without result. APP2SD is not detecting the EXT partition (it calls it 2nd partition), thus it's unable to create mount scripts there. So, after partitioning my SD Card, phone restarts and when I'm entering APP2SD it gives me and error about not detecting it. Do you think i should try the same with 16GB card? Can lack of Magisk may be the issue?
Click to expand...
Click to collapse
i think your root is ok. 64gb is fine. i think you did it like this:
1 fat32 of 32gb
2 ext4/ext3/ext2/f2fs of 16gb (you tried all, right)
3 the unallocated space
correct?
you cannot leave unallocated space, even though youre using fat32. app2sd / link2sd will not work. if you really want to try with the 16gb, its ok, as practice. just remember, only windos diskmgmt.msc will be able to format properly to ExFat. Fat32 on the other hand, no problems.
Sent from my Che2-L11 using Tapatalk
Almost. I've separated 16GB in ext filesystem from fat32 64GB card. I left no unallocated space. Only aaprox. 44GB of fat32 and 16GB of ext. Maybe Ill try exfat instead of fat32... Hmmm I'm running out of ideas. If not I'll try to split 16GB card in half
just by the way, if you are using minitool to partition, you need to make the fat32 partition first, then the ext4 partition with the unallocated space after you created the fat32 partition
and B506 is the first european MM, now they have B570
Ok, solved. Thank you. Trick with 2 partitions (ExFAT - 40 something gigs and Ext4 - 16 something) did the trick. Everything is working now.
watchoutbehindyou said:
Almost. I've separated 16GB in ext filesystem from fat32 64GB card. I left no unallocated space. Only aaprox. 44GB of fat32 and 16GB of ext. Maybe Ill try exfat instead of fat32... Hmmm I'm running out of ideas. If not I'll try to split 16GB card in half
Click to expand...
Click to collapse
how do you make a fat32 partition with 44gb size? i cant seem to do it, only ExFat works though. Fat32 cant be selected if the size is biggee than 32gb.
Sent from my Che2-L11 using Tapatalk
Mostly yes.
This is how I did it:
First i've cleared out my sd card totally, leaving only unallocated space. Then i've created 44gb fat32 partition using dskmgmt. Rest, about 16gb remained still unallocated. In the next step I've converted that 44gb fat32 to exfat in dskmgmt. I don't know why I couldn't format it directly to exfat and I had to do it through fat32 first. The 16gb of unallocated space was formated as ext4 with use of mini partitioning tool on my PC. Voila. Mounting script installed. I have about 20 additional apps installed and still about 2,5gb free internal space. Now I can call it a decent phone. Next step - installing XPOSED. I need it for Youtube background playback module.
EDIT: Chrome Beta ver. 55 have an feature to play YT videos in background. So I don't need XPOSED for now.
here is how i do it:
1. delete all partitions
2. split into 2 partitions, currently 109gb and 8gb (128gb microsdXC)
3. format 109gb into ExFat directly via diskmgmt.msc (diskmgmt.msc didnt allow me to pick Fat32)
4. let it finish, refresh disk list. confirm that 109gb is properly formatted into ExFat.
5. open minitool partition, format that 8gb into Ext4.
6. let it finish, refresh disk list using minitool, confirm that you only have 2 partitions and there are no unallocated space.
As usual, make sure that Ext4 as primary, bla3x all that partition stuff.
Why Ext4? Starting from ICS 4.0 /system/ is already in Ext4. Pick whatever format that you want. I just want to match it, make it the same is /system/ and /data/ and you know the rest.
Sent from my Che2-L11 using Tapatalk
I have ICS 4.0.4 and is not ext4.
I will not update my device, to a new, untill all manufacturers stops and forbid these horrible filesystem named extended v2/3/or4 that serious damage and destroys any kind of ssd cards.
What about suggest you, NTFS?
Dethfull said:
I have ICS 4.0.4 and is not ext4.
I will not update my device, to a new, untill all manufacturers stops and forbid these horrible filesystem named extended v2/3/or4 that serious damage and destroys any kind of ssd cards.
What about suggest you, NTFS?
Click to expand...
Click to collapse
It looks like this comment is on another thread, did you pay attention
zzztidurvirus said:
here is how i do it:
1. delete all partitions
2. split into 2 partitions, currently 109gb and 8gb (128gb microsdXC)
3. format 109gb into ExFat directly via diskmgmt.msc (diskmgmt.msc didnt allow me to pick Fat32)
4. let it finish, refresh disk list. confirm that 109gb is properly formatted into ExFat.
5. open minitool partition, format that 8gb into Ext4.
6. let it finish, refresh disk list using minitool, confirm that you only have 2 partitions and there are no unallocated space.
As usual, make sure that Ext4 as primary, bla3x all that partition stuff.
Why Ext4? Starting from ICS 4.0 /system/ is already in Ext4. Pick whatever format that you want. I just want to match it, make it the same is /system/ and /data/ and you know the rest.
Sent from my Che2-L11 using Tapatalk
Click to expand...
Click to collapse
Exactly. But I had to format it through Fat32 to have exFat option available. Weird.
Dosen't matter, it's working now.
PalakMi said:
It looks like this comment is on another thread, did you pay attention
Click to expand...
Click to collapse
yeah, i dont get it though. why would you want to go to NTFS. You will need FUSE-3G kernel driver and stuff. NTFS is not open source. I have used Link2SD from old skool Xperia X8 stock (Ext2), X8 GingerDX (Ext3), Xperia Play (Ext3), then this honor 4x (Ext4). I havent tried F2fs yet. I dont think its supported in my stock b515. You only need to use a reliable microsd. Clearly NTFS destroys my microsd way faster than this ExFat Ext4 combo. i have tested my microsd using it as a win7 + xp + lubuntu multi installation boot card.
Sent from my Che2-L11 using Tapatalk
I'm on ext4
I only wanted to show that androed is installable in various filesystems yaffs, and now i am experiencing crazyness and fast performance with ntfs and modded link2sd. Not only 4.0.4 how our friend said, that 4.0.4 is only ext4
Comments apparted, i need to cut the ext4's hands creator. You can lpass me information about this horrible and repugnant person (s) ?
Thanx>
---------- Post added at 11:01 AM ---------- Previous post was at 10:55 AM ----------
If ext4 or ext (any version), was a good filesystem, the Biggest company Samsung , had never invested Giant money to create a new substitute to tgis trash like f2fs or another fs.
Noh?
I don't understand much about this, but I am happy satisfied with what I have
NTFS is open source yes, according with this site:
www.tuxera.com
---------- Post added at 02:36 PM ---------- Previous post was at 02:33 PM ----------
Sorry, your informations are not corresponding to reality about ntfs on sd.
I modded link2sd to start ntfs sdext2 sdcard, with full app+data inside the sdext and today completed 20 days of usage, and i see a crazyness fast experience and performance that i never had on my 4 devices that i have someday, at least yaffs2 that is "the best filesystem" is comparable

cygenmod lin2sd problems

i formatted 64 GB card fat32 and 2nd partion as ext2, it says: mountsctipt error mountscript cannot be created mount: no such device. both the partions are set as primary and get warning on windows that 2nd partion wont be viewable in windows.
Nightmare-Rex420 said:
i formatted 64 GB card fat32 and 2nd partion as ext2, it says: mountsctipt error mountscript cannot be created mount: no such device. both the partions are set as primary and get warning on windows that 2nd partion wont be viewable in windows.
Click to expand...
Click to collapse
Link2SD requires the second partition be formatted ext4 if you will be utilizing symbolic links which is highly recommend. You won't be able to see/manage the contents of that partition from Windows - nor do you need to.
well thanks now im not getting that error anymore, but now when i move the stuff to the SD card for example dead trigger 2 500MB another app 300MB and another at 200mb that should free aprox 1 gig and had 600mb free internal but moveing all that with both the link2sd and move to external option and now i only have 700mb internal storage, so this oviusly still is not working properly it is doing same crap as stock option and only moveing the data and nothing else.
Nightmare-Rex420 said:
...so this oviusly still is not working properly it is doing same crap as stock option and only moveing the data and nothing else.
Click to expand...
Click to collapse
Err...no, not when used correctly. Android rot?
no it dosent seem to be going slow and it was fresh custom rom install, so i dont think it can be android rot.

Categories

Resources