creating 2 partitions on an SD card on a Mac fat32/ext2 - G1 General

Hey all. I was wondering how to format/create my sdcard with 2 partitions one fat32 the other ext2 on a mac. I used the search engine but cannot find anything.
I'm not a terminal noob but I can't figure out how to format/create the 2 partitions. I need help because I want to move my data from the g1 to the sdcard.
Thanks!

Install this http://sourceforge.net/projects/ext2fsx/ and then reboot and use the Disk Utility in /Applications/Utilities/

this will not format a ext2 partition, it only allows you to mount it, your best bet is to d/l GPARTED or of you have windows in parallels use Paragon Partition Manager... this will not work if your windows is in a bootcamp partition, the other option is to use a pc (sadly hu?)

If it helps, I actually used an ubuntu live cd and installed gparted while booted to the cd... of course, i had already made the sdcard fat32 in windows but gparted allowed me to resize and format the remainder in ext2.

I've used the ext2fsx tool to partition my SD card on my mac. I don't think I had any extra software installed, and I just used the Disk Utility...

I'm also having trouble creating a valid partition. I'm using gparted on an ubuntu live cd but the sdcard doesnt like being messed with.
What disklabel are you using? [Loop / msdos / bsd etc]?
I think i've tried every combination and haven't gotten anywhere.
Also, i've read that the card class makes a difference, is this right or does it only effect the speed of data transfer?
Any help would be much appreciated!!
.//Yamthief

Related

Fat32 partition stuck in read-only in 16GB MicroSDHC

OK so far my problem has stumped everyone.
I have a rooted and hacked G1(HTC Dream) with a 16GB MicroSDHC that is divided into a 2GB Ext2 partition and a 14GB FAT32 partition. It worked fine for a while but then my G1 started to freeze up and reboot continuously so I took the card out and it stopped. I tried chkdsk in Vista and it hung in elevated .cmd prompt and it says i have bad sectors but it cannot fix in read only mode. I tried format in Vista and cmd and it tries, says the data is RAW and that it tried to convert to FAT but cluster size too big. Then when I try fs command for vfat in .cmd it still won't work. I used Paragon Partition Manager 9.0 PAID version to create partitions but now it hangs every time it tries to read the card and it won't format. Tried sdformatter and a low level formatter to and no good.
I have Terminal in my G1 but I am not familiar with Linux commands. I tried fdisk and it says the FAT32 is in read only mode. When I type busybox df -h it won't show the "/dev/block/mmcblk0p1" but it shows the Ext2 partition. But when I type the mount command it shows up as "rw". But i cannot access it at all to wipe the stupid card out.
HELP!!!!
1) can you mount the fat32 partition in you phone and can see the files?
2) did you tried as root *mount -o rw,remount -t vfat /sdcard* ?
Yes I tried it and it doesn't work. Is there anyway to flash the bootloader or the ramdisk?
assuming i have ramdisk.img boot.img and system.img on sdcard root and I want to copy to system files, anyone know the commands in Terminal Emulator?
Download the ubuntu live cd, burn it, then boot your computer with it. Plug your SD card into an external reader, NOT the g1. Run gparted and select the sd card from the list of drives and see if you can format or re-partition your card. If it wont let you then try selecting Device->Create Partition Table, to create a new partition table. If none of that works then either your card or card reader is dead.
Mike
Nevermind, it was a class 2 16GB card...i think I broke it...getting a class 6...
need help....
i have a 16gb class 6 and i need help or technically a walk through on how to partition this card....hence i am an extreme noob. i got into parted and it says i have a 16.1 gb so would that translate to 16001 mb? reason i ask is cause i dont know what to subtract 32mb from and such? also what is the optimal set up for a card this size? thanx in advance for any help that you guys may supply me...
TeCH NiNJa said:
i have a 16gb class 6 and i need help or technically a walk through on how to partition this card....hence i am an extreme noob. i got into parted and it says i have a 16.1 gb so would that translate to 16001 mb? reason i ask is cause i dont know what to subtract 32mb from and such? also what is the optimal set up for a card this size? thanx in advance for any help that you guys may supply me...
Click to expand...
Click to collapse
do it from phone terminal its much easier, if you need any more help pm me
i got guys thanks alot....i think ill try 42mb linux-swap to see if the hero rom will run smoother. to
JJbdoggg
Senior Member
thanx

Paragon Partition 9.0 problem

after tryin to partition my sd, it went throught the steps then at the end it said restart needed, and after it restarted it started up in this safe mode type screen before vista loaded and said some error....did it partition the card? because when i look at properties of card it only says i have free space that is size of fat32....that i left...cant see if it made ext2
caleoss said:
after tryin to partition my sd, it went throught the steps then at the end it said restart needed, and after it restarted it started up in this safe mode type screen before vista loaded and said some error....did it partition the card? because when i look at properties of card it only says i have free space that is size of fat32....that i left...cant see if it made ext2
Click to expand...
Click to collapse
Windows cannot see ext2 partition. your best but is to open partition manager or use a linux distro to see it.
i wish Paragon didn't exist, i have seen so many problems people have been having trying to use Paragon. if everyone just downloaded a linux distro it would work perfectly every time and we wouldn't have 15 threads about Paragon problems
tubaking182 said:
i wish Paragon didn't exist, i have seen so many problems people have been having trying to use Paragon. if everyone just downloaded a linux distro it would work perfectly every time and we wouldn't have 15 threads about Paragon problems
Click to expand...
Click to collapse
i cant use that on windows vista can i?
download a linux distro and burn to a disk, then shut down your comp and reboot to the disk. then when you boot to linux click System>Administation>Partition editor. it's easier then trying to use paragon
tubaking182 said:
download a linux distro and burn to a disk, then shut down your comp and reboot to the disk. then when you boot to linux click System>Administation>Partition editor. it's easier then trying to use paragon
Click to expand...
Click to collapse
i have no idea how to use that, where do i get it from, i have eclipse on my comp but dont think that has anything to do with this
nope go here i have a step by step. i will be adding screenshots, but i didn't have a chance today as i was trying to meet up with some guy to buy my phone(tilt)
Your best bet is to start clean. Delete all the partitions so your entire sd card is "unallocated space".
Create a new partition for Fat32. Don't use all free space (Duh)
Create another partition for ext3 (use ext2 if your rom doesn't support ext3 yet). Just use all the remaining space
Windows cannot see the ext partition but if you want to see the amount of space used just open up paragon partition manager and it will tell you.
I dont know if you fixed the problem yet, but I think I have a solution for you.
If you're trying to do this using the phone to mount the sd card, it won't work when it boots up to that safe mode looking window, because the g1 won't stay mounted. You need to use a card reader, there's no other way around it that I've been able to find.
Also if you're using 64bit edition of windows vista, paragon has tons of problems. If that's the case, you need to create the recovery cd within paragon, then boot to it, and you'll be able to make all the changes there, using a card reader of course.
To check if it made the partition, just have the sd card connected to the computer (g1 will work for this) then open up paragon and open the partition manager, and where you're sd card is there would be another partition, right next to your fat32 partition. If its ext2 format it would be highlighted yellow.
PPM9 works just fine, you just have to keep remounting the SDCard when Windows reboots. I've had it dismount during the boot too, you just have to watch your phone screen and remount it if it unmounts.

Problems with Linux Swap partition

So I've been trying to partition my stock 1GB sd card with the 3 partitions required: FAT32, Ext2 (or 3), and Linux Swap, but everytime I do it, my phone says the sd card is unreadable. Why is this? To get my phone to re-recognize my sd card, I have to re-format my entire sd card to new. I am able to partition it witht the first 2 partitions, but when I add the Linux Swap, I end up with the same issue. Is there something I am doing wrong? I am making the Linux Swap partition about 32mb and leaving about 2-3mb free (unallocated). I am using Wibu Linux for Windows and GParted to do the partitioning. Please help, and thanks in advance.
You could try GParted Live...
that worked for me... Be sure to make both the FAT32 and Ext2/3 partitions PRIMARY PARTITIONS.
Also, go ahead and make the first two partitions and leave enough space for a 32MB linux-swap partition but don't create it yet. Or make the partitions one at a time to see if you problem lies w/ one of the steps.
Not completely familiar with Wubi linux, seems to be an odd build to me. Try the Gparted live distro, I think you'll be pleased with the results.
Good luck!
There is NO NEED to make a separate partition for swap. Just create an empty FILE of the size that you want and mkswap it, i.e. 'dd if=/dev/zero of=/mountpoint/swapfile count=64000; mkswap /mountpoint/swapfile' to make a 32MB swap file. Note count=64000 -- thats 64000 blocks with default block size of 512 B, 64000x512B = 32MB. Then just mount the swap as normal; 'swapon /mountpoint/swapfile'.
** There is no performance difference.
** Best to put it in your ext2 filesystem since it won't be unmounted when you want to mount the fat partition as a usbdisk.

I need help!

Hi guys. sorry if im being ignorant but i cant seen to find a proper guide on how to partition my class 6 sd card correctly.
i have rav1.2.0g recovery image which alows me to partition the card 3 ways but it doesnt seem to be right. is the card after partitioning meant to be assigned different drive letters? or is it only meant to show as one complete partition. also, do i partition after flash or before?
sound like an idiot but id like to be sure what im doing
any help appreciated. thanks
bump!! no takers?
in rav 1.2.0g, all you would have to do is select from the two format options in the image... you can either select from fat32 + ext + swap for apps2sd, or just plain fat32 if you do not want to utilize apps2sd (some roms do not support installing without apps2sd)...
i can verify that it works just fine for both format options...
If you're using Windows, you will still only see one drive and it will probably still have the same drive letter.
2 of the 3 partitions are formatted in a format Windows does not understand (ext3 and Linux swap) so it does not present them in Windows Explorer. If you use some sort of partition editing program you will be able to verify the partitions exist and are the right size etc. If you've used amon_ra's recovery tool to partition your SD card you should be OK, it's what I used and it worked perfectly for me.

[Q] Failed to get ext2 partition in any way i tried!

I have tried all kinds of ways to partition my sd card to get data2ext to work on b 0.5.
- Partitioning through rom manager
- Partitioning through paragon partition manager (didn't even work)
- Manually partitioning by running commands through terminal emulator
I manage to get the linux swap and fat32 partition but no matter which method i tried, i just can't get the ext2 partition. On the emulator, it asked if my file system was an ext2 system.
By the way, i am using an 8gb sd card that came with Nokia 5800. Is this the cause of not being able to create the ext2 partition?
Easiest way I can think of is to use the live distro of Gparted.
http://gparted.sourceforge.net/livecd.php
Awesome partitioning tool and has a gui anyone can follow.
E.E.
i just partioned my 8gb yesterday with paragon, no problems. what kind of problem did you have?
@eepunk I will try that later... i'll see if there is any solution in the current software(s) i have...
@haha123 the problem i'm facing is i cannot see the sd card when i click format partition... Maybe i'm doing it wrong. Here is how i do..
1. Plug my phone into USB and click Disk Drive
2. Open up Paragon Partition Manager 11 Personal
3. Click on Partition Manager on the left tabs and launch the partition manager
4. At the bottom, click on Basic Hard Disk (HTC Android Phone USB Device)
5. Click on Format Partition in the Disk View tab.
The problem is when i click format partition. It just shows the hard disk in my PC but not the HTC Android phone USB Device.
I even tried skipping the format partition to try creating a partition but i still cannot see the HTC Android Phone USB Device.
The Error i get is "The disk already contains four primary partitions. Basic hard disks can contain only four primary partitions, including extended one.
Eh...
Why not just boot into Clockwork and use the Partition menu
spicyjoe said:
@haha123 the problem i'm facing is i cannot see the sd card when i click format partition... Maybe i'm doing it wrong. Here is how i do..
1. Plug my phone into USB and click Disk Drive
2. Open up Paragon Partition Manager 11 Personal
3. Click on Partition Manager on the left tabs and launch the partition manager
4. At the bottom, click on Basic Hard Disk (HTC Android Phone USB Device)
5. Click on Format Partition in the Disk View tab.
The problem is when i click format partition. It just shows the hard disk in my PC but not the HTC Android phone USB Device.
I even tried skipping the format partition to try creating a partition but i still cannot see the HTC Android Phone USB Device.
The Error i get is "The disk already contains four primary partitions. Basic hard disks can contain only four primary partitions, including extended one.
Click to expand...
Click to collapse
I followed this step by step guide:
http://forum.xda-developers.com/showthread.php?t=512873
I had the card formatted to fat32 (using windows) before partitioning, maybe you can try that?
pjgodd said:
Eh...
Why not just boot into Clockwork and use the Partition menu
Click to expand...
Click to collapse
Hmmm, i was looking around in that menu but there isn't any saying create partition... just format and stuff... :S
@haha123 Hmmm, give that a try.... i've just downloaded the gparted software so will try that first...
EDIT: Given up all hope, i can't even get gparted to boot with USB...
Check the GUIDE...
Thanks blayo, i tried that and it crashed all the apps on my phone until i had to format my sd card and restore nandroid... hmmm... mysterious, but thanks, i'll let data2ext pass.... wouldn't want to brick my phone...
spicyjoe said:
Thanks blayo, i tried that and it crashed all the apps on my phone until i had to format my sd card and restore nandroid... hmmm... mysterious, but thanks, i'll let data2ext pass.... wouldn't want to brick my phone...
Click to expand...
Click to collapse
Well, this is the formatting guide... what the hell did you expect? There are certain files on SD fat32 partition that some of apps use. If you unmount SD card and reformat it, those files are not available any more. Right?
Yeah true but even when i restore it doesn't work. Alright man, thanks for the guide anyways.

Categories

Resources