[Q] Unable to un-mount USB storage on Ubuntu - Samsung Galaxy Mini

I'm using Ubuntu 11.10 and whenever I turn on USB storage on my phone, the computer mounts both the main partition and the ext3 partition. At the time of unmounting or ejecting, the system gets stuck on 'Writing data to 1.0 GB filesystem'. I'm using a 8GB Memory card with a 1GB ext3 partition.
After this happening, I am unable to suspend, hibernate or even shutdown the computer. So, I can only reset to fix this. I am afraid that since the USB storage does not get un-mounted properly, it may damage the memory card or maybe even the phone.
I was wondering if I could modify the fstab to completely ignore the ext3 partition. Or maybe somehow tell the phone to not show the ext3 partition. But I'm not sure how to do that. Any kind of help will be appreciated.
I'm sorry if this is the wrong place. But I figured that since you all are having the same phone(SGM), maybe you could help.

Related

Just to make sure.

The swapper setting for it to not get corrupted when mounted is
sytem/sd/swap.swp
Right Because im going to mount my G1 via usb and want to make sure i dont corrupt my sd
/system/sd/swap.swp ... Yeah, that's it. Or do a swap partition (see my sig)
watchyaself said:
The swapper setting for it to not get corrupted when mounted is
sytem/sd/swap.swp
Right Because im going to mount my G1 via usb and want to make sure i dont corrupt my sd
Click to expand...
Click to collapse
you will not corrupt you sd card with swapper on your fat32 partition. the corrupted partition message is a false positive if you restart the phone all is well. i dealt with that message for 3 weeks before moving to the ext3 on the sdcard cause i was tired of restarting my phone to get rid of the message. now i use linux-swap partition it's a whole lot better. if your using jac 2.63 that built in to the rom you just have to create the swap partition. but having the swap on the fat32 will not corrupt your card

Possible to Unmount SD card?

Hi all.
Is it possible to unmount and remove an SD card when using CM v4.0.2 with a partitioned SD card, and CM v4.0.2 is running A2SD, while the phone is on? I just can't seem to figure it out. The unmount button is "greyed out".
If so, please let me know how.
Thank you.
i have the exact same problem....my pc wont even recognize the phone anymore....i'm trying to get the usb pop up on the phones notifications n nuttin happens
As I am tinkering, I think it has to do with the A2SD that the rom supports.
Obviously we cant be removing a card that the system is using.
I can still mount when I plug into my PC, but most/if not all(haven't tested all) the apps wont run, I get a "Please Check Your SD card" message.
I would just like to hear from someone more experienced than me(newb) to back up what I am thinking to be true.
Thanks
It's kinda weird, you can't unmount the card because you'll have issues, but on linux it mounts ext too, so you can modify the contents while the phone is running. Although whenever I've tried it's caused loops ><
@Teflon - Try using usb mode in recovery: go to the console and type to mount "ums_enable" and "ums_disable" to unmount.
Hi!
I would like to be able to remove the SD card from my phone.
I can't do it right now b/c I have Apps on SD configuration.
Is it possible to kill all running applications and to unmount the SD card?
I don't see any reason why not, but has anyone tried it already?
Thanks
The safest method imho would be to 'power off' the phone, remove card, boot phone. Cumbersome - maybe - but it's a trade-off with the excellent App2Sd.
I believe it is swap that is not allowing you to unmount/ mount to the computer, try disabling swapper and then try or download and burn an ubuntu live cd and use that to acess it, I can make changes to my ext3 partion while it is mounted in ubuntu. But I never had a problem mounting untill I started using swap which I would have to turn off to mount
Born, must of us have our dalvik-cache running off our ext partion so even if you killed all apps you could still corrupt your card

SD card problem? cannot read properly

I have been trying this for a day and nothing seem to work so far.
The SD card is working, it can be detected/read/write from phone/pc/mac ,
I can also use the sd card to flash rom onto my phone and all works perfectly,
with disk utility, it confirms the correct partition, 64mb for swap and 1024mb for apps,
(it can be detected but cannot be mounted on my mac so no verify/repair can be done on the partition, but the fat partition can still be verified)
now, when i tried to enable app2sd, my phone says extfs partition cannot be detected under spareParts/data option.
I have tried
repartition the sd card like 20 times
wipe/reflash rom,
wiple/reflash different rom
tried different sd card , the partition works so it's not my phone/partition method
verify/repair sd disk
are there anything else to do to repair? or is it a lost cause?
any help will be appreciated
thanks in advance!
do you have any linux handy? could you do an fdisk -l on the disk and print us the partition table?
perhaps you could also use some windows utility to have a look at the table, perhaps it complains about something, if there is an error.
it may be possible that the sd card has an error in the filesystem area. you could try to plug the sd card into the pc, format it with just one partition and uncheck the quick format option. this way it would check all sectors. you should use the console version of format, i think it should output if there is an error. alternativly i think chkdsk -f prints out the bad bytes and there is another option to make it check for them (but normally a non-quick-format does just that)
thanks for the quick response,
I format with PC and MAC then do the disk check and the first time I did it was with a mac it found 5 cluster file and repaired and have since been error free with only one partition present.
I am gonna try to do the check with terminal see what i can come up with.
fixed
knowing that it's not my phone and not my firmware, I decided to give up on the card even though it's "partly-working".
bought a new card and everything fine now.
However, extensive research showed a lot of people have similar problem and some of them have found the fix by
1. reflash
2. insert the card "correctly"
that's all.

Formatting SD card? Ext3

So I have had my memory card get corrupted twice here recently, probably within two weeks. It caused me to have to reformat my SD card entirely. I was wondering if I format the SD card to be Ext3 completely, would I still be able to save everything on it as usual? I know I won't be able to use it on a windows machine, but I don't really care about that. I am just wondering if the phone needs it to be formatted to Fat32. I don't use A2SD, compcache, swap, or anything else. Just storage.
It might work if u make changes in init.rc to specify the file system type when it mounts it on boot up...
craigacgomez said:
It might work if u make changes in init.rc to specify the file system type when it mounts it on boot up...
Click to expand...
Click to collapse
Hmm, well I may have to give that a try. Does the int.rc already specify the existing file system (just so I can find it easier, or will I have to create something new)?
I had a spare micro SD card laying around and formatted it to Ext3. None of the apps I had recognized it.

After the stock rom (Marshmallow to Lollipop) affected my SD card formating!

Hello, so the thing about my sdcard before I do the download only option with my phone Lenovo A7000, after I did the whole process everything is done, but I have noticed that the system probably affected to the sdcard slot on the phone, why? Because it says 16GB on the card, I put it on my phone and tells me that the card is corrupted and I formated it right, and what happened? It shows me on the phone 16MB max, and I did everything on it. I downloaded the EaseUS Partition Master tool, I deleted the partition, created a new one and it did nothing, still asks for the format because is corrupted and I have the 16MB again, tried to format it to a different type known as NTFS instead of FAT12, still gets the problem no matter what I do, if you know the solution, please reply,comment whatever. Asnwer whenever you have time. Thank you!
the problem you are facing usually happens with lenovo a7000 on marshmallow after an unsuccessful formating the partition become 16mb of size to fix this directly insert your sd card in your computer go to disk management and there you will see a partition of 16mb size and an unallocated space of whatever is left delete your partition make a new one and format it with ntfs , i hope this helps
Firstly, do not use NTFS, you're better off with FAT32. Also, in Easeus partition manager, did you apply the changes?

Categories

Resources