| || |
Easy method to transfer to new SD with Linux
I'm running Linux Mint 9 (Ubuntu 10) on my Asus laptop, and after trying a few methods I found Googling with no success, I found my solution. I had a 4GB micro SD in my HTC Eris, and I picked up a 16GB at Fry's for $27. What worked for me was using the command line app dd. I simply used my built in card reader to accomplish the transfer. First, I made an image file of the partition (not the root of the drive):
dd if=/dev/sdc1 of=/media/storage/oldSD.img
Took a little while to make the 4GB image. Then, I took out the old card and put it in a safe place, and inserted the new card. Next, I formatted the new card as FAT32 (what the old one was), and then simply used dd to write that image to the new SD card's partition:
dd if=/media/storage/oldSD.img of=/dev/sdc1
What I had at that point was a card that then looked exactly like a 4GB card but didn't recognize the other 12 gigs of space. So, I just opened up the Red Hat Disk Utility App that comes with Mint and selected the SD card partition and clicked "Analyze and Repair". This allowed the rest of the empty space to be recognized, and voila! New card works with 12 more gigs of free space.