Remove Partition from SD Card - Hero CDMA Q&A, Help & Troubleshooting

I have looked for this information but haven't found anything that seems very good. So I thought someone here might have know how to get this done.
I partitioned my SD card and since then my computer doesn't recognize it when I connect it through USB. Not sure if they are related but figure I can always partition it again.
I remember reading that formatting my SD card will not remove the partition. So what is a good way to get this done.
Thanks in advance

Gparted should help you do it. You will have to remove the partition and then reformat it. Just be very careful that you are working on the SD card and not your hdd... if you are familiar with linux, this should be pretty easy.

Use ROM Manager to Partion the SD card and change it back to a FAT32 partition.
That worked for me.

Just boot into recovery and choose format SD card if your using RA or Darchstar's recovery never used cwm so can't tell you that one good luck
Root-Hack-Mod-Always™

Related

[HELP]Apps/Data on SD: Switching to new SD card

Is it possible if I installed apps/data on SD card to switch to another card and install apps/data on it? I removed my current card and my phone stopped working. I will take help from anyone who has it.
if you want to, you should be able to copy everything to a backup folder and upload to another sd card. you need to do this in linux cause windows does not natively read ext2 partitions. shut down your phone, remove the micro sd card, put in your computer, copy everything to the backup folder, then re-partition your new (hopefully bigger) micro sd card. put back in the phone and boot it up. i have never tried this, but it should work, just as long as you have the ext2 partition the system can read from. good luck.
I agree fully with corp769. In addition, two important things to remember are:
* ext2 must be the second (primary) partition
* you must preserve UNIX access permissions by copying apps and data directories with cp -rp ! That's the reason apps on SD doesn't work without repartitioning.
* you must use a separate card reader, you cannot do this while the card is plugged into your G1. (Unless you can do some fancy mounting/unmounting stuff on the phone, that is. It's certainly easier and safer to use a card reader).
I too have never tried this, but it should work.
creid2352 said:
Is it possible if I installed apps/data on SD card to switch to another card and install apps/data on it? I removed my current card and my phone stopped working. I will take help from anyone who has it.
Click to expand...
Click to collapse
i did this on linux from a 2G card to a new 8G card .. my partitions are named so i utilize naming to distinguish one partition from the other:
make two folders on your linux desktop .. "SDD1" and "SDD2" .. the FAT32(sdd1) can be click-and-drag to the desktop folder .. the EXT2(sdd2) needs to be run inside Terminal to retain the permissions (unless someone know a better way)
ie: sudo cp -a /media/sdd2/* /home/LucidREM/Desktop/SDD2
then switch cards
ie: sudo cp -a /home/LucidREM/Desktop/SDD2/* /media/sdd2
obviously substitute your name for mine unless you call yourself "LucidREM"
In the exact same process when you have an error nfs :
In linux with the card reader
unmount both vfat and ext2 partitions and type :
fsck -p /dev/yourext2partition.
fsck.vfat -p /dev/yourfatpartition
that's how I manage to recover 2 MicroSD card
If you want to go the GUI route - go grab a copy of the GParted Live distribution. Put that on bootable media (whatever your case may be, USB or CD/DVD) then boot into GParted and use the GUI to copy and paste the partitions over. GParted will do a consistency check and fix any errors in both partitions first, then copy over into the new SD card.
Thanks a lot for the help everyone. I will give this a shot when I get home. Appreciate all the quick responses.
no prob man, just let us know if it works for you or not.
If you don't have linux, is there a program for windows or mac I can use to do this? Thanks
legaleye2005 said:
If you don't have linux, is there a program for windows or mac I can use to do this? Thanks
Click to expand...
Click to collapse
Yes download Wubi (which is like Linux in a box, and can be installed in like 10 minutes and ready to use and removed like a normal program) or download Paragon Partition Manager 9 Trial Version, it must be version 9 not 10. I recommend Wubi however, much easier, and who knows, you might fall in love with it like I did.
I tried the LucidREM instructions and it is looping on startup.
Is there a different way to do this?
Simplest Method
Just in case people still want to know how to change SD cards (ext partition and all), which I suspect will happen a lot since the 16GB cards are going to start dropping in price soon, here's the simplest and best way I know how to do it. I have done this a bunch of times without any issues. I've even used this to go from a G1 to a myTouch (with minor compatibility changes, of course). But simply changing/upgrading SD cards is a breeze.
First thing's first. You will need bart.sh which can be found here: http://forum.xda-developers.com/showthread.php?t=562292. If you are using a myTouch or simply don't want to bother typing commands, use Amon_RA's wonderful recovery menus with bart.sh already built in. The Nexus One version can be found here (http://forum.xda-developers.com/showthread.php?t=611829) but there are links to the recovery menus for the G1, myTouch, Hero, etc. on that page.
You will need to be familiar with how bart.sh works and this is way beyond this post. There is a ton of information on the bart.sh thread. So here are the steps that need to be done.
1) Run bart.sh, either in recovery console or via recovery menu, to backup your entire ext2/3/4 partition (as well as nandroid for simplicity).
2) Back up the fat32 portion of your SD card as you normally would by mounting your SD card to your computer. Make sure that this includes the new bart.sh backup which should be located in the bart folder in the root of you SD card.
3) Partition your new SD card using the method of your choice. Amon_RA's recovery menus have an easy and painless method for this but you can use parted or any other method you choose. If you use your device to partition your new SD card do NOT boot your phone after you partition the card. You will want to finish Step 4 first. Amon_RA's recovery allows you to mount your SD card from recovery to help you complete Step 4 if you do not have a SD card reader.
4) Using Amon_RA's recovery menu or an SD card reader copy the fat32 partition, which includes your bart.sh backup, from your PC to the fat32 partition of your newly partitioned SD card. From the recovery menu, restore your bart.sh backup.
5) Voila. You now have all of your partitions moved to a new SD card.
This process can be simplified into one sentence. Do a bart.sh backup and restore it to the new SD making sure the SD card has the proper partitions and that you don't forget about the fat32 partition. The above is just a list showing the proper order so that you don't lose any data during the process.

i think its a dead sd

okay 4gb sd card and messed up on partitioning it with the console from the g1 so now i cant mount it or format it so is it dead or can i fixc it>?
Alanrocks15 said:
okay 4gb sd card and messed up on partitioning it with the console from the g1 so now i cant mount it or format it so is it dead or can i fixc it>?
Click to expand...
Click to collapse
i have an 8g that randomly stopped working, g1 would not recognize it or my laptop. gave up on it. i decided last night to try formating it from recovery, i formated it with no swap or ext partitions. once that was done i put my 1g back in and put the 8g in my laptop to swap all files.
but id check this out first
http://store.lexar.com/imagerescue3/download.cfm
its a free sd card file recovery. do it before you put anything on the card after formating it. i had lost some stuff i think because i put everything on my card before recovering the files
good luck
how did u format it from the recovery?
Alanrocks15 said:
how did u format it from the recovery?
Click to expand...
Click to collapse
go to partition sd, then for swap and ext set to 0, and rest to fat32
oh i also am using RAs recovery, not sure if stock can do that.

[Q] Formatting Micro sd

hi, i've been trying to format my microsd card and partition it to fat32 and ext4.
i have used paragon partition manager but its only v9 so its only able to partition to ext3.
subsequently i used gparted but i booted and did not detect my micro sd card at all, making it impossible to partition.
Any ideas/workaround? or other programs to do so?
Cheers
Search google for 'gparted'. Burn the image and boot it to partition for free. Used it myself to create fat32 and ext4. It works flawlessly
Sent from my GT-I9000 using XDA App
MZWiZard said:
Search google for 'gparted'. Burn the image and boot it to partition for free. Used it myself to create fat32 and ext4. It works flawlessly
Click to expand...
Click to collapse
i tried that but i have no idea why the gparted do not recognise my microsd card. all it recognise was the harddisk only, therefore its not even listed on the list on formatable memory slots
I am getting the same issue, I also tried Paragon but even that is not allowing me to create a new partition.
I starting to think it's my SD card, I got a 8GB Samsung Class 6 card.
I really want to apply this mimocan fix.
Update:
I tried it on my work machine and GParted worked, going to install samset 1.9b now.
I used Paragon Hard Disk Manager 2010 and it worked without problems.
When booted up in gparted you insert your sd card and after that you need to hit the "refresh" option in one of the menus, cant remember the exact name of the menu, but try it if you havnt.

Can't Format SD Card

I lost my sd card data flashing a rom. Could not mount it even thru recovery. Got a card reader, but it won't format it.
Using Mini Partition Tool to troubleshoot. I am not at a point where it shows three partitions. The main 16gb unallocated, logical. The ext3 unformatted 500mb, primary (think I did that by mistake when trying to recover partition). And a 32mb unallocated, logical. All zero used memory.
I need to get back to one partition allocated, primary. Then I can get sd data back on it and reformat thru recovery.
Again using Mini Partition Wizard
Any help please!
OK,
I got it repartitioned as primary and formatted, bu sd card from pc now.
Hope phone recognizes it.
Will update, if I need further help.
Ken
If you want a good program to format your sd card, try SD Formatter.
Download and install that, plug in your sdcard into your sd card reader and format it.
Choose Full Erase On (if possible) and Resize On. It will format your sdcard to factory default and that means even the ext partition will be gone too.
Well, all transferred. Still won't mount. Says can't mount either of the dev/blocks mmcb1k0p1 and mmcb1k0.
Staus bar says sd card damaged.
?????
musashiken,
Thanks, typing while you posted. Based on my last post should I still do that?
Ken
Yeah I think you should try to reformat again with the program I suggested, as that will full format your sd card.
Once done, put your sd card back to the phone and create ext partition in recovery.
At work now but will be working on it.
Thanks
Ken
musashiken,
Thanks, appreciate all your help
That program worked, and I am back up and running
Ken
Glad it worked for you. My sd card kept giving me problems and I have to use this every few rom flashes.
I have a similar problem. I installed a new 32 gb SDHC card in a CDMA Hero running Cryogenmod. All was working well for about 10 days, then I got an error that no SD card was found. I had the original card and tried to get to the Clockwork recovery, no luck. Finally, through Rom manager, (flash alternate recovery to Ramon, then back to Clockwork, I was able to boot into recovery.
I still cannot format the new SDHC card, through Recovery, Windows 7, or the Panasonic program listed above. The Windows format option sees the card as a FAT 121mb card, so does the above program. Is this new card toast? It came with a lifetime warranty from Kingston, but I am mad that it did not make 2 weeks.
Any help would be greatly appreciated.
Craig
If sdformatter did not work it may be bad.
I always had good luck with it.
Did you have all options set per instructions?

[Q] How can I format a partitioned SD?

Hey all, I want to write a new image to what is currently a verygreen size-agnostic card, but Windows, EASEUS and the NC itself only see the boot partition. If I try to format it from Windows 7 x64, will it just wipe the partition, or format the whole card? Is there a way to do it from CWM?
I have:
verygreen's latest size-agnostic card running CM7.0.3 + dal's 4/24 OC kernel
the 3.1 beta running dal's 5/13 OC kernel on eMMC
the latest CWM on eMMC
EASEUS on my PC
I do not have:
another SD card
a card reader other than the NC
Obviously "get a card reader" and "get another card" are answers I could come up with myself. Do I have any options using what I have? The goal is to write racks' Phiremod/HC dual-boot to the card.
ETA: I am hesitant to attempt formatting from CM7 due to the big red letters in the dev thread for 3.1:
DO NOT FORMAT YOUR SD CARD IN CM7. DUE TO A VOLD ISSUE THIS WILL FORMAT YOUR /BOOT INSTEAD OF THE SD CARD!
****Should be fixed in nightly 13****
Click to expand...
Click to collapse
Does that still apply? Does it apply to the 7.0.3 build? Would flashing eMMC to CM7.0.3 and formatting the card be a possibility?
UPDATE [SOLVED]: As the final post says, the best method to revert a bootable card to storage seems to be, in EASEUS, deleting all partitions except the "SDcard/CM7 SDcard" partition, then dragging that partition to take up the unallocated space.
I use XP and using a USB adapter plug it in go to my computer right click on the drive which will say boot and click format. It takes about 5 seconds to format. Tou will get a warning. Not sure if it is the same with Win 7 but cannot see why it wouldn't format the same way.
Well, I did order a card reader from Amazon. This one seems like it may actually come in handy down the road and not be a one-use thing, and it should be here tomorrow. Maybe for experimentation's sake I'll do one last back-up and try formatting the card in the NC.
I can't sync my apps from Titanium + Dropbox until I get Titanium pointed at a bigger partition.
In the interest of completeness and for the unknown googler: Windows was incapable of formating any but the first partition of the card whether in the NC or a card reader. I tried "Wipe drive" in EASEUS, after which neither Windows Explorer nor the NC would recognize the card to format it. I wrote a new image to it (the HC/Ph dual boot) with WinImage, which worked fine. However, CM7 on the NC still only had access to the boot partition, and I needed more space so that I could sync Titanium Backup with Dropbox to restore my apps and settings from my old SD installation.
Again, there was no formating the partitioned card, so in EASEUS I deleted all the partitions except SDcard, extended that partition, and then formatted it in Windows. I was almost right--the last step was not only a waste of time, but rendered the card readable to Windows but not to CM7 or CWM. So, I once again wrote an image to the card, deleted all the other partitions, extended SDcard to to take up the unallocated space, and then jammed the card in the NC: success!
And Titanium Backup FCed whenever I tried to sync to Dropbox :/
Well, so be it. I manually replaced the Titanium Backup folder on the SD card with the one from my Dropbox, and it's almost done restoring now #knockonwood

Categories

Resources