Easiest way to remove ext3? - G1 Q&A, Help & Troubleshooting

I'm on a myTouch right now, and thought I'd try running apps off the phone rather than the sd card for once. I can't for the life of me find any good instructions for completely removing the ext3 partition. Would I be best off doing this through gparted? Is there any command I could pop into sdsplit to do what I want? Thanks!

mayormullet said:
I'm on a myTouch right now, and thought I'd try running apps off the phone rather than the sd card for once. I can't for the life of me find any good instructions for completely removing the ext3 partition. Would I be best off doing this through gparted? Is there any command I could pop into sdsplit to do what I want? Thanks!
Click to expand...
Click to collapse
You could use Ubuntu.

wow, did you even bother looking first before posting
downland amon ra"s recovery that is meant for the my touch and in that is a option to partion or format

gridlock32404 said:
wow, did you even bother looking first before posting
downland amon ra"s recovery that is meant for the my touch and in that is a option to partion or format
Click to expand...
Click to collapse
not sure if you guys on mytouch can use cyanogen but if you can, drop into console, and run parted
here are the commands,
Code:
parted /dev/block/mmcblk0
now that you are in parted, type
Code:
print
type
Code:
rm 2
to remove your ext partition, only problem with this is that if you are usng linux swap, a2sd will get all screwy so you will also need to
Code:
rm 3
i recommend doing
Code:
rm 3
rm 2
this will help to ensure you dont run into problems... hope this helps... btw i got the info on using parted and CM recovery1.4 from here
http://forum.xda-developers.com/showthread.php?t=534714

Related

partition question

morning all
yesterday i spent most of my afternoon installing various roms and themes, and last night i was very brave and installed a recovery
im currently running CyanogenMod 3.9.10, now from what i understand this has auto apps2sd but will only work with a partitioned card. my card isnt partitioned.
so
am i right in thinking that 1.4 recovery can do this for me ?
does my card have to be empty / new format to do this ?
and can it be done at this stage of my phone ( theme, rom, radio installed )
many thanks guys
check out this thread it makes it very easy. if you do not have adb then just type in all the commands into the recovery console except in the beginning just hit enter in recovery console to start typing.
thanks for help
is there no easier way to do this ?
that looks complicated
with cm recovery, it's not hard at all. actually, i've done it several times in one day. haha honestly, it's a hell of a lot easier than how i had to partition my card in the first place. i spent hours trying to figure it out, and i praised cyanogen when that recovery image came out.
grandomegabosses said:
with cm recovery, it's not hard at all. actually, i've done it several times in one day. haha honestly, it's a hell of a lot easier than how i had to partition my card in the first place. i spent hours trying to figure it out, and i praised cyanogen when that recovery image came out.
Click to expand...
Click to collapse
dont suppose you could advise me on how i go about it could you please ?
you're going to want to backup the files already on your card
grandomegabosses said:
you're going to want to backup the files already on your card
Click to expand...
Click to collapse
i have done that
okay, i'm not sure if you need to format it, but you might want to, just for good measure.
boot into recovery and go to console. hit enter and type in parted /dev/block/mmcblk0 then hit enter again.
you'll get a whole buncha text telling you your in GNU parted. type in:
p then enter (just to make sure you can see your partitions and stuff)
you should only have 1 partition and it should be a fat32. enter
rm 1
that'll delete the partition. then enter
(these are the commands i put for my 2gb card. change the partition sizes to fit your card. 512mb is a good ext partition. if you're gonna do swap, 32mb is a safe starting)
mkpartfs primary fat32 0 1501
mkpartfs primary ext2 1501 1981
mkpartfs primary linux-swap 1981 2013
then enter p again to make sure you've got everything squared away. enter quit and it'll tell you that you might need to upgrade your filesystems.
enter upgrade_fs and wait until it gives you a # and reboot.
what size card are you using, anyway?
grandomegabosses said:
what size card are you using, anyway?
Click to expand...
Click to collapse
wow
thanks for that hope it works
its 8gig card
when you hit p in GNU parted, make sure you change the partition sizes for your 8gb card. i know... my card is puny! haha
also, do you have adb?
grandomegabosses said:
when you hit p in GNU parted, make sure you change the partition sizes for your 8gb card. i know... my card is puny! haha
also, do you have adb?
Click to expand...
Click to collapse
no i dont have adb ? whats that do ?
i just wondered. it does WAYYYY to much for me to explain right here. haha i just find it easier to type out the commands in the adb shell. but i'm not going to explain how to get adb going... it took me long enough to get it myself... haha
well thanks for the help, im gonna have a crack at this now
see you the other side
good luck
ok done that
when i says i may need to update... update what ? exactly
update your ext partition. that's what the upgrade_fs part was about. sorry
please excuse my sheer lack of knowledge...but how do i do that..i think im lost here
just type in upgrade_fs and hit enter and it'll do it automatically. wait for the # come up after that and type reboot then enter and it'll reboot
grandomegabosses i could kiss you put i wont !
your a star ! many many thanks for helping me out

re partition question

when i partitioned my card fat and ext2 i entered the wrong values
sd now has 484mg and fat is 7gb something, obviously i need to change this
is there a simple way to do this without reformating etc
cheers
Just reformat it again.
supreme, if you reformat using a windows computer, it wont reformat all 3 partitions.... or will it?
s15274n said:
supreme, if you reformat using a windows computer, it wont reformat all 3 partitions.... or will it?
Click to expand...
Click to collapse
No only FAT.
Right... so what is the *best* way to wipe the entire card and start over? I imagine there is a few strings of code you can type in console?
s15274n said:
Right... so what is the *best* way to wipe the entire card and start over? I imagine there is a few strings of code you can type in console?
Click to expand...
Click to collapse
Yea there are, I'm sure AdrianK will post them. I use Ubuntu to format mine. Thats what I'm just use to.
s15274n said:
Right... so what is the *best* way to wipe the entire card and start over? I imagine there is a few strings of code you can type in console?
Click to expand...
Click to collapse
yeah you'd need to use parted in Cyan's recovery, either that or something like Gparted (Linux FTW).
s15274n said:
Right... so what is the *best* way to wipe the entire card and start over? I imagine there is a few strings of code you can type in console?
Click to expand...
Click to collapse
its very easy, just go to recovery alt + x, then press
parted /dev/block/mmcblk0
rm 1
rm 2
rm 3
then remake all your drives. and what you want isnt "wiping" but repartitioning.
http://android-simplicity.blogspot.com/2009/08/how-to-6-how-to-partition-your-sdcard.html
ahh, okay... I have done that but did not realize that was repartitioning (wiping) the entire card. Thanks man.

Does Amon ra's recovery work on g1 and is it any good

I already have my phone rooted but amon ra recovery looks like it can partion sd card from recovery is this true.
Yes it can work, download it for a b board though, I think it is the g branded image. It can partion from your sd into 3 partions and with give a 32mb swap, downside is that is meant for the magic which does not have hardware keyboard so there is no console terminal which will save your ass in case of booty loops, so use it to do the partion if you like but make sure you flash back cyan recovery when you are done
You can partition the sd card in Cyan's recovery in less than 2 minutes. It's not worth losing keyboard functionality.
uansari1 said:
You can partition the sd card in Cyan's recovery in less than 2 minutes. It's not worth losing keyboard functionality.
Click to expand...
Click to collapse
]
how??????????//
twitter.com/thesolomind
david1985 said:
how??????????
Click to expand...
Click to collapse
through a magical thing called the recovery console and a few simple commands.... (secret tip: there is a thread about it in this very section) another tip is it involves mkpartfs primary [file system type i.e. fat32, ext2, linux-swap] [start] [end]
not really that hard to find if you look for it.
http://forum.xda-developers.com/showthread.php?t=534714
B-man007 said:
http://forum.xda-developers.com/showthread.php?t=534714
Click to expand...
Click to collapse
While this link is one way, it's not the simplest way, IMO. What I was referring to was that Cyanogen included Parted partitioning app in his recovery. If you go to console and type the following, you'll get to Parted:
parted /dev/block/mmcblk0
This will allow you to partition your SD card any way you want. A search shall set you free.
uansari1 said:
While this link is one way, it's not the simplest way, IMO. What I was referring to was that Cyanogen included Parted partitioning app in his recovery. If you go to console and type the following, you'll get to Parted:
parted /dev/block/mmcblk0
This will allow you to partition your SD card any way you want. A search shall set you free.
Click to expand...
Click to collapse
lol did you even read the thread.....
he uses parted in cyan's recovery to partition
wait...will the magic's VK work in cyan's recovery console? if it doesn't, you'll have to use windows command prompt with android sdk installed and yadiyada. that's why i used amon ra's because it does everything automatically. i didn't wanna mess installing the sdk and doing it through command prompt.

SDCARD

Well I'm on xROM with HardSPL, stop the flaming I know. My SD CARD doesn't work on xROM so I have to someone downgrade without using a SD Card. Anyway I can do it so I can pop my SD Card back in and reroot? Or somehow change back to Cyan's ROM?
how are you on xRom with the hard spl?
Hey you are up late, wow you have nothing but problems with your sdcard, might want to invest the $15 for a new one.
Can you mount your sd in recovery console by typing ums_enable
That's the thing I had HardSPL and put the xROM in my SDCard and ran it through bootloader. Now nothing works, only calling and messaging. No Wifi nothing. I need to get out if you can help.
gridlock32404 said:
Hey you are up late, wow you have nothing but problems with your sdcard, might want to invest the $15 for a new one.
Can you mount your sd in recovery console by typing ums_enable
Click to expand...
Click to collapse
I can try.
Strless01 said:
That's the thing I had HardSPL and put the xROM in my SDCard and ran it through bootloader. Now nothing works, only calling and messaging. No Wifi nothing. I need to get out if you can help.
Click to expand...
Click to collapse
wtf..... ummm boot into recovery with a cm rom on your sdcard. wipe your phone. flash the cm rom.
I was also wondering that one too david, I was pretty sure you needed the danger spl to run xrom, maybe he means the xrom theme
How do I get back to cyans ROM?
Did you make a nandroid backup at any time like I told you too
gridlock32404 said:
Did you make a nandroid backup at any time like I told you too
Click to expand...
Click to collapse
That would be something I failed at. ): But I'm sticking my card in my dads phone, formatting it then sticking it back in the G1 hope this works!
It's working fine on his phone but not on mine. FML.
His phone prob did not format to fat32, can you mount your card in recovery, try mounting it to your computer with the command I gave you
gridlock32404 said:
His phone prob did not format to fat32, can you mount your card in recovery, try mounting it to your computer with the command I gave you
Click to expand...
Click to collapse
I do, do that but it doesn't read it. It says format and I press it and then it says Unable to format.
It's working fine on my dads phone.
Strless01 said:
I do, do that but it doesn't read it. It says format and I press it and then it says Unable to format.
It's working fine on my dads phone.
Click to expand...
Click to collapse
try to partition it via the recovery console
Try it on your other computer, have you tried throwing against a way yet
Did you ever get a cd-r so you can make a live ubuntu cd yet
david1171 said:
try to partition it via the recovery console
Click to expand...
Click to collapse
How do I do that? I am in the console.
Oh yeah, now that you have cm-recovery 1.4, you can do that now
Hey david can you give this nice young man the commands
gridlock32404 said:
Oh yeah, now that you have cm-recovery 1.4, you can do that now
Hey david can you give this nice young man the commands
Click to expand...
Click to collapse
Is it going to erase all my contacts again?
Formating the card. No. The wipe you are going to need to do before you flash a new rom on your phone, yes and you will have to sign back into google again
gridlock32404 said:
Formating the card. No. The wipe you are going to need to do before you flash a new rom on your phone, yes and you will have to sign back into google again
Click to expand...
Click to collapse
Will I be able to sign in with WIFI? And I'm okay with the contacts, but whats the command to partition it?
To delete existing partitions and repartition via recovery console, here are the commands once you've entered console and then hit enter to get to the prompt:
Copied & pasted from another thread HERE...
parted /dev/block/mmcblk0
print (to verfiy we know what size card we are dealing with. Mine was 8166 read below if yours is different)
rm 1 (if you had more than 1 partition you would want to rm them as well)
mkpartfs primary fat32 0 7622
mkpartfs primary ext2 7622 8134
mkpartfs primary linux-swap 8134 8166
quit
upgrade_fs
recovery
If you just want one partition for fat32, just use the first mkpartfs command and use 0 through whatever the total size of your card is...

Removing partitions on SD card

Alright so i have searched for quite some time and still cannot figure out how to remove the partitions of my SD card. I just want for it to be stock.
I created the partitions obviously with the linux-based android system so I can't undo this with my windows computer. Or at least I believe.
I have a 8 gb SanDisc and when I pull it up in SDFormatter V2.0, it says my card size is 6.90 gb. Is that correct???
Please point me in the right direction!!
Thanks in advance!!
http://forum.xda-developers.com/showthread.php?t=534714
http://tinyurl.com/ykb5nuu
wow, spam. u atleast could of gave a real help link.
hiroots said:
http://forum.xda-developers.com/showthread.php?t=534714
Click to expand...
Click to collapse
Thanks I'll give "rm 1" and "rm 2" a shot!!!
Sorry I overlooked that in the original post I used to partition!
actually that link does help explain how to edit partitions in windows which is what he wanted
Playa4Life352 said:
Alright so i have searched for quite some time and still cannot figure out how to remove the partitions of my SD card. I just want for it to be stock.
I created the partitions obviously with the linux-based android system so I can't undo this with my windows computer. Or at least I believe.
I have a 8 gb SanDisc and when I pull it up in SDFormatter V2.0, it says my card size is 6.90 gb. Is that correct???
Please point me in the right direction!!
Thanks in advance!!
Click to expand...
Click to collapse
If you created your partitions using Parted then you can also remove them this way.
From the recovery consol type:
Parted /dev/block/mmcblk0
rm 1
rm 2
if you have more then rm 3
Then type:
mkpartfs primary fat32 0 xxxx (xxxx being the size of your sdcard)
type quit and your done.
2 things, 1: I am assuming you used Parted to make them because you said you used the android os and 2: this is the wrong section for this.
jokersax11 said:
http://tinyurl.com/ykb5nuu
Click to expand...
Click to collapse
Would it actually work in Windows?.
And sorry about my post count I'm not a noob just got stumped by this.
but something more relevent, like a link from here.
and yeah rm in recovery console.
just use gparted. its the best and most simplest way to part ur sd.
BlueBoar said:
If you created your partitions using Parted then you can also remove them this way.
From the recovery consol type:
Parted /dev/block/mmcblk0
rm 1
rm 2
if you have more then rm 3
Then type:
mkpartfs primary fat32 0 xxxx (xxxx being the size of your sdcard)
type quit and your done.
2 things, 1: I am assuming you used Parted to make them because you said you used the android os and 2: this is the wrong section for this.
Click to expand...
Click to collapse
Kudos 2 you bro and what section would this go in then?
windows would see the partition it just wouldnt know what it was so you just delete all partitions and create a new one.
btw windows has a built in partition manager,
control panel Administrative Tools then computer management and finally storage.
jokersax11 said:
windows would see the partition it just wouldnt know what it was so you just delete all partitions and create a new one.
Click to expand...
Click to collapse
So SDFormatter V2.0 IS seeing all of the partitions when it states that my 8gb is only 6.9 gb?
Playa4Life352 said:
Kudos 2 you bro and what section would this go in then?
Click to expand...
Click to collapse
Q & A
By the way I was not intending to sound like an ass, just letting you know as a lot of people will jump your s**t for posting this in the DEV section.
BlueBoar said:
Q & A
By the way I was not intending to sound like an ass, just letting you know as a lot of people will jump your s**t for posting this in the DEV section.
Click to expand...
Click to collapse
Good lookin. I know how it is. I'm on HoFo all of the time in the cricKet section.
btw please use real software not stupid **** you found on some random website. any trustworthy partition manager would have worked.
jokersax11 said:
btw please use real software not stupid **** you found on some random website. any trustworthy partition manager would have worked.
Click to expand...
Click to collapse
Suggestions??
try windows built in first as i suggested earlier
if not then http://partitionlogic.org.uk/download/index.html is ok but theres better out there. i use built in and gparted
Why do we have so many noon q&a threads in the dev forum

Categories

Resources