Sdcard ext2 not mounted on Android to /mnt/sdcard - Android Q&A, Help & Troubleshooting

I formatted SDCard in ext2. But the phone gives the message "No SDCard or not formatted."
In Android Terminal Emulator I run commands:
su
umount /mnt/sdcard
mount -t ext2 /dev/block/mmcblk1p1 /mnt/sdcard
but nothing happens.
When I created in /mnt folder a new folder sdcard1 and run mount -t ext2 /dev/block/mmcblk1p1 /mnt/sdcard1, my card is successfully mounted to /mnt/sdcard1
1) Why it is not mounted to /mnt/sdcard? How to do it? How I can mount ext2 instead of FAT32?
2) How to make mount SDCard to /mnt/sdcard at boot?

Related

Internal sdcard not mounted

my internal sdcard will not mount again!
tried to mount it with settings, but it disconnect immediately.
then i tried the following over windows-pc:
adb shell
su
mount -t vfat /dev/block/179:18 sdcard (I was in the /mnt Directory)
then I mounted the internal sdcard to the external (same command but in the sdcard-ext mount-point, this worked) ---> so I could save my files --> how do i umount this
any ideas, how to fix this bug?
I'm on CheeryBlur 1.3
when i mount usb in cwm the sdcard is not shown in windows file explorer..
but if I select "install zip from sdcard" i can see my folders from internal sd card..
[EDIT]
YESSSS, got it with: "mount -t vfat /dev/block/vold/179:18 sdcard"

[Q] Question about mount table, files greather than 4GB

I'm trying to understand why i cannot put a video of > 4GB to /mt/sdcard/video. I had assumed there was some use of vfat filesystem, but after digging into it, it appears not.
The mount table is such that
/dev/block/mmcblk0p8 /data ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered,noauto_da_alloc,discard 0 0
/dev/block/mmcblk0p1 /efs ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered 0 0
/dev/fuse /mnt/sdcard fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
and /sdcard is a soft-link to /mnt/sdcard.
If i look in /data/media/video, which is on the ext4 filesystem, i can put a file > 4GB.
But when i try instead to write this to /mnt/sdcard/video, it fails.
What is the rationale for the fuse mount of the /data/media onto /mnt/sdcard? Is that part of the MTP mounting system for USB?
Is there any reason i cannot just either use the path of /data/media for everything and/or change /sdcard link to point to /data/media instead of /mnt/sdcard?
if i grep around in the *.odex files i find some reference /sdcard, and some reference /mnt/sdcard. What is the rationale for that?
Where is the script that does the fuse mount of /data/media to /mnt/sdcard? It doesn't seem to be /etc/vold.fstab. Is it the /init.p3.rc script? It seems to just run /system/bin/sdcard. Is there a reason i cannot just make that be 'ln -s /data/media /mnt/sdcard' instead of 'service sdcard /system/bin/sdcard /data/media 1023 1023 ' or will i end up with file permission problems?

[Q] Titanium Backup problem mount ext2

Titanium Backup i do not see my ext 2 split card.
FAT32
ext2
If you use Link2SD see ext2.
Titanium Backup can not be displayed.
Does anyone have a solution?
Try removing and re-inserting your SD Card. Or maybe wiping cache and Dalvik Cache in Recovery. It may help.
OK.
I need to know what script I have it mounted in sdext2
Titanium but it requires to ,,sd,, and then must use this command:
ln -s /data/sdext2 /data/sd
What do I need to connect the SD card data/sd
Only insert script in init.d ?
And what ?
Code:
We created:
#!/system/bin/sh
#mount sd for a2sd
mount -t ext2 -o rw /dev/block/vold/179:2 /data/sd
mount -t ext2 -o rw /dev/block/mmcblk0p2 /data/sd

[Q] Error in init.d script

Hi,
My today goal is to swap internal memory with SD card on HTC Desire 310, and I almost accomplished that, because at this moment I need to send command trough adb to get this working:
So ADB and
Code:
su
busybox mount -t vfat -o umask=0000 /dev/block/vold/179:97 /mnt/sdcard
so now I need to create init.d script to swap internal memory with SD card at boot, I've tried something like that:
Code:
#!/system/bin/sh
mount -t vfat -o umask=0000 /dev/block/vold/179:97
script location /system/etc/init.d/04swapsd, and this script does nothing even I tried to add 'busybox' before 'mount' - zero changes.
SManager app gives me 'Device or resource busy' error
Can anyone help me with my problem?
Thanks!
meciu99 said:
Hi,
My today goal is to swap internal memory with SD card on HTC Desire 310, and I almost accomplished that, because at this moment I need to send command trough adb to get this working:
So ADB and
Code:
su
busybox mount -t vfat -o umask=0000 /dev/block/vold/179:97 /mnt/sdcard
so now I need to create init.d script to swap internal memory with SD card at boot, I've tried something like that:
Code:
#!/system/bin/sh
mount -t vfat -o umask=0000 /dev/block/vold/179:97
script location /system/etc/init.d/04swapsd, and this script does nothing even I tried to add 'busybox' before 'mount' - zero changes.
SManager app gives me 'Device or resource busy' error
Can anyone help me with my problem?
Thanks!
Click to expand...
Click to collapse
Try this: https://www.youtube.com/watch?v=nWN0tOSPFv4
It should work fine!
in this tutorial I can expand RAM memory, but this is I dont want to do.
I have about 800MB left in internal storage - and I cant install big games like Asphalt 8, and because of that I want to create script to automatically swap internal with external memory.
I've tried already apps like Internal 2 External SD, Link2SD, DirectoryBind, FolderMount.

Mount ext4 formatted external SDcard

Hi guys,
My Huawei MediaPad T2 7.0 Pro (PLE-701L) only allows FAT format for external SDcard. I looked at its kernel, and in fstab.qcom, I found this:
Code:
/devices/soc.0/7864900.sdhci/mmc_host /storage/sdcard1 vfat nosuid,nodev wait,voldmanaged=sdcard1:auto,noemulatedsd
and in /system/etc/vold.fstab,
Code:
dev_mount sdcard /storage/sdcard1 auto /devices/msm_sdcc.2/mmc_host
I changed vfat to ext4 in in fstab.qcom of kernel, and repacked boot.img to boot on the fly in bootloader. It booted but did not recognize ext4 formatted external SDcard just as usual.
Do I have any points that I missed? Hope someone will give me some insights... Thanks in advance.
Q

Categories

Resources