[Q] Can't mount /sdcard? - myTouch 3G Slide Q&A, Help & Troubleshooting

I might be showing my noobness tonight, but for some reason I cannot mount my sdcard via adb. It mounted the system just fine. Here's the error I get:
Code:
mount: mounting /dev/block/mmcblk0p1 on /sdcard failed: Device or resource busy
~ # mount /system
It sounds like the sd card is being used by something but if I'm in recovery how is that possible? I've heard people in other threads talk about dead sd cards but mine works fine other than this. Any ideas?

No one? No one's had this problem?

What command are you using to mount? Try just adb remount, not in shell. It should mount everything if it's not mounted. I have never had this issue.
Sent from my T-Mobile myTouch 3G Slide

Found the problem, clockwork already mounted it... whoops

Related

[Q] Mount SDCard in console

Hi.. how i can mount/remount sdcard in console? because something is wrong.. in every roms when i goes to sdcard in setting its show unavailable.. once time ago i wrote something in console as remount and it was okey.. but i forgot it how i can do that.. i tried many combination of command mount but nothing. maybe i can find in google with keyword "mount/remount in linux" can be possible?
but through astro i can explore sdcard.. its strange..
please help. And thanks for answers
Code:
mount /dev/block/mmcblk0pN /sdcard -t FSTYPE
N is number of partition (usually 1) and FSTYPE is vfat or ext2 (usually vfat)
Google is a good help so please use it!
i look on mount and sdcard is mounted.. but still i cannot explore it with anything except astro.. i think maybe is problem in kernel.. i have last kernel version... working sdcard full for everyone? maybe is problem only in my phone.. or its global error
Sd card works in latest kernel, probably is your problem, reformat the card.
Try this:
vdc volume mount /sdcard

[Q] Internal Storage Unavailable

I am having problems with clockwork recovery.
When I open I get:
E:Can't mount /dev/block/mmcb1k0p2
(File exists)
E:Can't mount CACHE:recovery/command
E:Can't mount /dev/block/mmcb1k0p2
(File exists)
E:Can't mount CACHE:recovery/log
E:Can't mount /dev/block/mmcb1k0p2
(File exists)
I am running stock un-rooted, s-off. I ran OTA.
I know exactly what the problem is. My internal storage of my phone wont mount.
I have read a lot of things on how to mount your internal storage. A lot of people say you just have to reboot your phone.
That didn't work.
I know the problem is defiantly not the SD card. I tried 5 different ones.
I read somewhere to remount internal storage you have to take phone apart and put internal storage chip back in.
I can't format internal storage, because it is grayed out in the option under SD card setting.
What can I do. I think I have tried everything?
Please help.
cubusmybro said:
I am having problems with clockwork recovery.
When I open I get:
E:Can't mount /dev/block/mmcb1k0p2
(File exists)
E:Can't mount CACHE:recovery/command
E:Can't mount /dev/block/mmcb1k0p2
(File exists)
E:Can't mount CACHE:recovery/log/block/mmcb1k0p2
E:Can't mount /dev/block/mmcb1k0p2
(File exists)
I am running stock un-rooted, s-off. I ran OTA.
I know exactly what the problem is. My internal storage of my phone wont mount.
I have read a lot of things on how to mount your internal storage. A lot of people say you just have to reboot your phone.
That didn't work.
I know the problem is defiantly not the SD card. I tried 5 different ones.
I read somewhere to remount internal storage you have to take phone apart and put internal storage chip back in.
I can't format internal storage, because it is grayed out in the option under SD card setting.
What can I do. I think I have tried everything?
Please help.
Click to expand...
Click to collapse
Hi,
I don't understand how you can be running unrooted but using cwm?
But I'll guess you are rooted and having problems mounting /cache (dev: /dev/block/mmcb1k0p2) which is an ext3 fs.
I had same messages for the /emmc fs, but that is msdos/fat32, so a slightly different 'cure'.
I used adb shell (or you could use term emulator) to do something like this:
su ; fsck /dev/block/mmcb1k0p2 // look up the correct qualifiers, but I think it'll default to something acceptable. Tell it to repair as needed. Reboot.
For my case I used "fsck_msdos /dev/{whateverThePathWas} and it repaired it and it mounted.
Note: Replacing , replugging the internal storage sounds iffy because all of it is on a single chip which is soldered onto the board. /dev/block/mtd* are only offsets into flash, not anything separate. It seems like more of a format issue or bad blocks.
Good luck
Hashi
PS: Depending on ROMs (I baked my own) , you might not have fsck* but I think you will. Also, some ROMs may use init.d to force an fsck already and this won't work if it did that. Worth a shot.
hachamacha said:
Hi,
I don't understand how you can be running unrooted but using cwm?
But I'll guess you are rooted and having problems mounting /cache (dev: /dev/block/mmcb1k0p2) which is an ext3 fs.
I had same messages for the /emmc fs, but that is msdos/fat32, so a slightly different 'cure'.
I used adb shell (or you could use term emulator) to do something like this:
su ; fsck /dev/block/mmcb1k0p2 // look up the correct qualifiers, but I think it'll default to something acceptable. Tell it to repair as needed. Reboot.
For my case I used "fsck_msdos /dev/{whateverThePathWas} and it repaired it and it mounted.
Note: Replacing , replugging the internal storage sounds iffy because all of it is on a single chip which is soldered onto the board. /dev/block/mtd* are only offsets into flash, not anything separate. It seems like more of a format issue or bad blocks.
Good luck
Hashi
PS: Depending on ROMs (I baked my own) , you might not have fsck* but I think you will. Also, some ROMs may use init.d to force an fsck already and this won't work if it did that. Worth a shot.
Click to expand...
Click to collapse
I kind of have an idea what you mean, but I am just rooted on stock ROM, and I don't think that has fsck, but I don't even know what that is.
I punched in that command into terminal emulator as follows:
#su ; fsck /dev/block/mmcb1k0p2 //
#
All I got in return was a hash, I rebooted, and problem wasn't fixed yet.
I am also not sure what you mean by, "look up the correct qualifiers."
fsck: permission denied is what I get when I just type that in.
Thank you. I think that I am on the right track.

/sdcard points to internal memory. How to change that?

Currently, the /sdcard folder is pointing to the phone memory. My external card is mounted as /sdcard/external_sd
The problem with the above structure is that all the stuff that should be stored in the actual sdcard is stored in the memory.
I am sure there is a way to mount the external sdcard as /sdcard in the system through shell commands. Can someone help me with this?
Thanks.
1. I believe you need root in order to manipulate mounting points...
2. Be careful manipulating mount points as this may break aps looking for data in the /sdcard mount point...
YMMV
Chinook Pilot said:
1. I believe you need root in order to manipulate mounting points...
2. Be careful manipulating mount points as this may break aps looking for data in the /sdcard mount point...
YMMV
Click to expand...
Click to collapse
1. I am rooted.
2. Well, I want to change the /sdcard mountpoint to the actual sdcard. I don't think this should break anything. I am not sure about the syntax, that is why I am asking.
Mount
Here's a link to the man pages for the mount command. I'm not running a stock kernel so my mount points and fstab aren't generic to the stock e4gt... Basically you need to umount both and the mount where you wish them to point... Good luck...
http://linux.die.net/man/8/mount

Swap internal sd card with external sd card?

Been searching for a method that works with no luck, tried editing vold.fstab, tried a couple apps from the market but no luck. Im running PAC-MAN 4.3 nightlies with ktoonsez kernel. I have a 32gb SD formatted to ext....can someone help me do this?
Here is my View attachment vold.fstab.zip if you need it.
I had to do that with my Galaxy Ace IIx s7560m. I used kylesrom SD Swap add-on flashable zip thingie.
SWAP_SCRIPT_FOR_EXTSD_AND_SDCARD.zip - 216.14 KB
It wasnt this one but it should be the same.
Sent from my Nexus 7 using XDA Premium HD app
gnome9er said:
I had to do that with my Galaxy Ace IIx s7560m. I used kylesrom SD Swap add-on flashable zip thingie.
SWAP_SCRIPT_FOR_EXTSD_AND_SDCARD.zip - 216.14 KB
It wasnt this one but it should be the same.
Sent from my Nexus 7 using XDA Premium HD app
Click to expand...
Click to collapse
tried it and it did nothing.
I'm trying scripts with Smanager...
mount -t vfat -o umask=0000 /dev/block/vold/179:33 /sdcard
mount -o bind /data/media /extSdCard
but I get this message mount: mounting /dev/block/vold/179:33 on /sdcard failed: invalid argument
k00lguy105 said:
I'm trying scripts with Smanager...
mount -t vfat -o umask=0000 /dev/block/vold/179:33 /sdcard
mount -o bind /data/media /extSdCard
but I get this message mount: mounting /dev/block/vold/179:33 on /sdcard failed: invalid argument
Click to expand...
Click to collapse
bump
No one knows?
I'm having the same problem with my sandisk 64gb (formatted exfat) since I updated to jellybean.
I never went back to icecream sandwitch to double check though.
The room doesn't seem to make any difference, so it's the kernel.
I was just about to post something similar since I ran out of ideas.

[Q] Can't mount sdcard

Hi everyone! I've revived my old HTC Wildfire S (A510E), and succesfully unlocked the bootloader and installed TWRP. I've done a Factory Reset via fastboot after that, and then I realised I messed it up. Now I'm not able to mount the internal sdcard (I've tried to mount with TWRP). Is it possible to fix it with my computer (I use Linux)? I've tried with fsck but I can't get any results. Thanks
Edit: I think this can be helpful
Code:
[email protected]:/home/mgogando# mkfs -t vfat /dev/sdb
mkfs.fat 3.0.26 (2014-03-07)
/dev/sdb: No medium found
Code:
[email protected]:/home/mgogando# mount /dev/sdb
mount: can't find /dev/sdb in /etc/fstab or /etc/mtab
Also, the disk doesn't show in GParted, but it does en disks (without letting me do anything, only that it's in /dev/sdb)
Anyone?

Categories

Resources