Does my ext3 partition need to be formated in Linux? - G1 Q&A, Help & Troubleshooting

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.

Related

move apps to new sd card?

i searched and my eyes hurt from being on this forum for the last few hours. i just got a new sd card that i partitioned using the parted method, and also flashed my g1 with CM 4.0.1. Realized that my new card doesnt have the apps from my old card. How do i transfer the files from one sd card to another? They both have ext3 partitions. I have an sd card reader, but i also have adb. Just need the easiest way. thanks
freaklt1z said:
i searched and my eyes hurt from being on this forum for the last few hours. i just got a new sd card that i partitioned using the parted method, and also flashed my g1 with CM 4.0.1. Realized that my new card doesnt have the apps from my old card. How do i transfer the files from one sd card to another? They both have ext3 partitions. I have an sd card reader, but i also have adb. Just need the easiest way. thanks
Click to expand...
Click to collapse
The easiest way is to clone the old sdcard to the new one and then readjust the partitions (if necessary). This works easiest if that the new sdcard is at least as large as the new one (you got a bigger one, right?).
You can do this either using usb to your computer, or by using a dedicated card reader (preferred). If using the phone as the card reader, you MUST BE SURE that NONE of the card partitions are mounted on the phone and then either way proceed as follows;
Connect the phone_with_old_card or old_card to your computer (must be LINUX/BSD/other_unix -- use a livecd if necessary).
Check the output of the 'dmesg' command to determine the device file, i.e. sd?. You need to know '?' and substitute that character throughout the rest of the instructions. Note: if you see, for example, 'sdb1', 'sdb2', then you are looking for 'sdb' which represents the ENTIRE DISK -- the numbers represent the partitions within the disk and are of no interest at this point.
As root (or other member of group 'disk') run the following:
dd if=/dev/sd? of=/some/place/with/enough/space/sdcard.img
When it finishes, swap in the NEW card (be sure to unmount if it automounts), check the output of 'dmesg' again (though unlikely, it could assign a different device file), and run the following;
dd if=/some/place/with/enough/space/sdcard.img of=/dev/sd?
The new card has now been cloned and will work as the old card, BUT, if the new card is LARGER than the old, the additional space will not yet be accessible....
To increase the accessible space, use a program called 'gparted'. Most livecds should have this installed, or you can google for 'gparted' and download their livecd. Use gparted to move/expand your partitions as you desire, then you'll be done.
Note: in the unlikely event that the new card is SMALLER than the old one, run gparted FIRST to shrink the partitions on the card such that they are SMALLER than the partitions THAT YOU CREATED on the new card, then use the dd command to copy PARTITION to PARTITION (i.e. use 'dd if=/dev/sd?1 of=...', etc.), then rerun gparted to adjust the filesystem sizes within the partitions.

Alternative Way of Partitioning SD Card?

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

Can anyone running Froyo off the SD Card actually use any leftover space on the SD?

I'm running Froyo off a 4GB SD card. I've followed all of the partitioning instructions and when it's in the nook the nook shows 2.8GB free space on the SD, but I can't seem to actually access it.
When I plug it into the computer via usb, only the 155mb boot partition mounts. When I put the SD card into a card reader on my computer, I can see all the partitions in disk manager but boot is the only one I can actually access.
I think I must be doing something wrong - if there was no benefit to using a larger SD card, nobody would be doing so.
Has anyone actually gotten the last "sd card" partition to mount to their computer?
If not, how can I access it to transfer music and pictures over?
It sounds like you are on Windows. Do you have EASEUS Partition Manager or something similar? What do you see? You should see the last partition, SDcard. To the right should be unused space. Right click on the SDcard partition and expand it to fill the rest of the card and apply the change. If you see something different, describe it here.
To answer your question, I have a 16GB card with Nookie Froyo and have put a ton of PDF files on it as well as some text files. I view them on my NC all the time.
Homer
I got the EASEUS parition manager, and expanded the SD card portion to the rest of the available space.
But I still can't access it! When I plug in the nook to the computer, and turn on USB storage, it mounts the boot drive! Which has the uImage and stuff. I don't understand how the hell to put anything on the SD portion of the sd card.
This is a limitation of Windows, it only mounts the first partition on a flash drive. I use Ubuntu installed via WUBI. It lets me dual boot Windows or Ubuntu. If you have your main drive partitioned so that data is separate, you can mount that partition in Ubuntu. In Ubuntu, when you insert the SDcard, all four partitions pop up. Blame Windows, and then get Ubuntu.
Homer
Short of installing ubuntu on my computer is there no program or something I can use to mount that sd partition?
Sent from my Nexus One using XDA App
ksc6000 said:
Short of installing ubuntu on my computer is there no program or something I can use to mount that sd partition?
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
Take a look here, don't fear the dark places.
Homer

Easily and quickly resize your SD Cards FAT 32 Partition

To quickly resize the FAT32 Data (ie music extra large data files etc) portion of any of the bootable SD cards use the following steps:
1. Create your SD Card from the Image.
2. Download and install Easeus Partion Master from Download.com
3. Close out file manager and any other active programs before starting Easeus.
4. Start Easeus, it will boot up and it will show the SD with the four partitions.
5. If your SD card has room that is unclaimed part of it will be gray and labeled unformated.
6. If it has room, right click on the last partition of the sd card and choose Resize/Move.
7. Now simply drag the end of the partition so that it extends the box to include as much of the unformated drive space as you want it to.
8. Hit Apply. Here is the rub, Easeus tries to save the data on that particular partition while extending/expanding the drive. I don't believe this is guaranteed so please backup anything you want to keep. But know that it is possible it might make the transition just fine.
9. Exit the program, you're done!
I've tried this and Easeus doesn't show any of the SD partitions. I've tried two different cards (an 8GB and a 16GB) on two different computers. Any suggestions? I posted this issue in another thread but nobody responded.
Bad reader?
Yeah, Partition Master only shows the first partition for me. I may try to pick up a different reader to see if that's the issue.
EDIT: I picked up another SD card reader over lunch and it also just shows the first partition. Is there some magic to showing all of the partitions on the card?
RE-EDIT: Scratch that...Windows only mounts the first partition as a drive letter but Partition Master shows all partitions properly. Cool!
So how do you access it
So you are correct and this works. My question is how do you access the SD card. If I pull it out and use a reader, windows only sees the boot sector. When I am booted autonooter 3.0 Rooted, put in the SD card and then plug into a computer it only sees the internal memory and the boot sector on the SD. When I connect it to the computer while booted in Honeycomb I do not see any drives.
Have you figured out how to load files on to this expanded area. I would love to try and play ripped DVDs on Honeycomb.
I'm able to resize the fat32 partition, but I would like to resize the internal memory so that I have more space for apps on my SD running honeycomb. Anyone find a work around for that?
Thanks

[Q] Guide Request

Could someone point me toward a guide that include the step by step instructions on how to reformat your microSD card after a CWM image has been burnt onto it to get it back to it's original size/recognizable in the Nook/PC.
This to me is the most frustrating part of loading ROMs on the Nook and I don't believe it's laid out step by step in any guides. They simply leave it at downloading a partition manager software tool, but not what do to within that tool.
Thanks!
I would actually recommend just buying a cheap card that you use just for flashing images. Rather than backing up, image burning, then reformatting your card each time you want to do something in CWM, spend the $6 online and buy a cheap 2GB card that you use only for this purpose. I know it isn't required, but I still use a bootable SD card with CWM recovery on it to flash new nightlies or really anything else.
I know this doesn't answer your question, but it is my solution to this problem.
While I agree you should consider a new card in case things ever go south, you should be able to put it into a card reader and format it with Windows. You can also wait until the NC is booted up and then insert the card and format it with the NC.
I actually do have a dedicated cheap card with CWM loaded on it. The problem I ran into this time was that someone had approached me with a stock nook wanting a ROM loaded onto it. So I needed yet another card to burn a root image onto. So I was stuck having to burn that image on an 8GB not so cheap card and then could never get it back to 8GB or recognizable in my PC/Nook by using various software packages.
It also causes all sorts of FCs when inserted into the Nook running MIUI. Once it's removed they go away.
Regardless, if anyone knows of a guide or the steps to doing so that actually works, it would be appreciated and I have to imagine I'm not the only one who runs into this extremely frustrating issue.
i could be wrong
but cant you boot into default nook, not booting off the microSD card and reformat the microSD card?
even if you rooted/formatted the built-in memory for android/cm7 over the nook color OS, you should be able to format the card.
the other question that i have the the OP
have you tried to access the card from all os (win, mac, linux) both through a usb adapter and through the nook directly connected to the pc/mac?
I have not had that issue with either a USB card reader or with the Nook. Do you have access to a camera that uses micro SDHC cards? You can usually format it there as well. After that, Windows should recognize the card in a reader and let you delete any folders the camera placed on it.
WWWestonC said:
Could someone point me toward a guide that include the step by step instructions on how to reformat your microSD card after a CWM image has been burnt onto it to get it back to it's original size/recognizable in the Nook/PC.
This to me is the most frustrating part of loading ROMs on the Nook and I don't believe it's laid out step by step in any guides. They simply leave it at downloading a partition manager software tool, but not what do to within that tool.
Thanks!
Click to expand...
Click to collapse
I think we need a little more information about what you are trying to achieve?
If you are looking to get your uSD back to its "fresh off the rack from the store" state, the easiest thing to do would be to just use your NC to reformat the card from within it's "Settings" area.
But, if you have loaded CM7 (or whichever ROM) onto the eMMC of your nook, then you would need to use Android's tools to do this.
When using an imaging tool to prepare the uSD, I would recommend Image Writer for Windows to write your ROM images to the uSD. It is pretty easy to use, and way better than WinImage. Use the 0.3 (Lost) release.
In my case, I just used verygreens solution of installing CM7 to my uSD, it is a one time set up and I only have to drop new nightlies onto the /boot partition whenever I want to upgrade (which is everytime a new nightly comes out, heh). I never take my uSD out of the NC anymore.
If you are looking to repartition your uSD card to get a bigger /boot partition so you can rest assured that the bigger nightlies will fit (essential if you have alternate image and ramdisk files for the alternate boot scenario), then I would follow this post in verygreen's guide.
In response to some of the questions, I am trying to get my SD card back to off the shelf so it can be used in the Nook for storage.
I have not tried on another OS to format the card. I only have Windows XP on my laptop. I could try on my Windows 7 desktop but would be very surprised if that solves the issue. I cannot see it when it is plugged in via USB adapter to my PC.
I have MIUI 1.7.22 ROM loaded on the eMMC of my Nook and using Android's format option does not work as it is greyed out.
Nothing recognizes it except for Easus Partition Manager, but I've tried everything under the sun (Deleting Partition/Wiping Partition/Assigning Drive Letter/Increasing size) and can't get it to return to a usable state.
WWWestonC said:
In response to some of the questions, I am trying to get my SD card back to off the shelf so it can be used in the Nook for storage. [snip...]
Click to expand...
Click to collapse
In Android, I think you have to unmount the uSD before you can "erase" it (thus effectively re-formating it to it's maximum size).
I would do it this way if you are able to, because you are guaranteed a uSD card that Android will recognize every time. Devices that use removable cards this way know how to properly format them. Desktop OSs treat them as removable media (i.e. like disks/discs) and do not always format them properly using a a USB adapter.
When formating SD/uSD cards on your PC, your best bet is to use an actual card reader that connects to your PC via a USB cable (like the multi-card readers).
Here is a formatting tool specifically for SD/uSD cards from the SD Association website (https://www.sdcard.org/consumers/formatter_3/). Instructions are at their website too.
Incidently, if you have access to a Mac system running OS X, the Disk Utility app in Applications > Utilities will also format your uSD and get it back to stock where Win machines have problems. I know this from personal experience.
Here is another thread, Read All About it: WP7 SD-card format working., with more formatting info that may or may not be helpful...
Short of a Mac system, you could install Linux (I recommend Ubuntu currently) in a VirtualBox virtual machine environment and give that a go in your Win7 environment. If you go this route, you also want to install the Extention Pack for USB 2.0 support. Then you end up with a more versatile OS for tinkering around in all within your Win7 evironment....

Categories

Resources