[Q] sd not recognized after creating ext3 partition - Milestone XT720 General

I've done some searching and could not find an answer to this issue that I could understand.
My phone is running Dexter's Froyo v1.3. I was having the issue where Milestone Overlock would not autoload at boot (ie settings were reset every reboot), and wanted to create an ext3 partition to use Link2SD.
I downloaded MiniTool Partition Wizard and used it to create a ~512MB ext3 partition on the phone, as a logical partition. Didn't do anything else as far as setting boot partitions (thought it would keep the old settings, not sure if that's causing the issue).
Also, I installed the update from Mioze7Ae, by copying the .zip to the OpenRecovery/updates folder on my SD, doing a recovery boot, and applying the update. When the update was applied it said successful, but there was a message before this line saying:
​ E: Can't mount /dev/block/mmcblk0p2
​ (Invalid Argument)
​
​ Install from sdcard complete.
I think this is part of the issue, but I don't really know what I'm doing. After this I rebooted the phone, and got a notification Removed SD card, and when I connect to PC no drive is shown (just Removable Disk G:, and nothing in shown in MiniTool Partition Wizard.
I'm guessing the issue was caused my me not formating the SD properly. Can anyone help out? I would like to avoid loading Dexter's rom from scratch if possible, to keep my data/apps, but am willing if that's the only way.
Sorry for the long post and if this question's been answered before, as I said I did do quite a bit of searching and couldn't find any comprehensive solution. Thanks

berlin85 said:
I've done some searching and could not find an answer to this issue that I could understand.
My phone is running Dexter's Froyo v1.3. I was having the issue where Milestone Overlock would not autoload at boot (ie settings were reset every reboot), and wanted to create an ext3 partition to use Link2SD.
I downloaded MiniTool Partition Wizard and used it to create a ~512MB ext3 partition on the phone, as a logical partition. Didn't do anything else as far as setting boot partitions (thought it would keep the old settings, not sure if that's causing the issue).
Click to expand...
Click to collapse
From what I've read, I'm pretty sure you have to use primary partitions and logical's don't work on the phone. You also have to set the boot flag (a.k.a. active partition) on the fat partition. Based on what you've written (which was very good by the way, the detail was helpful), I don't think you have to reinstall the ROMs. I think you just need to repartition/format your card properly.

This is probably an even dumber question, but I'm not sure how to repartition/format the card at this point. Nothing is showing up in Windows, just Removable Disk with size shown of 0 bytes, and when I open MiniTool Partition Wizard, all I see is my PC drives, nothing for the SD.
I'm connecting with the SD in my phone if that makes a difference, I don't have a reader on my pc.

berlin85 said:
This is probably an even dumber question, but I'm not sure how to repartition/format the card at this point. Nothing is showing up in Windows, just Removable Disk with size shown of 0 bytes, and when I open MiniTool Partition Wizard, all I see is my PC drives, nothing for the SD.
I'm connecting with the SD in my phone if that makes a difference, I don't have a reader on my pc.
Click to expand...
Click to collapse
Maybe try a linux boot CD. Ultimately, you may have use an adapter and go directly to the PC, though. It could be that the phone doesn't understand the partition table with the logical partitions so it can't export it anymore.
The phone's software (even recovery) doesn't expect that partitions can change while it is booted. For example, (you don't have one working but if you did) when you export the partitions for USB access, the sd-ext partition is both *not* unmounted and also simultaneously exported as a raw device. This can cause all sorts of filesystem corruption on the ext partition because of kernel caching on the desktop and in the phone.

Yay, used a comp at school with a microSD reader, repartitioned the ext3 making it primary rather than logical... seems to be working fine
easy solution after all! thanks for the help, really appreciate it

berlin85 said:
I've done some searching and could not find an answer to this issue that I could understand.
My phone is running Dexter's Froyo v1.3. I was having the issue where Milestone Overlock would not autoload at boot (ie settings were reset every reboot), and wanted to create an ext3 partition to use Link2SD.
I downloaded MiniTool Partition Wizard and used it to create a ~512MB ext3 partition on the phone, as a logical partition. Didn't do anything else as far as setting boot partitions (thought it would keep the old settings, not sure if that's causing the issue).
Also, I installed the update from Mioze7Ae, by copying the .zip to the OpenRecovery/updates folder on my SD, doing a recovery boot, and applying the update. When the update was applied it said successful, but there was a message before this line saying:
​ E: Can't mount /dev/block/mmcblk0p2
​ (Invalid Argument)
​
​ Install from sdcard complete.
I think this is part of the issue, but I don't really know what I'm doing. After this I rebooted the phone, and got a notification Removed SD card, and when I connect to PC no drive is shown (just Removable Disk G:, and nothing in shown in MiniTool Partition Wizard.
I'm guessing the issue was caused my me not formating the SD properly. Can anyone help out? I would like to avoid loading Dexter's rom from scratch if possible, to keep my data/apps, but am willing if that's the only way.
Sorry for the long post and if this question's been answered before, as I said I did do quite a bit of searching and couldn't find any comprehensive solution. Thanks
Click to expand...
Click to collapse
Did you try to format sd card with your phone in sd card and memory setting and then to create again ext3 partition with MiniTool Partition Wizard ?
Be sure to save data in your card first.

Mine is a galaxy SII, but I'm facing the same problem. I've formatted my microSD to EXT3 via MiniTool Partition but phone does not recognize it.
It says it's damaged and asks if I want to format it, after formatting thru the phone it returns to FAT32 and works perfectly again.
I've read more than 20 threads among several forums but I'm still not able to fix it.
Can you guys help me?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Did you create a second partition as ext3? AFAIK the first partition must be FAT (and marked bootable). Maybe you got that backwards?

Are you trying to partition the internal SD or the external. Samsung already has the internal partitioned into one Fat and another for your apps and cache. That is why your phone specs show 16gb internal but you only really have 14gb to put music, pix,...on. 2gb are already allotted for apps and cache. You can and should only partition the external one. My question is why are you trying to do this on an SGSII when it is not needed. No SGSII rom needs to have a partition and any Voodoo kernel will convert your system, data, cache and DB.data files to Ext4 anyways. Seems needless.

Mioze7Ae said:
Did you create a second partition as ext3? AFAIK the first partition must be FAT (and marked bootable). Maybe you got that backwards?
Click to expand...
Click to collapse
Had no success doing this, it shows the same information saying that "SD card is damaged". I really don't know what to do to make this work.
---------- Post added at 09:26 PM ---------- Previous post was at 09:24 PM ----------
Woodrube said:
Are you trying to partition the internal SD or the external. Samsung already has the internal partitioned into one Fat and another for your apps and cache. That is why your phone specs show 16gb internal but you only really have 14gb to put music, pix,...on. 2gb are already allotted for apps and cache. You can and should only partition the external one. My question is why are you trying to do this on an SGSII when it is not needed. No SGSII rom needs to have a partition and any Voodoo kernel will convert your system, data, cache and DB.data files to Ext4 anyways. Seems needless.
Click to expand...
Click to collapse
I'm trying the external SD. It's a ADATA 32GB microSD.
The reason I want to do this is to be able to copy files over 4GB.

Related

How do you create the FAT32 / EXT2 combo partitions??

i need help on this to install apps on my sd card
I've been meaning to ask this for a while as well, but was shy to ask and make a thread about it.
How would you create one on a mac?
im wondering how to create them on WINDOWS XP
I have read all around on this subject and from what I've read its not possible for windows xp users.
you can create it on windows using Paragon Partition Manager 9. Make sure you partition the sd card using a microSD reader, because issues will arise if you try to partition with your memory card still connected to your G1.
85Mario85 said:
im wondering how to create them on WINDOWS XP
Click to expand...
Click to collapse
Use Paragon Patition Manager 9 for XP then you can make all the partitions you want
Is this the program i need? I want to be sure you say use a disk reader i have the one built into my P.C is that o.k?
http://www.partition-manager.com/
I had problems with this to both the ubuntu live cd and partition maneger works for me. But i had to make sure my init.rc had
mount ext2 /dev/mmcblk0p2 /system/sd noatime nodiratime
not
mount ext2 /dev/mmcblk0p2 /sd noatime nodiratime
Finaly to mwke the partitions in windows i used HP USB format tool to format the card as fat16 and then detleted the partition in partiton maneger and created my FAT32 and EXT2 partitions (*make shure you hit apply*) in partition maneger
manup456 said:
Is this the program i need? I want to be sure you say use a disk reader i have the one built into my P.C is that o.k?
http://www.partition-manager.com/
Click to expand...
Click to collapse
Yes that is the program you use. It is very easy to use. Good Luck!
cchap07 said:
Yes that is the program you use. It is very easy to use. Good Luck!
Click to expand...
Click to collapse
I used this program to try to partition my sd card, I made the partitions, applied them, it finished. I put all my stuff back on my sd card, put it back in my G1 I tried to flash the update.zip and it said no update.zip. I was like wtf, so I put the sd card back in my comp and it said this card is not formatted. I had to use a program to recover everything on it, and havent tried again since. What went wrong?
do you got root? if so, then check the partition table using fdisk:
# fdisk /dev/block/mmcblk0
Command (m for help): p
the "p" option prints the partition table for the device you specified when invoking fdisk (your SD card). you should have two partitions listed - one using a Win95 FAT32 filesystem (hex ID "b"), and a second partition labeled as a Linux partition (hex ID "83). Here's my partition table if you want to try to match it up to your own:
Code:
Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 1 218751 7000024 b Win95 FAT32
/dev/block/mmcblk0p2 218752 249296 977440 83 Linux
So long as that all looks good, it *should* work. I think i used gparted when i partitioned my SD card. I have a theory that you can do it through fdisk too, directly on the G1, but i didn't really spend too much time trying this.
.haNk said:
do you got root? if so, then check the partition table using fdisk:
# fdisk /dev/block/mmcblk0
Command (m for help): p
the "p" option prints the partition table for the device you specified when invoking fdisk (your SD card). you should have two partitions listed - one using a Win95 FAT32 filesystem (hex ID "b"), and a second partition labeled as a Linux partition (hex ID "83). Here's my partition table if you want to try to match it up to your own:
Code:
Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 1 218751 7000024 b Win95 FAT32
/dev/block/mmcblk0p2 218752 249296 977440 83 Linux
So long as that all looks good, it *should* work. I think i used gparted when i partitioned my SD card. I have a theory that you can do it through fdisk too, directly on the G1, but i didn't really spend too much time trying this.
Click to expand...
Click to collapse
Thanks, but wtf, it says I have 4 partitions, and it doesnt know the system, on Partition Manager it says 1 last time I checked
AsaSpades said:
I used this program to try to partition my sd card, I made the partitions, applied them, it finished. I put all my stuff back on my sd card, put it back in my G1 I tried to flash the update.zip and it said no update.zip. I was like wtf, so I put the sd card back in my comp and it said this card is not formatted. I had to use a program to recover everything on it, and havent tried again since. What went wrong?
Click to expand...
Click to collapse
I have no idea, but the same thing happened to me and I just repartitioned it and retried it with only the update.zip and it worked. If you dont have your sd card partitioned just copy everything you have on it to your computer, erase the current formatting and try it again. It should work. Good luck!
AsaSpades said:
Thanks, but wtf, it says I have 4 partitions, and it doesnt know the system, on Partition Manager it says 1 last time I checked
Click to expand...
Click to collapse
You can try to follow these instructions that I wrote on another thread.
Back up any data that you can because this will erase it all.
Ok so Open Paragon, click ADVANCED PARTITIONING on bottom right, on your sd card right click on the partition and click Delete partition. Then Delete all other partitions on the SD card.
After you have deleted them all, click on the apply button on the top of Paragon. Then after that is finished, right click on the sd card and click create partition. The first drop down box will say: Create Partition as: and select Primary Partition. Then select the size you want the FAT32 Partition to be and on the Second drop down box select FAT 32. Then click yes.
Then Right click on the sd card again on the part that says (unallocated) and click Create partition. Select the partition as primary, and this time select the Linux Ext2 option of the second drop down box. Then click yes. Finally, Click on the top button to apply changes (Green Check mark) and you are done partitioning. Then just follow these instructions.
BTW the Ext2 partition has to be less than 2GB.
Good Luck!
yeah dude, i would say just give it another try in partition manager. if that don't work, then i guess you can try using a Linux live CD (or USB...) to partition it. just don't accidentally reformat your hard drive. make sure you select the option to manually setup your partition table, and then make sure you're working with the SD card and not your HDD. i've seen too many people wipe their hard drives on accident.
alright ill jus try it again, after its partitoned correctly will the sd card directory be different? Like would there be a folder for Ext2 or no?
nah, you won't see an additional folder. the second partition (EXT2) will be mounted under /system/sd, so you won't see it unless you specifically browse to it. if you want to make sure that it partitioned and mounted correctly, run the 'mount' command as root on your phone. you should see /dev/block/mmcblk0p2 mounted to /system/sd.
hmmm its not letting me create a partition after I deleted what was on it. When I click the sd card in "Create Partition" it says "A new partition cannot be created on this hard disk. Most probably/all primary slots are occupied and there is no extended partiton."
Hi Asa,
Check out this diagram I made when I was transferring my apps and caches to the sdcard.
You should run the busybox command and see if your ext2 partition shows.
In the diagram, it is the one that has a size of 1.6 gb.
So you should see something similar in your phone.
After I transfered all my caches and apps the ext2 partition no longer shows up in partition manager but I know it is working and present by the busybox output shown in the diagram.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Let me know if it helps.
Do i need the full version? Because the demo does not give the create partition option its there but disabled.

[HOWTO] Repartitioning Your SD Card with GParted Using Ubuntu

XDA user supremeteam256 has written an excellent tutorial on How to Partition SD Card with Ubuntu for Dummies. After reading the tutorial, I asked whether it was possible to repartition an SD card using GParted in Ubuntu without losing any existing data on my ext2 or fat32 partitions (I was not, however, as concerned with my fat32 because it is easily backed up). My goal was to add a linux-swap partition after my existing ext2 partition. Specifically, I wanted to steal 64MB from my ext2 partition and reallocate it to a newly created linux-swap. So, I decided to be the guinea pig and risk losing my data for a greater cause. Well, I didn't end up losing data on either of my partition on either of my phones. I have successfully done this three times--on two G1s and a myTouch.
WARNING: While this worked for me it may not work for you. I am NOT responsible for any and all loss of data that might occur from this process. Proceed at your own risk and ALWAYS back up your SD card before trying this.
Prerequisites
I HIGHLY recommend you first read the tutorial mentioned at the beginning of this post so that you are familiar with installing Ubuntu and using GParted. This tutorial assumes that you have a working version of Ubuntu (I am using version 9.04) on your machine.
Ubuntu
SD Card
Card Reader
Step 1
Open up GParted by clicking System > Administration > Partition Editor. From the drop down menu on the top right-hand side of the GParted screen, selected your SD card. Make sure you select your SD card and NOT your hard drive. You are on your own if you make a mistake here. For this example, I am using a 2GB SD card. Yours may differ so proceed accordingly.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Figure 1: Selecting Your SD Card
Step 2
Once your SD card is selected, right click on each partition and select "Unmount" from the list.
Figure 2: Unmounting Each Partition
Step 3
Once you have unmounted each partition, right click on the ext2/3/4 partition on select "Resize/Move" from the list.
Figure 3: Resizing the ext2 Partition
Step 4
In the dialog box that opens, subtract the number of MB from using the down arrow button on the "New Size (MiB)" box. I would like a 64MB linux-swap partition. My SD card is 500MB (Figure 4) so I will click the down button until the "Free Space Following (MiB)" box reads 64 (Figure 5). An important step is to make sure that the box that reads "Round to cylinders" is UNchecked. This is so there is not partition in between the ext2/3//4 partition and the linux-swap since they must be in order (fat32, ext2/3/4, linux-swap). Once you have resized your partition tot he desired amount, click "Resize/Move."
Figure 4: Resize Dialog Box at 500MB
Figure 5: Resize Dialog Box Resized
Step 5
Next, create the linux-swap partition by right-clicking on the unallocated space that you have just taken from your ext2/3/4 partition and select "New" from the list.
Figure 6: Creating a New Partition
Step 6
The dialog box that opens will be similar to the resize dialog box you used in Step 4. In the "New Size (MiB)" box, enter the number of MB you would like your linux-swap partition to be. Then, select "linux-swap" from the "File System" drop-down menu. Make sure that "Primary Partition" is selected from the "Create as" menu. Again, make sure the "Round to cylinders" box is UNchecked. Once done, click "Add."
Figure 7: Selecting the Size of your New Partition
Step 7
Back in the main GParted screen, click "Apply" from the toolbar to apply the changes.
Figure 8: Applying the Changes
Step 8
When asked if you wish to continue, confirm your changes by clicking "Apply."
Figure 9: Confirm Your Changes
Figure 10: Watch Your Progress
Step 9
You should end up with something similar to what you see in Figure 10.
Figure 11: The Result
If you have any questions regarding this process, feel free to post them here. I don't know how much help I'll be as this is not my expertise but I'll do my best to answer what I can. I have learned, however, that there is always someone on the board who seems to have an answer for most questions. So ask away.
Reserved
Reserved for possible future use.
aaronratner said:
Reserved for possible future use.
Click to expand...
Click to collapse
yo, thanks alot bro. i was trying to figure out how to resize my linux swap. i already have a 32 mb linux swap. so, would it be better to delete the linux-swap and do the steps you did or do you just recommend me resizing my linux-swap. currently i have an 8gb class 6 transcend sd card. i currently have about 6.62gb fat32, about 1000mb (if i remember correctly) for my ext3, and 32mb for my linux-swap. thanks
I would--and this is more opinion that previous knowledge or expertise, delete the linux-swap--resize the ext3 and re-create the linux-swap. However, I don't think it would really make a difference which way you go. They are both essentially the same thing. Remember, there is a chance of data loss, particularly if your ext3 partition is full (the free space would have to come from somewhere). I have, however, successfully done this twice, both on a G1 and a myTouch. Hope it works and report back results if you try it.
EDIT: Did it a third time to another G1.
ubuntu and gparted
Ok, dl'ed the iso, burnt it, loaded into live cd, got my 4gb sdcard in the reader, started gparted and tried to follow along with superteam256's partition instructions for dummies (found here : http://forum.xda-developers.com/showthread.php?t=535914. The fat 32 partition gets "created" fine, but when I try to add a second, it gives me an error saying only one can be "primary" and that I have to create an extended partition even if that means removing the primary. So I tried to create just an extended, using the whole card, and then logicals afterwards, which didn't work. I tried to create the ext2/3 (not primary) and add the fat32 after, still gives me the same error.
*EDIT: When the first primary partition is created, it does not give me anything but "New" when I right click so I can't even tell it this one will be "extended".
On a side note, I have tried adb, but for some reason after the frist 2 commands it stops working and I have to reboot, unplug my phone, and then it works...for another 2 commands. I really want to run hero on my rooted mt3g US 32B. So far the only ROM I have been able to load is some weird hacked version of the original OS (it's cool, but I wanna try HERO!!)
Anyone got some commandline (linux preferrably) directions on creating the sdcard partitions and filesystems?
Thanks!
I partioned my 8GB SD with gparted, and apps2SD is working now. But everything is moving to main FAT32 partion. How can I access or use other 3 partitions (ext3, linux-swap, fat32 at end). Any help
ykhehra1 said:
I partioned my 8GB SD with gparted, and apps2SD is working now. But everything is moving to main FAT32 partion. How can I access or use other 3 partitions (ext3, linux-swap, fat32 at end). Any help
Click to expand...
Click to collapse
Access it how? Through the phone? PC? Only the fat32 shows up in Windows and in non-root file explorers on the device. The files on the ext partition are usually located in /system/sd depending on the ROM. This can only be accessed via linux using a root explorer on the device, terminal emulator or ADB.
rmarquez1974 said:
Ok, dl'ed the iso, burnt it, loaded into live cd, got my 4gb sdcard in the reader, started gparted and tried to follow along with superteam256's partition instructions for dummies (found here : http://forum.xda-developers.com/showthread.php?t=535914. The fat 32 partition gets "created" fine, but when I try to add a second, it gives me an error saying only one can be "primary" and that I have to create an extended partition even if that means removing the primary. So I tried to create just an extended, using the whole card, and then logicals afterwards, which didn't work. I tried to create the ext2/3 (not primary) and add the fat32 after, still gives me the same error.
*EDIT: When the first primary partition is created, it does not give me anything but "New" when I right click so I can't even tell it this one will be "extended".
On a side note, I have tried adb, but for some reason after the frist 2 commands it stops working and I have to reboot, unplug my phone, and then it works...for another 2 commands. I really want to run hero on my rooted mt3g US 32B. So far the only ROM I have been able to load is some weird hacked version of the original OS (it's cool, but I wanna try HERO!!)
Anyone got some commandline (linux preferrably) directions on creating the sdcard partitions and filesystems?
Thanks!
Click to expand...
Click to collapse
use the command: fdisk
for instructions how to use fdisk
type fdisk --help(or fdisk -help or something)
or man fdisk
Excellent tutorial. Unfortunately, it doesn't work for me. My SD card is already partioned using ROM Manager / Clockwork Recovery. I currently have 15 GB FAT32 and 1 GB ext2 (I guess).
Running Ubuntu 10.10, I've connected the phone via USB and I can access the FAT 32 partition via Nautilus/Explorer.
Using GParted, I can only see 15 GB of unallocated space (as /dev/sdb). The FAT 32 is not recognized as such and the 2nd partition doesn't even show.
Using the Ubuntu Disk Utility, /dev/sdb is reported as 15 GB on HTC Android Phone but unpartioned.
Any idea of how to proceed without wiping everything and with working on the whole 16 GB?

[Tut] Upgrade/Change SD Card with Ext2/3 [14/01 - Added Extra Freeware tuts]

This tutorial will show you how to Upgrade / Change to a new SD card having an EXT2/3 partition. This tutorial is for Windows platform only and assumes that you are comfortable with doing some basic functions with your phone.
Disclaimer:
I take no responsibility for any damage (if it occurs) to your phone by following the the steps mentioned below. Use it at your own risk!!! You have been warned.
Prerequisites:
1. HTC Desire - Rooted
2. Clockworkmod recovery installed on your phone (my version is 3.0.0.5?)
3. Nandroid
4. Download and Install - Freeware: Easeus Partition Manager
5. A windows PC and HTC desire data cable.
Steps:
1. Create a full nandroid back up for your current ROM from Clockworkmod Recovery screen. [No Mybackup or Titanium Backup - Nandroid is Required]
Boot phone into Clockworkmod recovery -> backup/restore -> backup (takes a few minutes) will make a complete backup of you rom, stored in clockwordmod folder of your SD-card (folder named with date and time) [Thanks Papedo]
2. Connect your HTC desire to your PC via your data cable and save the whole "Clockworkmod" folder from your SD card to a folder in your PC. Save any other files which you may want to in that folder.
3. Safely Eject the SD card.
4. Turn off your phone.
5. Remove the Old SD Card and Insert the new one.
6. Boot phone into Clockworkmod recovery.
7. Now select the option - "Partitions Menu"
8. Select option - "mount USB storage"
9. Open Easeus Partition Manager.
10. Create two partitions on the SD *exactly* in this sequence (assuming you have a 16gb card - windows will show 14.98gb free):
a. Fat32 partition - Primary - 14gb
Method: Right click unallocated space on your SD card and select "Create" -
A create partition dialog will pop up - use the following values:
Create As: Primary
File System: Fat32
Partition Size: 13980
Hit: OK
b. Ext2/3 partition - Primary - 1 gb
Method: Right click unallocated space on your SD card and select "Create" -
A "Create Partition" dialog will pop up - use the following values:
Create As: Primary
File System: Ext2 or 3
Partition Size: 1000
Hit: OK
11. Your SD card partitions should look like this (see DISK 3):
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
11. Hit Apply button which will appear on the left hand side.
11. Go to Windows Explorer to ensure that you can see and access the newly created FAT32 partition.
12. Once you are satisfied with the FAT32 partition go and copy paste all the files and folders from the backup of your OLD SD Card made on your PC to the new SD Card.
13. Once this process if finished reboot the phone into recovery.
14. Go to Nandroid - Select Restore. Choose the Backup you want to restore.
15. Nandroid will take sometime to check MD5 sum of the recovery image, be patient. If everything is OK, Nandroid will start restoring the image and will start copying files.
16. Once finished it will display "Restore Complete". Press the back button now, select "Reboot System Now".
Go Crazy!
Now you have a full functional new SD card with EXT 2 / 3 partition.
[Credits if you post this elsewhere]
CS
Similar tutorials:
Using other freeware:
MiniTool Partition Wizard - Credits: Kneros
Parted Magic - Credits: Svennetjee
Good work, this will surely help some people.
Sent from my HTC Desire using XDA App
b3ndik said:
Good work, this will surely help some people.
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Thanks. Have a good day.
Hi celestialspring,
Nice explaining with details.. I have problem before kicking off.
i used unrevoked to root, have rom manager installed , clock work mod 2.5.0.7 i am using the latest leedroid rom.
How do i obtain a Nandroid back up to backup as u have required apart from titnanium and backup pro? I don't know how to get nandroid back up from. please advice. thanks a million.
Boot phone into Clockworkmod recovery -> backup/restore -> backup (takes a few minutes)
will make a complete backup of you rom, stored in clockwordmod folder of your SD-card (folder named with date and time)
I know that this is a Windows-only tutorial, and thanks for sharing.
However, when dealing with Android and its (advanced) aspects is always a good thing to have a Linux OS handy: in this case, having native access to the sdcard's ext partition, one can simply copy/paste its contents making the whole process a matter of seconds. Moreover, the gparted utility that ships with most Linux distributions can play the Easeus Partition Manager's role perfectly.
@ngel said:
I know that this is a Windows-only tutorial, and thanks for sharing.
However, when dealing with Android and its (advanced) aspects is always a good thing to have a Linux OS handy: in this case, having native access to the sdcard's ext partition, one can simply copy/paste its contents making the whole process a matter of seconds. Moreover, the gparted utility that ships with most Linux distributions can play the Easeus Partition Manager's role perfectly.
Click to expand...
Click to collapse
Personally, I wouldn't want to copy and paste the data within an ext partition. nandroid will do a better job of that i feel,
However, Gparted would definitely be my weapon of choice. In my professional experience, windows based partition managers have never been great at handling alien file systems
About the pratition softwares please also add information about GParted, Partition Wizard, etc.
Those are similar freewares just like the one posted.
EASEUS Partition Manager didn't do the trick for me, but Parted Magic did.
Wrote another tutorial myself: http://www.everythinghtcdesire.com/tutorials/how-to-partition-your-microsd-card-for-app-storage
Svennetjee said:
EASEUS Partition Manager didn't do the trick for me, but Parted Magic did.
Wrote another tutorial myself: http://www.everythinghtcdesire.com/tutorials/how-to-partition-your-microsd-card-for-app-storage
Click to expand...
Click to collapse
Easeus will work but you need to create the partitions exactly as mentioned in the tutorial. If you create the EXT3 partition before the FAT32 partition it won't work. I learnt it by trial and error
Perhaps the biggest advantage of using Easues is that one does not need to burn a CD and then boot from it. I hate booting off my current work envoirnment just to partition an sd card.
This was the quickest and easiest way I found which worked for me. People who are more tech savvy can use Gparted or whatever.
aaa said:
About the pratition softwares please also add information about GParted, Partition Wizard, etc.
Those are similar freewares just like the one posted.
Click to expand...
Click to collapse
See reply above.
No need to reserve the last portion for linux swap? Just only two partition (FAT32 & EXT3)?
Great .... ! But i have one question...2GB for android .. is it possible ? Or 1gb is really enough ?
yuna75 said:
No need to reserve the last portion for linux swap? Just only two partition (FAT32 & EXT3)?
Click to expand...
Click to collapse
I am not quallified to answer that question. But in my day-to-day workings, I have no troubles after formatting the card as above.
ta. cs
Oggy972 said:
Great .... ! But i have one question...2GB for android .. is it possible ? Or 1gb is really enough ?
Click to expand...
Click to collapse
2gb. I don't see any issues.
1 gb -- Yes, it is possible only if you want to run older versions of many ROMs. If you intend to run DHD ports then I don't recommened it.
aaa said:
About the pratition softwares please also add information about GParted, Partition Wizard, etc.
Those are similar freewares just like the one posted.
Click to expand...
Click to collapse
Information added about two new freeware software. See updated original post. ta.
celestialspring said:
Easeus will work but you need to create the partitions exactly as mentioned in the tutorial. If you create the EXT3 partition before the FAT32 partition it won't work. I learnt it by trial and error
Perhaps the biggest advantage of using Easues is that one does not need to burn a CD and then boot from it. I hate booting off my current work envoirnment just to partition an sd card.
This was the quickest and easiest way I found which worked for me. People who are more tech savvy can use Gparted or whatever.
Click to expand...
Click to collapse
Afternoon all.
My 4GB card is full. I'm running a rooted Desire, S-off with Amon-Ra recovery. My PC is running Linux. I want to swap to a bigger card. I'm fine with partioning the new card with G-Parted, and also cool with copying the data between FAT32 partitions.
I'm not so sure I know what I'm doing with the ext4 partition. Will Amon-Ra Nandroid backup and restore do the whole contents of the ext4 partition? So does the process go a bit like this:
nandroid backup
copy FAT32 partition to PC
partition new card
copy FAT 32 data from PC to new card
take the old card out and put the new one in
boot into recovery
nandroid restore
reboot
Have i got that right, or have I misunderstood something?
That's correct.
Sent from my A7710 using Tapatalk 2
Trogladyte said:
Afternoon all.
My 4GB card is full. I'm running a rooted Desire, S-off with Amon-Ra recovery. My PC is running Linux. I want to swap to a bigger card. I'm fine with partioning the new card with G-Parted, and also cool with copying the data between FAT32 partitions.
I'm not so sure I know what I'm doing with the ext4 partition. Will Amon-Ra Nandroid backup and restore do the whole contents of the ext4 partition? So does the process go a bit like this:
nandroid backup
copy FAT32 partition to PC
partition new card
copy FAT 32 data from PC to new card
take the old card out and put the new one in
boot into recovery
nandroid restore
reboot
Have i got that right, or have I misunderstood something?
Click to expand...
Click to collapse
Just use 4ext recovery, waay better in every way and much more features. U can partition ur new sdard with it to (guide in my sig)
Using 4ext recovery to backup, simply go to
Backup/restore
Backup
Then copy "clockworkmod" folder to pc
Then once uv partitioned ur new sdcard, copy the clockworkmod folder back to new sdcard and in recovery go to
Backup/restore
Restore
Job done
CWM doesn't play with this phone, so I'm using Amon Ra
I just tried the process with Gparted as set out above, and it doesn't seem to have worked. Lots of apps are missing, I don't have the ext4 partition available, and no account details are loaded.
---------- Post added at 03:49 PM ---------- Previous post was at 03:45 PM ----------
And I also can't boot into recovery - it just boots normally
---------- Post added at 04:04 PM ---------- Previous post was at 03:49 PM ----------
Took the battery out, and put the old SD card back in and miracualously I can now get into recovery. Did a Nand resore but the screen is now flashing white every few seconds. What the hell?

need urgent help with partition

Dear Friends!!!
I have puchased a memory stick micro sd 32 gb for my LWW.
I've tried several times to partition it with two primary partition. One Fat32 primary partition about 30 gb, and the other primary partition about 1 gb. I've tried to use for the second partition Ext. 2, 3 and 4, but when I play "Aply" , the mini partition wizard creats it with non free space on the second partition.
I can´t understand what is going on with it. I formatted the microsd several times and the result is always the same, no free space on the ssecond partition.
I've tried to use Easus too, the result is the same. I've tried to make 3 partition, the 3rd. one Linux swap, about 32mb. Same result, non free space on second partition.
I need your help, I am worried about buying another and having the same problems. Please, please, help me please.: Llorando:
eli_porto said:
Dear Friends!!!
I have puchased a memory stick micro sd 32 gb for my LWW.
I've tried several times to partition it with two primary partition. One Fat32 primary partition about 30 gb, and the other primary partition about 1 gb. I've tried to use for the second partition Ext. 2, 3 and 4, but when I play "Aply" , the mini partition wizard creats it with non free space on the second partition.
I can´t understand what is going on with it. I formatted the microsd several times and the result is always the same, no free space on the ssecond partition.
I've tried to use Easus too, the result is the same. I've tried to make 3 partition, the 3rd. one Linux swap, about 32mb. Same result, non free space on second partition.
I need your help, I am worried about buying another and having the same problems. Please, please, help me please.: Llorando:
Click to expand...
Click to collapse
With which partition manager did you format the card and have you tried to partition the card with a computer?
eli_porto said:
Dear Friends!!!
I have puchased a memory stick micro sd 32 gb for my LWW.
I've tried several times to partition it with two primary partition. One Fat32 primary partition about 30 gb, and the other primary partition about 1 gb. I've tried to use for the second partition Ext. 2, 3 and 4, but when I play "Aply" , the mini partition wizard creats it with non free space on the second partition.
I can´t understand what is going on with it. I formatted the microsd several times and the result is always the same, no free space on the ssecond partition.
I've tried to use Easus too, the result is the same. I've tried to make 3 partition, the 3rd. one Linux swap, about 32mb. Same result, non free space on second partition.
I need your help, I am worried about buying another and having the same problems. Please, please, help me please.: Llorando:
Click to expand...
Click to collapse
if you're willing to use a computer I would recommend Paragon Partition Manager (for Windows), or gparted (for mac).
Although I haven't created or used more than one partition on an sd card, I would recommend changing to see if the partition is mounted. It could be that it has 0MB because it is not mounted.
Hope this helps.
I always use MiniTool® Partition Wizard Home Edition (http://www.partitionwizard.com/download.html) to do partitioning, and have had no problems with it. Creating ext2/3 partiotions on windows can be tricky however. There is a possibility that it is created alright, but that your partition manager just says that the space is not free.
Did you check if it works on your phone and if you can see if the partition has free space on your phone (check for example with rootexplorer)? You can also just try a script and see if it works. I recommend the d2ext+ script from here.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
this is what I'm trying to do
this is what I get
Man it has been a long time since I used that program but IIRC you can only have 1 Primary partition. I think the others need to be set to Logic.
When I get home tonight, I'll boot it up and see if I can find anything that you might be missing. Seems like it should be a small little drop down or tick. From your screenies, it looks like it is set up correctly but I'll look at it when I get home from work and post some thoughts.
eli_porto said:
View attachment 1260726
this is what I'm trying to do
View attachment 1260728
this is what I get
Click to expand...
Click to collapse
Could it be that you are not setting the partition type correctly? If you set up a new partition it should look like this:
So, file system ext3/4, primary partition.
Woodrube said:
Man it has been a long time since I used that program but IIRC you can only have 1 Primary partition. I think the others need to be set to Logic.
Click to expand...
Click to collapse
This is incorrect, you can have 4 primary partitions, so there's no need to set them up as logical.
eli_porto said:
View attachment 1260726
this is what I'm trying to do
View attachment 1260728
this is what I get
Click to expand...
Click to collapse
Can your Windows version read ext4 partitions? That could be a clue as to why it can't read/mount the new partition.
I would also like to suggest to make one partition primary and the other one logical just to be one the safe side.

[Solved] Error Mounting SD card i9000

Solution: #page2
Phone model: Galaxy S i9000
OS installed: Slim ICS 4.2
CWM: 6.0.0.1
i was just browsing my phone today when it suddenly switched off upon rebooting it, it threw me the following error
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
i browsed the forums and bumped on this thread
Error mounting SDcard in CWM
a direct quote of the solution provided there
spectre85 said:
OK so that was the problem, the data partition was encrypted (now that I think of this it makes sense that it wouldn't mount) anyways, for whatever reason a factory reset from android wouldn't work. I removed the "recovery-from-boot.p" file from my system folder originally so the CWM image would remain in tact.
anyways, I flashed the original recovery over the CWM recovery, preformed a factory wipe (which is the only way to decrypt your phone) then flashed CWM back on and now I can mount the data partition
what a pain in the ass, guess I wont be encrypting the phone any time soon, I wish there was an option to decrypt the drive and then get into recovery....wouldn't have this issue.
Click to expand...
Click to collapse
i couldnt find any such file in /system
lucky enough somehow the AROMA Filemanager seems to be working and i used it to browse my folders. my /sdcard, emmc & config folders shows 0 files in it
theres adb(46kb) in /system/bin
but funny enough i noticed one file which didnt make any sense to me
any solutions?
so far i cant mount my sdcard
I suppose you already tried rebooting it and or hard resetting it?
nothing seems to be working since i cant mount SD card there is no question of resetting anything
Just ODIN Stock JW4 ROM and then go about with the usuals.
Flash stock with pit and repartition...
via SGS
done that already doesnt work the sdcard isnt mounting only
Error mounting /sdcard
E: failed to mount /sdcard( no such directory or file exists)
EDIT: reflashed again
this is what i get, the text in red is the error
View attachment 1583876
Text in Red:
E: failed to mount /sdcard (file exists)
E: copy_dbdata_media: Cant mount /sdcard, your storage not prepared yet please use UI menu for format and reboot actions.
---wiping data
formatting /data
E:format_volume rfs format failed inon /dev/block/mmcblk0p2
datawipe failed
whatever i do doesnt seem to help and if it doesnt decrypt i am sitting ducks, the /sdcard is simply not mounting.
Logcat
i have posted the logcat here
http://pastebin.com/CxkyG4Bg
the mount command in adb shows the following
bump....
bump.... pls help
ok after some really ****ty events i finally got this screen
i still cant mount /sdcard or /data
kamikaze_in said:
ok after some really ****ty events i finally got this screen
View attachment 1588478
i still cant mount /sdcard or /data
Click to expand...
Click to collapse
Did you really try Odin with correct PIT & repartition with a 3-package firmware? Because that should completely wipe and reformat your phone. The only thing not formatted is /sdcard. But you should be able to format /sdcard from recovery after flashing with Odin.
heres the screenshot of the files i used
kasper_h said:
Did you really try Odin with correct PIT & repartition with a 3-package firmware? Because that should completely wipe and reformat your phone. The only thing not formatted is /sdcard. But you should be able to format /sdcard from recovery after flashing with Odin.
Click to expand...
Click to collapse
also please ignore that earlier post by mistake i ran adb on my other phone :/
All the required files i got from this thread
A.I.O Rescue & Recover
Todays Logcat
http://pastebin.com/xPrBLw3A
But did you already try formatting /sdcard from recovery after flashing the rom with Odin?
this is what i do after flashing 2.3.6 stock rom, i rooted it, then in recovery went to mounts and storage menu and selected format /sdcard
it throws me an error E:failed to mount /sdcard (no such file or directory)
Error mounting /sdcard
Skipping Format...
Done
i ran adb on my device, check this
i guess i will have to take the path i wanted to avoid....use an external sdcard for installing new ROM... :/
got a video link made by fteller on the same error Samsung i9000 mmcblk0p2 error recovery
will post updates whether it worked or not... fingers crossed
kamikaze_in said:
i guess i will have to take the path i wanted to avoid....use an external sdcard for installing new ROM... :/
got a video link made by fteller on the same error Samsung i9000 mmcblk0p2 error recovery
will post updates whether it worked or not... fingers crossed
Click to expand...
Click to collapse
Good luck, I don't know what else you could do...
Verstuurd van mijn GT-I9000
Finally!!!!
Finally....
The problems i have faced with SGS since upgrade to ICS, i think i can now direct a movie on it "SGS - The Unexpected Journey" who knows some SGS fans might actually love it. Anyways firstly there's credits to be distributed
@CheekyLord: thanks for all the references and suggestions, i didn't know about that dbdata.rfs thanks for letting me know about that and also treating my phone issues as your own
@kasper_h: thanks for all your input and help
@fteller: thanks for making a high quality video so as i can atleast show what i was facing plus for your solutions
Now the real deal, for those having SGS and facing a corrupt internal SDcard can view the video created by fteller here
he has used linux to format the microsd card in my case i used windows app which i will reveal after a recap of my issue.
Firstly a Recap
one fine day while browsing, my phone suddenly switched off, when i turned it on it threw me the dreaded error
after which i didn't know what to do so i simply resetted it and from there on my worst nightmares became a reality, my phone wont boot and simply threw the errors in recovery "error mounting sdcard".
what happened from there on is very much visible in my first post and also the efforts of people credited above in helping me get rid of the problem.
In the video the partitioning is done via linux, so for those who want a windows solutions for formatting and partitioning your sd cards read on
Tools needed
1) MiniTool Partition Wizard Home Edition
2) a Micro SD card 8GB (class 6) or better
3) All in one SD card reader
4) a semi bricked phone like mine
Install the application and connect your Micro SD card via the card reader to your PC
Right click on your SD card drive and click on split, then create a partition of 2048MB as shown in the pic
Right click on the newly created 2GB partition and select format. choose ext4 as shown in the pic
Again right click on it and select modify set partition as primary as highlighted in the pic.
After making the changes make sure that BOTH the partitions are primary and 1 partition is FAT32 while the other is ext4, Click on Apply to initiate formatting and partitioning of your SD card as shown in the pic
when the task is completed it will show the following
Now insert your new SD card in SGS and re flash GB 2.3.6 via ODIN then root it via ODIN.. enjoy note: to continue with ICS you can follow the rest of the video, and if during the tutorial ADB commands and SU is not working for you in replacing "vold.fstab" from emmc to /system/etc and vice versa read on for another workaround
1) Once ICS is installed go to market and download SU and busybox, make sure your binaries are up 2 date.
2) download ES file manager from market
3) open ES file manager> setting>root settings
make sure these options are ticked
4) now browse to /emmc and press and hold vold.fstab and open as text file
make the neccessary changes as shown in the video, then simply copy that file and replace the one in /system/etc, it will throw a pop up "do you wish to overwrite" select yes and reboot your phone
voila now your /sdcard is /emmc
updating my phone to custom ICS roms has been a more of a bane than boon so i would suggest for the tutorial purpose go with the official AOKP ROM, also i was unable to get a thread where i can actually recover my internal SD card so your ROM will be forever synced with SD card, the encryption was a part of ICS build from scratch, Read here to know more about it.
the only conclusive reason i could furnish as to why it happened with my device was that maybe due to the work i was executing on my phone when the charge was extremely low.
here is a direct quote from that article
From the UI, the user selects to encrypt the device. The UI ensures that there is a full charge on the battery, and the AC adapter is plugged in. It does this to make sure there is enough power to finish the encryption process, because if the device runs out of power and shuts down before it has finished encrypting, file data is left in a partially encrypted state, and the device must be factory reset (and all data lost).
Click to expand...
Click to collapse
since we have APP2SD for most applications i guess that's what triggered this issue, the encryption process didn't complete due to lack of power
so guys don't browse or play on your SGS powered by ICS or JB when your power is extremely low
caio till next time
Note: just for GAGS you can reproduce the "Encryption unsuccessful" error by simply removing your microSD/SDHC/SDXC card and start the phone :laugh:
Great you got it solved, and that you also made a nice tutorial for potential future people suffering from the same issue!
nice tutorial

Categories

Resources