[Q] How do you mount an ext4 sdcard on CM10? - Defy Q&A, Help & Troubleshooting

After formatting the card on linux via gparted, android shows the sd card as damaged and asks me to format it? How does one mount an ext4 card?

I am just guessing, but since the SD has to be compatible as USB Mass Storage Device, it must be formatted in FAT32. Windows for example cannot handle linux/UNIX specific partitions like ext3 or ext4.

Related

reformat ext2 partition

i'm on superhero v2 and i need to reformat my ext2 partition for apps to sd. I dont have a card reader so are ther any ways to do this through the phone?
What do you exactly mean by reformat? You could format your SDcard in the SDcard + Phone storage section and it erases all your data, but deletes any existing partitions. And then you could use AppstoSD2 by MarcusMaximus to partition your SD card to fat32 and ext2
http://forum.xda-developers.com/showpost.php?p=3582509&postcount=52

How do I delete a ext2 partition from sd card

How do i delete the ext2 partition made from clockwork recovery ?
Plug you card into a card reader then access teh partitions via a partitioning software, maybe use the one thats built into windows. Just delete the partitions and format card.
You can probably do it with "SD Card Formatter", google it.

Micro SD Card Partions

Rooted and running Prime 1.4, I formatted and partitioned the micro sd card with sdext, swap space, and fat32 storage partitions similar to a rooted phone's sd card. Now my computer will not recognize the micro sd card. Do I need the sdext and swap space, or can I do a complete fat32 or NTFS partition?
bmcglone said:
Rooted and running Prime 1.4, I formatted and partitioned the micro sd card with sdext, swap space, and fat32 storage partitions similar to a rooted phone's sd card. Now my computer will not recognize the micro sd card. Do I need the sdext and swap space, or can I do a complete fat32 or NTFS partition?
Click to expand...
Click to collapse
For me, I just use the normal Win format command to have a FAT32 partition.

Kernel with ext(2,3,4) support?

Hio
I wanted to ask gently, if someone is in a position to build a kernel that allows the SD card to be formatted in ext(2,3,4)?
I've pushed a 32GiB card into the tablet, and it would be very nice to move more than 4GiB sized data on the sd card.
Other file systems would of course possible
I have the P6810.
I don't think you need a custom kernel. The internal flash memory is already formatted with ext4 and supports files larger than 4GB. The problem is with the Samsung automatic sd-card mounting which forces fat32 only.
Is it possible to manually unmount/remount the external sd card with ext4 file support via shell or custom app/script?
The kernel's got ext4 support.
To mount the SD card, run the following in a terminal (as root):
mkdir /mnt/sdcard/ext
mount -t ext4 /dev/block/mmcblk1p1 /mnt/sdcard/ext
Your SD card will then be mounted in the ext directory on your Internal drive.

[CLOSED] SD card formatted as ext4 not recognized

Resolved: by switching to the custom ROM Buttered AOKP 4.2.2 [+Aroma] and using its the default kernel. The OTG connected SDCards formatted as either ext4 or FAT32 was automatically mounted with RW accessable. Stickmount was not required. It seems odd that the neither the popular SentinelROM/KTManta nor Tasker650/Trinity Ten custom ROM/kernels would mount the same ext4 formatted SD cards.
I am running custom ROM/Kernel combination Tasker650 TX34 and Trinity Ten. Using gparted I can format an external SD card with FAT32 or NTFS and the SD card is automatically mounted by the N10. Settings->Storage can mount and unmount the OTG connected storage without issue.
If I reformat the SD card as ext4 it is not auto mounted but Settings->Storage does show a "Mount USB" button. Unfortunately clicking on it causes the SD card reader's light to flash but the file structure never show up in "/usbdisk". Note: I have the same problem with "SentinelROM and KTManta".
What is strange is that TWRP can see and mount the ext4 formatted SD card without issue from a "/usb-otg" mount point. File browsing the SD card also works but only in TWRP.
I tried from a terminal session to mount it manually:
> busybox mount -t ext4 -o nosuid,nodev /dev/block/mmcblk1p1 /storage/usbdisk
but it always return the error that "/dev/block/mmcblk1p1" does not exist which is true.
From everything I've read ext2,3,4 formatted SD cards should all be recognized. I am looking to load files greater than 4GB and have full RW access to the SD card. NTFS can accommodate the file size but is limited to Read-Only access.
Maybe the mount point is different for ext4 formatted SD cards but I can't find that mount point. If anyone can shed some light on this issue I would appreciate it.
Thanks
Doug

Categories

Resources