Need Help With Creating Fat32/EXT Partition - G1 Android Development

Ok I used Paragon 9 to create the 2 partitions one is 5.8 fat 32 and the other is EXT2 1.5. For some reason whenever I mount the sdcard it's not showing up in my computer as a drive, also when I go in terminal emulator I am not seeing it when I type the busybox command any clues? I am on H5. I am using H5.0.1

Ok I used paragon 9 to delete both partitions now my sd card isn't showing up in my computer but it shows up in paragon. Help

I got Paragon Partition Manager and think I might have it working.

chief2842 said:
Ok I used paragon 9 to delete both partitions now my sd card isn't showing up in my computer but it shows up in paragon. Help
Click to expand...
Click to collapse
i had the same problem. i just reformatted the sdcard to fat32 (using paragon), after i did that i made a partition and formatted that to ext2. hope that helps you out

I ran Suselinux ( you can download and run directly from CD without changing your computer) and ran their partition program and it work perfectly.

you should make fat the first partition, and ext2 the second.

Thanks everyone for the help, but I figured it out when I partitioned I forgot to rename the volume so that it could be seen in my computer.

Related

How to back up the ext2 partion on sd card?

Hi,
I have sucessfully moved my apps and caches to my 1.6gb ext2 partiton on my 8gb sd card.
I would like to back up the ext2 partition in case my sdcard fails.
How do I do this in windows xp?
Thanks
I'd love to find out how to do something similar. I just got an 8 GB card that I'd like to replace my 2 GB card with, basically, I'd like to clone the whole thing over.
Anyone have any ideas? I can do XP or Linux, just curious what software would be able to do the best job of replicating the card from one to the other.
Attach the card to your computer with an adapter (not the phone as it will be mounted by android). Download and install ext2ifs from here. You will now be able to see the files on the ext2 partition and can copy/paste them to where ever you would like.
Thanks, but I've had no luck with ext2ifs and memory cards. They even address it in their troubleshooting section:
I have a device with a removable media, for example a USB memory stick, a Compact Flash Card, a magneto-optical drive etc., which has a partitioned format and has more than one partition. When I insert that media, a drive letter appears for the first partition, but not for all the remaining partitions of the media. When I open "IFS Drives" of the control panel, the considered device appears as a hard disk drive, but there is no partitioning scheme shown for it. How can I create drive letters for the remaining partitions of that removable media? (USB hard disk drives are not affected.)
There is an unsatisfactory answer only: it is not possible.
Windows creates (and deletes) all the drive letters for pure removable devices or removable medias itself. Because the Ext2 IFS software need not to create them, it intentionally does not show any partition scheme for that drive.
Windows creates a drive letter for the first partition of the considered media, but not for the remaining ones. (Windows NT4, 2000 and even XP behave the same way in that regard).
You will run into the same problem if you have a removable media partitioned with two partitions of the FAT type on a computer, which has not installed the Ext2 IFS software! So there is one straight advice only: do not use removable media with more than one partition with Windows.
I'm guessing (someone else could correct if wrong) that if I were to just do the basic copy from one card to another - that would suffice?
If I just took the card, created two partitions (FAT32 and EXT2FS) on the larger card, then copied over all the files in both - that would work just fine?
Strange, I've never experienced any issues with ext2ifs, but yes a simple copy paste of both partitions has been all i needed. Just make sure to copy any hidden files as well.
Can we back it up using Ubuntu Live CD and just upload them to a new sd cards ext2 partition?
yes, but you would need multiple card readers.
andonnguyen said:
yes, but you would need multiple card readers.
Click to expand...
Click to collapse
Why can't you save it to the hard drive, replace the sd card, access the ext2 partition and upload the files that you backed up?
Although I'm not very familiar with Ubuntu, when I tried it last time it didn't even allow me to have access to the app and app-private folders within the partition.
What do I need to do to be able to back it up to the hard drive so I can try to upload it to another SD?
Hi,
Thanks for the suggestion.
But when I installed the driver, I can still see just the fat32 partition not the ext2 partition.
I am using a sdhc usb card reader so it is not connected to the g1.
It is like the ext2 partition does not exist through windows xp.
But when I put the card back in the g1 the files are taking up space through ternminal emulator. So the ext2 partiton does exist but still not accessable through windows.
Any other ideas?
jsunkist146 said:
Attach the card to your computer with an adapter (not the phone as it will be mounted by android). Download and install ext2ifs from here. You will now be able to see the files on the ext2 partition and can copy/paste them to where ever you would like.
Click to expand...
Click to collapse
bestwebs said:
Hi,
Thanks for the suggestion.
But when I installed the driver, I can still see just the fat32 partition not the ext2 partition.
I am using a sdhc usb card reader so it is not connected to the g1.
It is like the ext2 partition does not exist through windows xp.
But when I put the card back in the g1 the files are taking up space through ternminal emulator. So the ext2 partiton does exist but still not accessable through windows.
Any other ideas?
Click to expand...
Click to collapse
what comes up when you use
"busybox df -h" in the terminal emulator?
make sure you see something like "/dev/mmcblk0p2 (partition size) (used) (available) (used %) "/system/sd"
If not then that's the problem.
Hi,
In my phone , I do have that ext2 line /dev/mmcblk0p2
size 1.4gb - used 49 meg - free 1.3 gb
sdcard line /dev/mmcblk0p1
size 6.2 gb - used 5.2gb - free 981 meg
Thanks for the reply.
Binary100100 said:
what comes up when you use
"busybox df -h" in the terminal emulator?
make sure you see something like "/dev/mmcblk0p2 (partition size) (used) (available) (used %) "/system/sd"
If not then that's the problem.
Click to expand...
Click to collapse
If you're on Linux it is trivial to get the files off, if you'd like to make an exact image you can use the dd command. I suggest grabbing a live CD, as it will be a much easier process than making windows see ext partitions.
crater said:
If you're on Linux it is trivial to get the files off, if you'd like to make an exact image you can use the dd command. I suggest grabbing a live CD, as it will be a much easier process than making windows see ext partitions.
Click to expand...
Click to collapse
I have the Live CD, but can you elaborate on the "dd command" exactly. I'm a Linux noob and wouldn't mind backing up the partition. Last time I tried, I couldn't even get permissions to open the files no less copy them.
Thanks.
Insert the two SD cards into USB SDHC card readers. Launch the free MiniTool Partition Wizard program. Copy the ext2 partition you want to transfer on the first SD card to an unallocated area on the second SD card. MiniTool Partition Wizard under Windows does "see" multiple partitions on a USB drive even though Windows doesn't assign letters to those drives and they are invisible in Windows Explorer.
To increase the size of the ext2 partition on either SD card, use the Linux program GParted. Boot up with the GParted Live CD/USB iso file. Run GParted to resize the ext2 partition. (MiniTool Partition Wizard can move but not resize an ext2 partition.)

Sd card

I have a sd card. i partitioned it using paragon partition manager mounting sd card thru phone. THen moved apps2sd and then decide to delete partition. So i being unable to delete the partition used windows own partition management to delete all the partitions. Then i decided to again partitions the card. Now i can't. Paragon partition manager can't do it. Used the sd split(ques- do we need an empty card for that). My phone storage went to 0 mb. Can anybody help me to again partition it. I really need it with haykuro's 5.02 H as it has only 43 mb free space. Please!!! Help.
Thanks for reading and now please do something
charnsingh_online said:
I have a sd card. i partitioned it using paragon partition manager mounting sd card thru phone. THen moved apps2sd and then decide to delete partition. So i being unable to delete the partition used windows own partition management to delete all the partitions. Then i decided to again partitions the card. Now i can't. Paragon partition manager can't do it. Used the sd split(ques- do we need an empty card for that). My phone storage went to 0 mb. Can anybody help me to again partition it. I really need it with haykuro's 5.02 H as it has only 43 mb free space. Please!!! Help.
Thanks for reading and now please do something
Click to expand...
Click to collapse
I haven't used paragon before but I would suggest using gparted through an ubuntu(or some other linux distro) live cd. Basically you download the cd image, burn it onto a cd, restart your computer with the cd in and it'll bring up a little menu that gives you the option to start up in ubuntu off the cd. Then go to System->(can't remember, but it's the second option)->Partition Editor. It has a nice gui and you just choose the last device listed which should be your sd card(check the size to make sure!) and you can create new partitions. Making an ext2 partition correctly in windows is a tad... difficult.
EDIT: actually, you can just use this:http://gparted.sourceforge.net/livecd.php
Help
Can u please help me use it. I have portable ubuntu and now this. Can u provide step by step instructions or atleast give a hint to use it

[Q] how can i see my sd card partitions...?

hi,
i made partitions by using clockwork 3.0, i select 1 gb when it ask first, and 512 mb for swap. However, i dont know if this 1 gb partition is ext2 or ext3 or somehing else...
how can i see my sd card partitions...?
thanks....
polatkanfatih said:
hi,
i made partitions by using clockwork 3.0, i select 1 gb when it ask first, and 512 mb for swap. However, i dont know if this 1 gb partition is ext2 or ext3 or somehing else...
how can i see my sd card partitions...?
thanks....
Click to expand...
Click to collapse
Hi polatkanfatih,
You can't directly access the ext2 partition in Windows. Basically ext2 is a linux partiton. But still there are some 3rd party softwares available in the market which adds ext2 abilities to windows Operating System.
As per what you have written, i understood that you used Clockwork 3.0 for partitioning your SD card.Personally i don't know about clockwire.
Instead i'm using ''MiniTool Partition Wizard Home Edition 5.2'' which you can download for free from the MiniTool website.The software is pretty easy to use.With this software you can see the partitons you have created(including ext2).You can't access the files inside the partion, but you can format any partition using MiniTool.
Hope this helps........
that program doesnt make that work.
i need some adb code or somthing else to see how my sd card partitioned, how many partition are there and their sizes?
have you tried typing
Code:
mount
in terminal emulator or adb shell? That should give you a listing of all mounted partitions...
i made it with 'parted' adb command.
thanks..
i didn't undestand but still reading

[Q] leedroid please help!! problems with 3.0 gb

to lee droid hello.
i am a "silent admirer". i have a rooted desire and i use only leedroid roms for more then a year. as always i never had any problems with any of the roms and install them all without wipe at all.
about a month ago i installes v. 2.3.
today i saw the thread about the new version 3.0 gb and downloaded the following files: 1. 3.0 gb leedroid rom.
2. the new radio ...56....
3. the ext3 file.
after downloading i checked the md5 of the first two files and found it OK.
i backed up my 16 gb sd and tried to install the 3.0 tom via rom manager.
the thing is that i believe that the rom was install OK but the rom did not go up and my desire got stuck with the dumb green "htc".
thereafter i restored the system which went well and tried again - this time with file and cach wipe.
again - all seems to go well but did not load.
tried to install the ext3 file - went ok but did not load.
from that moment i got really worried but nothing i tried (deleating the sd card and copying from backup) or thought i know didnt work and now i am the proud owner of stupid green "htc" screen.
please help
erezinna
p.s. i couldt read all the 53 pages of your thread so if anybody already got an answer - please send me there.
I had this same issue.
It seems that although I originally partitioned my SD card as ext3 at some point without me knowing the partition got changed to ext4 I really can't explain how as I never messed with partitions after I initially set them up.
if the EXT3 fix is not working for you try booting into gparted and checking the partition there. as soon as I did that and realized it had been changed to ext4 I deleted the partition and made a new ext3 patition and it worked flawlessly after that.
"try booting into gparted and checking the partition there"
where? when? who?
can you you be more gentle? i booted milion times and never heard of "gpart" (it is a secret socaity)?
it's a live cd that you boot into on your PC to partition the SD card with a ext3 partition.
just google gparted live cd
You need to verify that the second partition on your sd card is in fact ext3 or leedriod will not load
i have to burn it or ghost-burn it or just download it and transfer to my desire?
like i said in my previous post you need to boot into on your PC.
I have to ask how did you originaly partition your SD card?
dear larkspeed:
i did all you have suggested but the gparted (or the regular win 7) was unable to recognize the sd card at all.
i did recognize all the other harddisks on my computer. it is probably because of the ext4 and now i cannot delete it. (also i hardly can operate the phone - only basic functions).
what sould i do now?
Windows will not see ext4 at all but it will see the partition itself so you can delete and remake it.
Gparted should have seen it just fine and let you reformat it to ext3
However if neither windows or gparted can see the partitions on the card then it's very possible the card itself has a fault.
Stupid question but when you loaded gparted you did use the drop down in the upper right corner of the window to actually select your sd card right?
if not then you were looking at primary hard drive only
yes i did several times. you have to move with "tab" and keboard because the mouse does not work there.
if the sd card have a fault, should i format it or erase it totally or something?
if you are totaly sure you have a ext partition on that card you will need to delete that partition either with windows **** manager or gparted
if you just format the card it will only format the partition it can see which will be the fat32 partition.
Now I assume you are putting the micro sd into some kind of adapter to plug it into the PC.
Now I have 2 options for this a USB stick that the micro sd plugs into or a micro sd to sd adapter plugged into an internal card reader which plugs into a USB header on my motherboard.
both of these systems work fine for me.
if gparted is not seeing the card at all then I would think whatever system you are using to plug the card into your PC is not supported.
I have to ask when you plug the card in when in windows what size does it say the "removable drive" is?
1. i gparted the sd card into main fat 32 partition about 12 gb and 1.6 gb ext3 partition
2. i cloesd the program after compleating that and the device informed me that the sd card is damaged and needs formating
3. i formated it and moved the leedroid 3.0.
4. it refused to go into recovery because lacking .update.zip file so i copied that too.
5. i installed the 3.0 but i won't go.
6. what to do? give it up?
all I can suggest is to try a different SD card and see if it works then.

[Q] Is fat32 the only filesystem supported for microsd?

I tried formatting to ext4 and the phone did not recognize the card. Just wondered if anyone else had sucessfully tried any other filesystems?
Right now 64GB microsd's seem to be the best deal and name brand versions can be found as cheap as $20-25 where 128gb cards will still cost you $70+ and usually involve rebates at the lower end prices.
Exfat and fat32. I have mine formatted to fat32.
Sent from my Alcatel OneTouch Idol 3 using Tapatalk
Applications that can write to SD card can only write to a SD card format to FAT 32. The system file manager can write to Exfat, but that's it.
Still not all apps will have permissions. I can't get Utorrent to save to the ext sd for anything
Sent from my 6045I using XDA Free mobile app
jvs60 said:
Still not all apps will have permissions. I can't get Utorrent to save to the ext sd for anything
Sent from my 6045I using XDA Free mobile app
Click to expand...
Click to collapse
Syncthing is the same way...you should still be able to use the kitkat workaround though which is to save your files to a folder under the android\data\<appname> folder on the sdcard since each app has access to it's own data area.
I never knew about this workaround. So i create the folders on my ext sd card?
Sent from my 6045I using XDA Free mobile app
jvs60 said:
I never knew about this workaround. So i create the folders on my ext sd card?
Sent from my 6045I using XDA Free mobile app
Click to expand...
Click to collapse
Try this: http://www.instructables.com/id/How-to-bypass-Android-44-KitKat-external-SD-write-/
damn... i'll try that
how come the sdcard can't be used for anything
camera 360 can't use it to save, there's no option to choose applications installation on sdcard ect.
had to use link2sd to move almost all my apps without error
seriously now...
keyra74 said:
damn... i'll try that
how come the sdcard can't be used for anything
camera 360 can't use it to save, there's no option to choose applications installation on sdcard ect.
had to use link2sd to move almost all my apps without error
seriously now...
Click to expand...
Click to collapse
It can be used if you are rooted...requires adding a line to platform.xml. If you find the thread about what camera software to use I posted some instructions on how to fix it where 3rd party's can use the external sd...or you can google on "platform.xml android external sd".
http://forum.xda-developers.com/showpost.php?p=62100041&postcount=37
famewolf said:
It can be used if you are rooted...requires adding a line to platform.xml. If you find the thread about what camera software to use I posted some instructions on how to fix it where 3rd party's can use the external sd...or you can google on "platform.xml android external sd".
http://forum.xda-developers.com/showpost.php?p=62100041&postcount=37
Click to expand...
Click to collapse
thx i used the goold old sdfix app. it's normally for kitkat and we have to use some trick like that on lollipop bad alcatel bad
keyra74 said:
thx i used the goold old sdfix app. it's normally for kitkat and we have to use some trick like that on lollipop bad alcatel bad
Click to expand...
Click to collapse
Blame google, not Alcatel. The external sd card issue is due to Lollipop..
That app makes the same change...you can uninstall it after it modifies the file. Simpler for me to just edit the file and push the change.
I'm on exfat on a 64gb. Works fine.
The 200gb I had in my g3 worked just fine.
Just realized the card cost more than this phone...
scatoclysm said:
I'm on exfat on a 64gb. Works fine.
Click to expand...
Click to collapse
+1
My 32 gb HDSC card came formatted with FAT32. I preferred ExFAT, so I reformatted the card using Disk Utility on my Mac. The Icon 3 didn't recognize it until I reformatted back to FAT32. Maybe I should have tried formatting it on a Windows machine. I may try a 64 GB HDXC card that probably comes formatted with ExFAT.
maigre said:
My 32 gb HDSC card came formatted with FAT32. I preferred ExFAT, so I reformatted the card using Disk Utility on my Mac. The Icon 3 didn't recognize it until I reformatted back to FAT32. Maybe I should have tried formatting it on a Windows machine. I may try a 64 GB HDXC card that probably comes formatted with ExFAT.
Click to expand...
Click to collapse
Really not much of a benefit to exfat over fat32...especially if you set cluster size when formatting. I also read about some folks having permission issues writing to the exfat till they reformatted. The samsung 128GB I put in my idol3 worked like a champ.
NooB....Thank Google lollypop for sdcard problems. U can write to sdcard with some apps not all if the code is written for this.
It seems TWRP doesn't recognise exfat partitions if the sdcard doesn't contain a partition table (GPT works, I haven't tried old-style msdos partition table).
This could be partly explained by the fact that, without a partition table, the external sdcard is called /dev/block/mmcblk1 instead of /dev/block/mmcblk1p1
To put it another way, if you want your sd card to be both readable when the phone is normally booted AND when it's booted into TWRP, you have to make a GPT table on the sdcard, and create an exfat partition inside.
=> In windows, it just fell into place after messing around with it for a bit. Your mileage will vary, depending on if you had an msdos partition table, a pre-existing GPT partition table (easiest) or no partition table at all. I gave up trying to figure it out.
=> Under TWRP adb shell, using the image containing gdisk, I did it this way (data-destructive operation !) :
- Use gdisk to create a new GPT table on /dev/block/mmcblk1 (or /dev/sdX outside from adb shell)
- Also with gdisk, create a new partition (types 8300 or 0700 should do) on the device targeted previously
- Then, exit gdisk and use "mkfs.exfat -n extsd /dev/block/mmcblk1p1" (or /dev/sdX1 if you didn't do it from TWRP adb shell) to reformat the partition created previously to exfat format.
However => do NOT use mkfs.exfat command on the /dev/block/mmcblk1 device (or /dev/sdX), else you'll have to redo step 1 again
Also, under adb shell, make sure you don't accidentally wipe /dev/block/mmcblk0 device, else you'll brick your phone !
I hope this helps a few people
DarkZell666 said:
It seems TWRP doesn't recognise exfat partitions if the sdcard doesn't contain a partition table (GPT works, I haven't tried old-style msdos partition table).
This could be partly explained by the fact that, without a partition table, the external sdcard is called /dev/block/mmcblk1 instead of /dev/block/mmcblk1p1
To put it another way, if you want your sd card to be both readable when the phone is normally booted AND when it's booted into TWRP, you have to make a GPT table on the sdcard, and create an exfat partition inside.
=> In windows, it just fell into place after messing around with it for a bit. Your mileage will vary, depending on if you had an msdos partition table, a pre-existing GPT partition table (easiest) or no partition table at all. I gave up trying to figure it out.
=> Under TWRP adb shell, using the image containing gdisk, I did it this way (data-destructive operation !) :
- Use gdisk to create a new GPT table on /dev/block/mmcblk1 (or /dev/sdX outside from adb shell)
- Also with gdisk, create a new partition (types 8300 or 0700 should do) on the device targeted previously
- Then, exit gdisk and use "mkfs.exfat -n extsd /dev/block/mmcblk1p1" (or /dev/sdX1 if you didn't do it from TWRP adb shell) to reformat the partition created previously to exfat format.
However => do NOT use mkfs.exfat command on the /dev/block/mmcblk1 device (or /dev/sdX), else you'll have to redo step 1 again
Also, under adb shell, make sure you don't accidentally wipe /dev/block/mmcblk0 device, else you'll brick your phone !
I hope this helps a few people
Click to expand...
Click to collapse
Or just keep it formatted as fat32 and skip the above which was my choice.
Just my two cents - why would you want to format SD to ext4? Journaling filesystems don't work very well with flash drives, cells die much quicker.

Categories

Resources