oh sd probs - G1 Q&A, Help & Troubleshooting

ive just formatted my sd card again because when i part'd it first time round i mixed up the ext2 and fat sizes.
just formatted now, and my once 8g card is now a 484mb card ?
why that? how do i get my missing gb's back ?

binkatonka said:
ive just formatted my sd card again because when i part'd it first time round i mixed up the ext2 and fat sizes.
just formatted now, and my once 8g card is now a 484mb card ?
why that? how do i get my missing gb's back ?
Click to expand...
Click to collapse
what did you partition it with?

cm recovery, console
just formatted now with windows format

binkatonka said:
cm recovery, console
just formatted now with windows format
Click to expand...
Click to collapse
recovery console and type in parted /dev/block/mmcblk0 then enter, then type p then enter again. have you checked your partition sizes there?

1 = 512 fat32
2 = 6488 ext3
i need to change sizes of fat and ext

binkatonka said:
1 = 512 fat32
2 = 6488 ext3
i need to change sizes of fat and ext
Click to expand...
Click to collapse
do you have any apps on your ext partition?

yeah but i can loose them no probs

just remove 1 and 2 by
rm 1
rm 2
then do the process again.

binkatonka said:
yeah but i can loose them no probs
Click to expand...
Click to collapse
alright then this'll be real easy. BACKUP YOUR FAT32 PARTITION if you have anything on it. this'll get rid of all data.
(if you aren't still in parted) parted /dev/block/mmcblk0
rm 1 rm 2
mkpartfs primary fat32 0 then type the end of the partition
mkpartfs primary ext2 (end of the fat32) then the end of the ext2 partition
(if you want swap)mkpartfs primary linux-swap (end of ext2) then end of swap partition.

shaolinx said:
just remove 1 and 2 by
rm 1
rm 2
then do the process again.
Click to expand...
Click to collapse
way to just TOTALLY beat me to the punch

many thanks for the help guys !
alls sorted now, right part sizes etc etc
thanks once again, such helpful people on here

good to know you got it worked out

Related

sd card might be mad at me

Ok guys ima try to explain this as best I can. I have a 16g sd card that gparted or acronis will not recognize, now windows 7 on my laptop does.recognize it as an sd card showing 15.3gig wich I can only imagine is because it has been formated a few times, curently it has been formatted to fat32 using my laptop..what can I do to get my phone or any formatting tool to see it and format to the fat32, ext3 and linux swap, I've been trying for days and have read all I can so now I turn to the greater brains that be...thanks for ur help..........veritasaequita
I love the search button! Lol use cyanogen's latest recovery image (1.3.1) Search for it!
Then once you have it flashed, go into recovery console (alt+x on the menu) and type parted /dev/block/mmcblk0
do not type stuff in ( )
print (it should tell you the sector size, in mb. Since yours is 16gb it should be ~15000mb?)
rm 1
rm 2 (you might get, partition not found on this doesn't matter)
rm 3 (you might get, partition not found on this doesn't matter)
mkpartfs primary fat32 0 xxxx
mkpartfs primary ext2 xxxx yyyy
mkpartfs linux-swap yyyy zzzz
quit
upgrade_fs
reboot recovery
alt+f, alt+w, alt+s
home+back
<some extra notes, for the linux-swap partiton it should be roughly 32 mb. So make sure there's only a 32mb difference between yyyy and zzzz>
<ext2/3 partition should be ~600 mb> and fat32 the rest. Any problems just message me

can't create partition on sd card all primary slots are occupied

im using Paragon and every time i try to create partitions i get the message can't create partition on sd card all primary slots are occupied. I even tried using parted on the G1 and it wouldnt let me. I cant figure it out why it wont let me create partitions.
Im using a transcend 8gb class 6 card
You can't create more than 4 primary partitions, are you trying to?
MvP77 said:
im using Paragon and every time i try to create partitions i get the message can't create partition on sd card all primary slots are occupied. I even tried using parted on the G1 and it wouldnt let me. I cant figure it out why it wont let me create partitions.
Im using a transcend 8gb class 6 card
Click to expand...
Click to collapse
when you used parted via the recovery console, did you use print and rm x (substitute the partition numbers from print) to remove the partition
david1171 said:
when you used parted via the recovery console, did you use print and rm x (substitute the partition numbers from print) to remove the partition
Click to expand...
Click to collapse
yes, and im just want to create the standard 3 partitions.
i have done it with 5 other cards with no problems
Have you checked the table type is msdos?
Try a new table anyway if you've no data on the card already.
Code:
mklabel
y
msdos
AdamPI said:
Have you checked the table type is msdos?
Try a new table anyway if you've no data on the card already.
Code:
mklabel
y
msdos
Click to expand...
Click to collapse
how do i do this?
MvP77 said:
im using Paragon and every time i try to create partitions i get the message can't create partition on sd card all primary slots are occupied. I even tried using parted on the G1 and it wouldnt let me. I cant figure it out why it wont let me create partitions.
Im using a transcend 8gb class 6 card
Click to expand...
Click to collapse
i use to use paragon, its not working because paragon is poo, and partes is really ez and it has to work, because it just does...follow these steps for your 8gig
Reboot into recovery [home+power]
Enter console hit enter
then type these commands
parted /dev/block/mmcblk0
print [that show u whatcha got]
rm 1 [removes 1st partition]
rm 2 [removes 2nd partition]
mkpartfs primary fat32 0 7200
mkpartfs primary ext2 7200 7700
mkpartfs primary linux-swap 7700-7732 [or 7700-7764 if u want 64mb swap]
print [shows u whatcha got now]
when it says End? type in the last of ur linux-swap either 7732 or 7764 so..
7732 or 7764
print [shows final setup]
quit [exits parted so u can upgrade from ext2 to ext3]
upgrade_fs [this command will handle the ext2 to ext3 upgrade] and then u should be good to go, try it i promise u it will work.
good luck, veritasaequita
veritasaequita said:
i use to use paragon, its not working because paragon is poo, and partes is really ez and it has to work, because it just does...follow these steps for your 8gig
Reboot into recovery [home+power]
Enter console hit enter
then type these commands
parted /dev/block/mmcblk0
print [that show u whatcha got]
rm 1 [removes 1st partition]
rm 2 [removes 2nd partition]
mkpartfs primary fat32 0 7200
mkpartfs primary ext2 7200 7700
mkpartfs primary linux-swap 7700-7732 [or 7700-7764 if u want 64mb swap]
print [shows u whatcha got now]
when it says End? type in the last of ur linux-swap either 7732 or 7764 so..
7732 or 7764
print [shows final setup]
quit [exits parted so u can upgrade from ext2 to ext3]
upgrade_fs [this command will handle the ext2 to ext3 upgrade] and then u should be good to go, try it i promise u it will work.
good luck, veritasaequita
Click to expand...
Click to collapse
ive done this already, didnt work.
MvP77 said:
how do i do this?
Click to expand...
Click to collapse
From parted in recovery console.
You start parted in interactive mode working on your sd card with
Code:
parted /dev/block/mmcblk0
then you can put in the commands.

[Noob Question] This might sound a bit silly . . .

Ive got a rooted G1 and im running CyanongenMod 4.2.3.1 Ive got a 16gb class2 sd card and ive partitioned it it it with 14.5gb - Fat32 and 1gb ext2
Now i know thats not right and so i wanna fix it. What i really wanna do is :
a) Have all the partitions set at correct sizes
b) a swap partition
c) and an upgrade to ext3 or 4 whichever is better
As ive already got about 200 apps installed whats the best ways of backing them up and doing the above
Thanks in Advance
Thru console:
parted /dev/block/mmcblk0
print (verify what size your card is)
rm 1
mkpartfs primary fat32 0 15500
mkpartfs primary ext2 15500 15852
mkpartfs primary linux-swap 15852 15948
quit
upgrade_fs
reboot recovery
May want to reformat to fresh fat32 beforehand but up to you.The sizes above can vary depending on what size your card is but that is a base for 16gb and includes a 96mb swap. Press enter after each line.
Tons of ways to backup...on your PC or I use Astro to do so...but any file manager works
http://forum.xda-developers.com/showthread.php?t=534714
I have that lovely little tutorial bookmarked, I use it almost everyday ( I flash new roms and stuff everyday, I just don't know what to settle on )

Problem Partitioning New Card

I just got a Transcend 8gb class 6 microsd card and am having trouble switching to it. When I enter recovery with the new card in and go to partition sd card it partitions much faster than usual. Then, once I go to upgrade ext 2 to ext 3 it says error, please run in console. When I got the card I formatted it using another phone by unmounting and pressing format sd card.
bump, really need some help here getting this to work
hiddengopher said:
bump, really need some help here getting this to work
Click to expand...
Click to collapse
I would try what it says and partition via console...
how would I do that?
hiddengopher said:
how would I do that?
Click to expand...
Click to collapse
If you have a g1, go to recovery. Then go to console and type;
Code:
*Warning, Back up everything on your sdcard first!*
<enter>
parted /dev/block/mmcblk0
rm 3
rm 2
rm 1
mkpartfs primary fat32 0 (total sdcard size - swap size - ext size)
mkpartfs primary ext2 (end of fat 32) (total sdcard size - swap size)
mkapartfs primary linux-swap (end of ext2) (end of sdcard)
print (check if it worked)
quit
reboot recovery
Now go to recovery, choose USB Toggle and put a rom on your sdcard
JAguirre1231 said:
If you have a g1, go to recovery. Then go to console and type;
Code:
*Warning, Back up everything on your sdcard first!*
<enter>
parted /dev/block/mmcblk0
rm 3
rm 2
rm 1
mkpartfs primary fat32 0 (total sdcard size - swap size - ext size)
mkpartfs primary ext2 (end of fat 32) (total sdcard size - swap size)
mkapartfs primary linux-swap (end of ext2) (end of sdcard)
print (check if it worked)
quit
reboot recovery
Now go to recovery, choose USB Toggle and put a rom on your sdcard
Click to expand...
Click to collapse
I appreciate the help, but I'm just going to try reformatting the card and some more things first, I hate consoles even though I've used them quite a bit before.
hiddengopher said:
I appreciate the help, but I'm just going to try reformatting the card and some more things first, I hate consoles even though I've used them quite a bit before.
Click to expand...
Click to collapse
This will repartition the card. You want to reformat. OHHHH, well if you have windows I would try to plug it in via sdcard reader (usb disconnects for some reason), and right click on the drive and choose format. I think in the phone you can also go to Settings>Sdcard & Phone Storage> Format to format the card

I got a CLASS 6 card, i have a few questions

hey guys so i now have the coremicro class 6 card. I am wondering what the steps are to get my card up and running. I tryed to boot with the card in but it seemed to just stay blank screened after boot. Should i create an ext3 first thing? should i first copy the entire mountable section first?
ANY answers would be great.
Is it Partitioned?
just got it, its fresh, i guess ill create ext3 first then.
I dont know how big an sd card you have, your recovery or what you wanna do with it but Ima try to help..
go to recovery console-- press enter after each line..
for an 8 gb card
parted /dev/block/mmcblk0
rm 1
rm 2
rm 3
mkpartfs primary fat32 0 7524
mkpartfs primary ext2 7524 8036
mkpartfs primary linux-swap 8036 8100
quit
upgrade_fs
recovery
For a 4g card divide the numbers in half
thats with a medium swap and i half gig ext3 for your apps
If you have Amon_Ra's latest recovery then all you have to do is partition the SD and USB toggle to add a rom of your choice then simply flash.
i partitioned with recovery, i dont need to reflash rom as it is already flashed. I created the partition as ext3. For what purposes would i need it to be ext4?
also is there an app with which i can back up my apps (ext3 partition) from my old memcard to this new one?

Categories

Resources