Alternative Way of Partitioning SD Card? - Nexus One Q&A, Help & Troubleshooting

Using Amon_Ra Recovery is not working now for some reason...been waiting over 30 minutes for it to finish partitioning...but it just keeps on going. (16GB card)
I tried using ROM Manager...it said that it worked...but didn't.
Now trying to find a way to partition the SD card...easy as possible.
ADB commands? is there a windows utility?

gparted
.

Windows won't help you at all, since it's not able to recognize multiple partitions on SD card and/or EXT2/3/4 partitions.

I have the same problem....the Rom Manager dosen't get the job done.

Why can't recovery partition my card anymore? Weird! When I pull the battery after 2 hours and check the card....it has a partition (unusable) with just below the amount I set it for....
So, this time I figured that I needed to keep it in a bit longer so I left it there for 8 hours (while I was sleeping) and it was still going. So, another battery pull and format of the sd card...
Is my phone telling me that I don't need to have all the apps I want?

Jack_R1 said:
Windows won't help you at all, since it's not able to recognize multiple partitions on SD card and/or EXT2/3/4 partitions.
Click to expand...
Click to collapse
Not at all true. I've partitioned mine and others many times on windows (tho of course not with built in software as windows has no native support to EXT 2/3/4 partitions), but if you use something such as gparted, acronis disk editor, partition magic, etc that WILL most definitely work.
That being said, you will not be able to do it via USB cable plugged into phone/pc.
OP, do you happen to have access to a card reader? That would be really the only way to format it from a computer.

i used paragon partition manager
worked fine

+1 for GParted

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.

Does my ext3 partition need to be formated in Linux?

A while back ago I purchased a Disc with all kinds of recovery and maintenance programs for all versions of Winders from a company called "Spotmau". One of the uitlities in BootCare is a great partitioning program called Partition Genius, that enables you to move, shrink, add/subtract partitions without having to wipe entire drive. Specifically, I am able to modify an SD Micro card without having to flip the non-removable bit.
My question is, should I just leave the new ext3 or ext4 partition as such or should I go ahead and format it in Linux? The program has the ability for this.
This is a bootup CD so you'll work in a non-winders environment but it does the trick really good.
G1, on AT&T
CyanogenMod 4.2.13
16GB Sandisk SDHC.
Just use the recovery image in my sig, no need to have a card reader or anything extra on the computer.
Filp the non-removable bit?
Non-Removable bit
I was taught that a PC will not partition an SD card or a USB flash drive because it is addressed as a removable drive. By flipping this "Non-Removable Bit", the PC, and any partitioning program will now recognize the USB or SD card as a permanent or fixed drive. I tried a program that was published by Lexmark but I didn't get any results. I did, however, accomplished to partition any USB or SD card with Partition Genius which is a bootable program.
Diode
Oh yeah, thanx for your recovery image, highly appreciate it.
L8Tr 4 Now.

SD card problem? cannot read properly

I have been trying this for a day and nothing seem to work so far.
The SD card is working, it can be detected/read/write from phone/pc/mac ,
I can also use the sd card to flash rom onto my phone and all works perfectly,
with disk utility, it confirms the correct partition, 64mb for swap and 1024mb for apps,
(it can be detected but cannot be mounted on my mac so no verify/repair can be done on the partition, but the fat partition can still be verified)
now, when i tried to enable app2sd, my phone says extfs partition cannot be detected under spareParts/data option.
I have tried
repartition the sd card like 20 times
wipe/reflash rom,
wiple/reflash different rom
tried different sd card , the partition works so it's not my phone/partition method
verify/repair sd disk
are there anything else to do to repair? or is it a lost cause?
any help will be appreciated
thanks in advance!
do you have any linux handy? could you do an fdisk -l on the disk and print us the partition table?
perhaps you could also use some windows utility to have a look at the table, perhaps it complains about something, if there is an error.
it may be possible that the sd card has an error in the filesystem area. you could try to plug the sd card into the pc, format it with just one partition and uncheck the quick format option. this way it would check all sectors. you should use the console version of format, i think it should output if there is an error. alternativly i think chkdsk -f prints out the bad bytes and there is another option to make it check for them (but normally a non-quick-format does just that)
thanks for the quick response,
I format with PC and MAC then do the disk check and the first time I did it was with a mac it found 5 cluster file and repaired and have since been error free with only one partition present.
I am gonna try to do the check with terminal see what i can come up with.
fixed
knowing that it's not my phone and not my firmware, I decided to give up on the card even though it's "partly-working".
bought a new card and everything fine now.
However, extensive research showed a lot of people have similar problem and some of them have found the fix by
1. reflash
2. insert the card "correctly"
that's all.

[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.

I need some help with a SD card with CM7

Hi everyone. I have CM7 running off an 8GB Sandisk microsd card. Something I still cant figure out to do is how to access the remaining space on the card that is not being used by the boot partition. I can access it from the Nook, but if I take it out and try to access it from a PC I only have the boot partition which only gives me about 100mb of free space. When I plug the nook into my pc with the sdcard installed I only have access to the built in storage. Can anyone please tell me how to access the extra space or direct me to a walkthrough on how to do it. I searched but couldnt find it.
Thanks.
You can use easeus partition manager or minitools partition manager.... you need to set partition 4 to active to see it in the computer... but you MUST remember to make partition 1 active again to use it in nook....
The issue is that all 4 partitions are created as primary partitions... Window will only see the first active primary partition.
Thanks a lot. I will check out easeus partition manager. I appreciate your response.
I finally got around to trying what you mentioned, DizzyDen. I got the sd card switched to active, but still when I open it up in windows explorer I can only see the boot partition. In easeus it states that the partition will all the storage is active though. Any suggestions?
That is common and limitation of windows... it will only see the first active partition on a drive... the same as when you were using the 2 GB version.... you can change the active partition in easeus partition managare to partition 4... do what you want... but you HAVE to remember to change it back to partition 1 as active before you take it out and put it back in nook
DizzyDen said:
That is common and limitation of windows... it will only see the first active partition on a drive... the same as when you were using the 2 GB version.... you can change the active partition in easeus partition managare to partition 4... do what you want... but you HAVE to remember to change it back to partition 1 as active before you take it out and put it back in nook
Click to expand...
Click to collapse
Some how this really screwed up my computer booting up. I made 100% sure not to check any of my two desktop HDD's and just switched primary and active on the SD card. Easeus asked to reboot computer and then I eventually had to do a restore point to be able to boot windows afterwards...
How about you try this:
[ROM][CM7] Size-agnostic SD Card image and CM7 installer for SD Cards. with updater
I know this will require you to reinstall CM7 but it Automatically adjusts for any sized card and allows easy updating without CWR or PC.
____________________________________________________
Sent from NookColor CM7 using Tapatalk
japzone said:
How about you try this:
[ROM][CM7] Size-agnostic SD Card image and CM7 installer for SD Cards. with updater
I know this will require you to reinstall CM7 but it Automatically adjusts for any sized card and allows easy updating without CWR or PC.
____________________________________________________
Sent from NookColor CM7 using Tapatalk
Click to expand...
Click to collapse
Seems they already did that... have cm7 running on SD... the problem they stated was not being able to access partition 4 on their computer.... btw... when you change active on SD in easeus don't reboot... you don't have to.
DizzyDen said:
Seems they already did that... have cm7 running on SD... the problem they stated was not being able to access partition 4 on their computer.... btw... when you change active on SD in easeus don't reboot... you don't have to.
Click to expand...
Click to collapse
No... What he's talking is that he did something like install a 4gb image on a 8gb card and now he wants to expand the "sdcard"partition to fill the remaining space on the card. I had to do this when I had a Nookie Froyo 2gb image on my 4gb card but it was annoying. The only easy and smooth way to do it was to Boot to my Linux Install (Ubuntu 10.04) on my PC and Run GParted(The best Partition Manager under the Sun) Trying to do it in Windows was just miserable.
In the end I found it much easier to simply use the Method in my above post when I installed CM7 and it's been the best Expirience I've had Installing a Custom ROM. It's also been dirt simple to update CM7 as all I have to do is plug the SD into my PC and Copy the latest CM7 zip onto my boot partition and boot to recovery. It installs everything automatically. You can even do the same thing to install GApps. If I'm away from my PC but want to update I just download the Zip to my Nook and then use a Terminal App to mount Boot to a folder, and then simply copy the Zip over and Reboot into Recovery.
So I recommend just reinstalling CM7 to an SDcard with my above post for a less stressful experience.
____________________________________________________
Sent from NookColor CM7 using Tapatalk
I don't think that's the case. He said he was able to see the storage space from his Nook but not when putting the uSD card in his PC. This is the case because Windows is only able to see the first active partition on a drive; using something like Easeus he can temporarily switch the active partition to #4 to view the storage space.
Unless what you mean is increasing the size of the first partition by deleting all the other partitions as well and just having 1 large boot partition so that it's viewable when mounted on PC (or on stock if dual booting). I don't know the viability of that because I'm not sure how CM7 needs to have partitions structured other than that the 1st is always the boot and the 4th = storage. I may be wrong
*edit: Also, if you're trying to access the root level of files during USB storage mode (for, eg., dropping a new boot animation to /data/local) you won't be able to do it, need to use something like Root Explorer or ADB*
I think the OP needs to clarify what his/her problem is because no matter how I read the OP's post I interpret it one way but other people are interpreting it other ways. Until the OP clarifies, I don't think anybody can help since none of us are on the same page.
____________________________________________________
Sent from NookColor CM7 using Tapatalk

Categories

Resources