[Q] Failed to mount /sd card (invalid argument) - HD2 Android Q&A, Help & Troubleshooting and Genera

Hey
Every time I try partitioning the sd card I get this error in clockwork. The only way I have found around it is to reformat the sd card with a android device. IS there anyway other way that I can fix this?
Thanks

hal752 said:
Hey
Every time I try partitioning the sd card I get this error in clockwork. The only way I have found around it is to reformat the sd card with a android device. IS there anyway other way that I can fix this?
Thanks
Click to expand...
Click to collapse
Hi,
I'm not sure what you are trying to say.Have you fixed the problem?
Formatting and partitioning are hugely important in Android.Getting it right can save you grief in the long run.
Get yourself a copy of G-PARTED (google it).
BACK UP YOUR DATA.
Use g-parted to remove(delete)all partitions.
If you are getting errors, chkdisk as well.
Format to fat 32.
Go to ad recovery>advanced>Partition SD Card.1024m with 0 swap)
Then replace everything on the card and install new ROM.

Related

Sd card shows only 200mb instead of 16gb

I tried out wp7 on my phone a couple days again, but now has reflashed to nand android. The problem is that my sd is only recognized as having 200mb worth of space when in fact it is a 16gb card. How can i fix this problem?
same here!
ducklas1 said:
same here!
Click to expand...
Click to collapse
Ah, C'mon, please search the forums:
http://forum.xda-developers.com/showthread.php?t=913815
grab the partition manager from there and repartition your sd card and you are back to bussines.
this will work
download Attach Files and this should work then right click on card and format again fat 32 quick plz give me thank this will work
Also, you can format your sd card from android itself. Go to settings, unmount your sd card and format it. Easiest way.
If you have a custom rom you can format the partitions from the recovery menu too
im really confused so i want to unmount it plug in the usb and use window formatter to reformat is?

[Q] SD card mount problems

hi all,
i just flashed my first phone yesterday. HTC HD2 with android 2.3.2 nand based.
Everything is working great except i can not mount my SD card. When i try to mount it, it says SD card is safe to remove !!!
maybe is some noob question but i can not seem to fix it.
I tried formating the card under windows in a pc but it didnt fix
thanks a lot
do you have anothre card to try and see if that one can be mounted? oh, make sure you are formating the card to FAT32 by the way. its easy to over look that when formatting cards.

[Q] Stupid move: not dismounting with A2SD

Hi all,
I formatted my card last month for A2SD use. All was fine untill today, I pulled the SD card out without dismounting it (idiot I know...). Now nothing seems to do anything on my SD card.
Partition managers see it, I used 3 of them. I tried deleting the FAT partition (the EXT partition looks like unallocated space :S). But when I hit apply, nothing happends. I tried format without the quick option, it formatted succesfully but still I cant get rid of the 1GB ext2 partition.
I'm trying the SDFormatter tool used for deleting the WP7 partition but it freezes when it boots, so it isn't looking that good either...
Does anyknow know any other tricks to get my SD back?
- Rob
Got it formatted again! Slowly but surely the SDFormatter did it's job . For anyone with the same problem try: http://www.mediafire.com/?kl563ku3pnn3o25 .

SD-EXT to FAT 32

Hi there,
I formatted my sd card to 1GB SD-EXT. But now i wan't to revert back to to just FAT32 (no sd-ext). But i cant remove it trough CWM i only can make it smaller.
I do not have any way to mount my SD card then trough CWM.
How can i still remove the SD-ext? Is there a script for it or something like that?
ikmax said:
Hi there,
I formatted my sd card to 1GB SD-EXT. But now i wan't to revert back to to just FAT32 (no sd-ext). But i cant remove it trough CWM i only can make it smaller.
I do not have any way to mount my SD card then trough CWM.
How can i still remove the SD-ext? Is there a script for it or something like that?
Click to expand...
Click to collapse
Put the SD card into a digital camera and format it from there.
There is some partition software on here that'll do it too.
*NOTE: YOU WILL LOSE ALL DATA*
MoneyFist said:
Put the SD card into a digital camera and format it from there.
There is some partition software on here that'll do it too.
*NOTE: YOU WILL LOSE ALL DATA*
Click to expand...
Click to collapse
I do not have an other place where to put my SD card in. Windows also does not find the SD-ext partition so i cant remove it.
what you need is this
http://www.partitionwizard.com/download.html
that should sort you out

failed to mount /sdcard

Hi guys, i know this has come up on here before and i've searched through all the threads but found only a lot of information which is of no use at all.
Ok heres the info on my phone:
HSPL 2.08
Task 29ned
2.15.50.14 Radio
CustomRUU
Magdlr
CWM and also tried TWRP
I've used windows format from recovery (usb mass storage) and also minitool partition starting with fat32 and 32kb sectors then ext3 partition but on mounting it only returns the following:
E: failed to mount /sdcard (Invalid Argument)
Error mounting /sdcard
so far tried fat32, ntfs, ext2, ext3 out of sheer desperation
Any help would be muchly appreciated but i'm assuming it might be the sdcard at fault i really don't know.
Thanks in advance.
Dan
Hi Dan
In minitool, did you set the primary/logical box to primary?
Why ext3?
Also what rom did you install, and what install method?
Robbie P said:
Hi Dan
In minitool, did you set the primary/logical box to primary?
Why ext3?
Also what rom did you install, and what install method?
Click to expand...
Click to collapse
Thanks for your reply, yes both were set to primary, ext3 as that what lots of threads on here advised. Formatted to fat32 first. I can see it on my pc but can't mount it on the phone? Any ideas?
No rom on the phone yet as i can't get the zip files to be recognised as the sdcard can't mount so you can see my problem now.
Am now getting a new error message saying:
E: Unable to write to ums lunfile (No such file or directory)
Thanks
Dan
Hi Dan, best to start afresh with your card. Use this https://www.sdcard.org/downloads/formatter_4/ to format it to fat32, and see if it shows up then.
I don't know of any latest roms using ext3, most use an ext4 partition on the sd card
Anyway, report back
Robbie P said:
Hi Dan, best to start afresh with your card. Use this https://www.sdcard.org/downloads/formatter_4/ to format it to fat32, and see if it shows up then.
I don't know of any latest roms using ext3, most use an ext4 partition on the sd card
Anyway, report back
Click to expand...
Click to collapse
Ok i'm slowly getting somewhere, twrp didn't work, minitool didn't work, cwm didn't work so then i tried the new version of twrp and formatted it on the sdcard which can now mount sdcard on twrp.
The issue i'm having now is that adb doesn't list it under devices. I'm having to use adb sideload as because its been formatted on the phone it can't be seen on the pc? Not sure if thats as i don't have the hd2 drivers on the pc but its got hd2 toolkit installed. Either way i now don't have any way of installing from the rom zips I have.
Thanks
Dan
Hi Dan, I don't think Android Debug Bridge will work if you do not yet have android on your phone (unless it works from twrp). It seems you have magldr installed, can you use usb mass storage to transfer your rom to phone?
Also I do highly recommend using the sd formatter i linked to earlier, but i assume you do not have a card reader, hence doing all from phone.
Best of luck
I had this problem to fix
i installed everything then formatted card to fat32 using mini partition wizard and then did EXt4 and swap partition from Cwm Recovery and it worked just fine
Fix for unable to mount sdcard error
Neurom707 said:
I had this problem to fix
i installed everything then formatted card to fat32 using mini partition wizard and then did EXt4 and swap partition from Cwm Recovery and it worked just fine
Click to expand...
Click to collapse
Just incase anyone has the same problem i had with the never ending unable to mount sdcard problem.
What this turned out to be was cwm would format the card but only a certain area, then if you format with windows it will again only format a certain area that it see with its own file system. Then minitools would have a strange arrangement of differing file systems and changing this by usb connection through magdlr kept creating these problems.
I was trying to use adb to connect the phone to the pc through usb drivers but in the end it simply wasn't worth the effort.
First I went over cwm with the latest version of twrp.
Then I went out to buy a new sdcard simply to get a sdcard to microsd card tool.
Reformat the sdcard (with minitool partition) once in the pc (using the microsd to sdcard tool) to fat32 or fat32 with an ext4 partition if yr doing nand and dataext. Both partitions need to be primary and make sure there are no other partitions on the card this may take a few goes as sometimes you get a random partition or I did anyway.
Then put your rom files on the sdcard using the pc.
Remove sdcard from pc and install in phone.
Boot phone into magldr and choose recovery and this will take you into twrp and simply choose install and find the rom file you want to install.
Don't worry if you have any problems in the rom install you can always go back into twrp and wipe the system which is the rom.
Hope that helps anyone who was experiencing the same issues.
Alternate workaround
I had the same problem others have above. I wound up using a different workaround, and was able to do it with just the phone, a USB cable, and a Windows 7 PC. No SD adapter was needed and there was no need to remove the microSD card from the phone.
I took a stock WinMo 6.5 TMOUS HD2, installed Black LK and TWRP and cleared everything (cache, etc.). Then I used Black LK (very similar to cLK) to re-partition the internal storage to accept my new Android ROM. All I needed at this point was to install the ROM. I tried to copy my Android ROM to a microSD card I had in another phone and then bring it over, but TWRP was unable to read the card. It also couldn't mount the card via USB.
I was able to use TWRP to format the microSD. Then TWRP was able to USB Mount the microSD, but when my PC dectected it, I received a popup indicating that I needed to format the SD before Windows could use it. I said "yes", and allowed Windows to format the card as one big FAT32 partition. It took a few minutes, during which I was a little nervous as there was no progress meter or anything else on either the phone or the PC to indicate it was working. But once it finished, Windows was finally able to access the microSD card and copy the .zip file for the ROM. Once that was complete, I told Windows to eject the microSD, then un-mounted it in TWRP. And, finally, TWRP was able to see the ROM file and install it to NAND from the microSD.
Anyway, thought I'd post it up in case anybody else runs into this and doesn't have a card reader or adapter.

Categories

Resources