Remove Ext2? - G1 General

I've tried a search to no avail. I don't have adb currently on my Vista machine, but I was wondering how to remove a ext2/ext3 partition from my sd through terminal. I recently got a Trancend 8GB Class 6, and I'd love to give my old stock 1GB to my wife. Sorry if this is a repeat. Thanks!

use gParted in linux. if you don't have a clue what i am talking about then you need to search

tubaking182 said:
use gParted in linux. if you don't have a clue what i am talking about then you need to search
Click to expand...
Click to collapse
I do know what you are talking about, because i've used google, thanks. I have no computer at the moment, and have been partitioning my SD using SdSplit. Instead of telling everyone to search, how about you read? Is there anyway to do this through terminal?

No. Terminal or web do not have the programs need for this kind of function. You need to use a computer for this.

Technically, you can do it through the phone by formatting SD Card. Whenever I've had a problem with an ext2/ext3 (usually bootlooping after a ROM flash), I just backup everything on my FAT partition and go to Settings => SD Card and Phone Storage => Unmount SD Card => Format SD Card.
I'm fairly sure this method deletes the partition because df and mount don't show it...could be wrong though.

I am M3 said:
Technically, you can do it through the phone by formatting SD Card. Whenever I've had a problem with an ext2/ext3 (usually bootlooping after a ROM flash), I just backup everything on my FAT partition and go to Settings => SD Card and Phone Storage => Unmount SD Card => Format SD Card.
I'm fairly sure this method deletes the partition because df and mount don't show it...could be wrong though.
Click to expand...
Click to collapse
I thought so too, but it doesn't seem to be working...

Related

cant format sd card after trying to install hero rom

I tried to install the hero rom and went to format the sd card with paragon but for some reason it shows my whole sd card as ext2 and I try to delete the partition and format it but it never works. Is there anyway to bring my sd back to life?
right click on the partition and resize then reclick on the unallocated side and create partion fat32
HOGWILD said:
right click on the partition and resize then reclick on the unallocated side and create partion fat32
Click to expand...
Click to collapse
I can't do that when I try to it doesn't list the sd as an option. I just have the delete partition ioption but when I remove and re insert my sd it still reads as ext2. idk if I fried the card this sux tho it was only like 3 months old..
Download gparted and boot into that.
Was having similar problems with my sd card. In order to get it to work I used the recovery cd in paragon and it finally read it correctly which allowed me to format it. The recovery cd is provided in paragon. Just go to the "Boot and Rescue" section and follow the steps to create one. Then just restart your computer with it in your dvd drive and it wil automatically boot to it, unless you have that changed for some odd reason.
And the sd card must be in a card reader other than the g1 (a usb reader will work). It just won't mount correctly through the recovery disc of you use your phone
CashMoney474 said:
Was having similar problems with my sd card. In order to get it to work I used the recovery cd in paragon and it finally read it correctly which allowed me to format it. The recovery cd is provided in paragon. Just go to the "Boot and Rescue" section and follow the steps to create one. Then just restart your computer with it in your dvd drive and it wil automatically boot to it, unless you have that changed for some odd reason.
And the sd card must be in a card reader other than the g1 (a usb reader will work). It just won't mount correctly through the recovery disc of you use your phone
Click to expand...
Click to collapse
Ok I will try that now and yes I've only used the sd card reader so hopefully that will work.thank you..will report back if it works.thank you

[Q] Help, my 16GB now shows as 8GB after 1GB partition in ClockWorkMod

I received a new 16GB micro SD card and put it into my phone.
I partitioned it in ClockWorkMod and started moving files (Music, photos etc) from the computer to my new card. While copying the blue screen of death came up on my laptop. This never happened before but upon reboot I tried to carry on copying files and it came up saying I have to format my card. I tried to format but it refuses to so I tried a full format, that didnt work either.
My 16GB micro SD card is now reading as 8GB. Can anyone help???
Have you tried removing the partition in gparted and then formatting?
Try using Panasonic SD Card Formatter
LiFE1688 said:
Try using Panasonic SD Card Formatter
Click to expand...
Click to collapse
I have, it comes up as saying the memory card failed to format.
You can't just format...you're going to have to repartition the card. You can use gparted like nokn suggested or any of the various windows partition tools out there. After you have set up the partition(s) you can format the card.
Just wondering what settings you used with the SD Formatter?
Did you enable RESIZE? Did you do a FULL Format with Erase on?
These two settings are pretty important. Another thing to look at would be [email protected], you can "KILL" a whole drive, which essentially writes a ZERO from beginning to end of the drive.
bdkinney said:
You can't just format...you're going to have to repartition the card. You can use gparted like nokn suggested or any of the various windows partition tools out there. After you have set up the partition(s) you can format the card.
Click to expand...
Click to collapse
I opened up a program called Partition Wizard and I managed to unallocate the partition and then resize the card to fat but only up to 8GB. It still refuses to be formatted or for anything to be written on it.
LiFE1688 said:
Just wondering what settings you used with the SD Formatter?
Did you enable RESIZE? Did you do a FULL Format with Erase on?
These two settings are pretty important. Another thing to look at would be [email protected], you can "KILL" a whole drive, which essentially writes a ZERO from beginning to end of the drive.
Click to expand...
Click to collapse
In SD Formatter v3.0.0.0 I opened options I selected Format Type as Full Erase and Format Size Adjustment as On and it came back as failed. Now my card is showing up as 8MB . It is also saying the memory card is write protected.

[Q] Failed to setup APP2SD

Hey guys,
I decided to setup my sd card today cause my phone internal memory was constantly running out. I followed the stickies on how to partition the SD using EASEUS. After I partitioned the app2sd partition, i booted up my phone. The phone says there is no sd card. So i rebooted the phone and mount my SD card through recoverymod. I can still see my sd card and files inside of it, but it only has 7GB left instead of 8GB. EASEUS too only detects only one partition of 7GB. Other then mounting the storage through recoverymod's Mounting USB Storage, the sd card cant be mounted anywhere else. Recoverymod shows Error: failed to mount /sdcard for all functions that require the sd card.
Has anyone came across this problem and fixed it ?
ackz said:
Hey guys,
I decided to setup my sd card today cause my phone internal memory was constantly running out. I followed the stickies on how to partition the SD using EASEUS. After I partitioned the app2sd partition, i booted up my phone. The phone says there is no sd card. So i rebooted the phone and mount my SD card through recoverymod. I can still see my sd card and files inside of it, but it only has 7GB left instead of 8GB. EASEUS too only detects only one partition of 7GB. Other then mounting the storage through recoverymod's Mounting USB Storage, the sd card cant be mounted anywhere else. Recoverymod shows Error: failed to mount /sdcard for all functions that require the sd card.
Has anyone came across this problem and fixed it ?
Click to expand...
Click to collapse
It seems that your sdcard is corrupted.
Try to backup all data and reformat all partitions in linux
Windows can't recognize second partition on sdcard & it can sometimes mess up the partition.
Try GParted (google it).
d4rkkn16ht said:
It seems that your sdcard is corrupted.
Try to backup all data and reformat all partitions in linux
Windows can't recognize second partition on sdcard & it can sometimes mess up the partition.
Try GParted (google it).
Click to expand...
Click to collapse
I tried browsing my SD card through GParted ( linux version and boot cd version), and all of them shows only 1 partition of 7gbs. One G is still missing and sd card still fails to work .
ackz said:
I tried browsing my SD card through GParted ( linux version and boot cd version), and all of them shows only 1 partition of 7gbs. One G is still missing and sd card still fails to work .
Click to expand...
Click to collapse
Did you make a backup of your sd before creating the sd ext partition
? Should be written in each tutorial concerning sd ext creation.
Otherwise your data is no more.
As already written, windows is not able to read a sd ext partition. its fully right, that your fat32 partition shows only 7gb, the other 1gb is used from the sd ext and not viewable by windows.
...to create a sd-ext very easy go into cwm-advanced-format sd card and chose 1gb ext 0 swap.
Sent from my HTC HD2 using XDA Premium App
ackz said:
I tried browsing my SD card through GParted ( linux version and boot cd version), and all of them shows only 1 partition of 7gbs. One G is still missing and sd card still fails to work .
Click to expand...
Click to collapse
Try this :
Backup all data in your micro SD.
Open & boot your computer using Gparted Linux / Parted Magic Linux / any other linux that has GParted / Parted inside its LiveCD
Run Gparted.
Delete all partitions.
Options:
Create sd-ext partition using GParted :
Create 1 fat32 Partition (as Primary) & adjust the size to your liking
Create 1 ext3/ext4 (as Primary...check if your android kernel support ext4) & adjust the size to your liking (usually 1 - 2 GB is enough)
Create sd-ext partition using CW Recovery:
Create fat32 Partition (as Primary...use all space)
Boot HD2 into AD Recovery
Go to Advanced menu
Format & choose sd-ext partition options
Flash your fav. ROM
Notes:
I personally like Parted better than GParted as it's a lot quicker & more advanced options (GParted is only a front-end for Parted).
Parted is for advanced user & TUI.
If you want to try Parted,make sure you read the manual & understand everything related to your actions (open console / terminal & type : man parted)
Use Parted using Root access (open console / terminal & type : sudo parted).
Use it with caution as it can wipe all of your hard drive data !
For more info about Parted try this link :
GNU Parted

[Q] Cannot use internal sd to store applications after partitioning

Hello
I accidentaly partitioned my internal SD from the recovery console. I can see it fine, when my phone boots under cm9. The problem is that I cannot use it to store applications.
When I go to settings->storage, I can see the following storages :
1) Internal Storage total space 114MB
2) USB Storage total space 7.38GB
I tried to install google maps and I got a not enough available memory message.
Post in Q&A section please
Btw you can re-partition it again and try
Sorry. I said it was a question somewhere, though!!
I repartitioned it again a while ago, and I still get internal storage 114MB, which means I have very little space to install apps that cannot be moved to the SD.
Am I missing something else here?
divined2004 said:
Sorry. I said it was a question somewhere, though!!
I repartitioned it again a while ago, and I still get internal storage 114MB, which means I have very little space to install apps that cannot be moved to the SD.
Am I missing something else here?
Click to expand...
Click to collapse
Depending on what type of partition you may have made earlier ...rfs or ext 4.. your phone may be only reading one of this partitions...best to unmount and format to your current phones format
I repartitioned and formated it under recovery mode.
Nonetheless, when I go to settings->storage, I can only see the 7.38GB of the internal SD under the USB STORAGE section.
I only have 152KB of recognizable internal storage available now, which means I can`t install anything.
I use the recovery mode to partition the internal SD. I want my internal SD, to be recognized as internal, as it used to be before I used the partition utility.
Gasp!!
divined2004 said:
I repartitioned and formated it under recovery mode.
Nonetheless, when I go to settings->storage, I can only see the 7.38GB of the internal SD under the USB STORAGE section.
I only have 152KB of recognizable internal storage available now, which means I can`t install anything.
I use the recovery mode to partition the internal SD. I want my internal SD, to be recognized as internal, as it used to be before I used the partition utility.
Gasp!!
Click to expand...
Click to collapse
undo your lagfix FIRST ..than use menu > settings> storage> unmount and format to recover full SD card space
I found this thread http://forum.xda-developers.com/showthread.php?t=733343
where someone gives a script that removes the lagfix, or so he claims. Can I copy it over to my phone and then use the terminal to execute it?
divined2004 said:
I found this thread http://forum.xda-developers.com/showthread.php?t=733343
where someone gives a script that removes the lagfix, or so he claims. Can I copy it over to my phone and then use the terminal to execute it?
Click to expand...
Click to collapse
pretty old thread, not sure as to what kernel that script is for .
Why not try to undo partition in recovery as that option should be there...the same way you were able to partition .
Sorry pal for being so persistive but I cannot find any undo partition in the recovery.
Do I really need to lagfix before I try what you suggested before? What does the lagfix do anyway?
One important thing I just noticed. I cannot unmount it, under settings->storage because it ain`t recognized under the SD CARD section but under USB STORAGE.
Ain`t that odd?
divined2004 said:
Do I really need to lagfix before I try what you suggested before? What does the lagfix do anyway?
Click to expand...
Click to collapse
one and the same thing lagfix changes rfs (original samsung format) to ext 2 or ext 4 formats
the partitioning you have done... I assume is to ext 4 or is it ext 2?
divined2004 said:
One important thing I just noticed. I cannot unmount it, under settings->storage because it ain`t recognized under the SD CARD section but under USB STORAGE. Ain`t that odd?
Click to expand...
Click to collapse
well, this would be case, because, you have two different partitions and your system cannot read one because its is using the other.
In storage you can unmount and format using your PC, as that would be the only option for you now (so best you use this option, but first copy the entire contents of SD card to your PC) after format you can copy what you need back to your SD card
or you can use this http://forum.xda-developers.com/showthread.php?t=1709398
but be careful which drive you format

[HELP]Can't read SD Card after formating

Guys help me please. I partition my sd card. few months ago. last night i formatted my SD card. after that. SD card can't mount. please help me. what to do ? also my computer can't read it please help me how to fix it . thanks in advanced.
first backup any data you have on your sd card
remove all partitions with minitool and create a new partition of fat32 and format it with minitool
next boot up your phone with the sd card in
goto
settings
storage
unmount sd card
erase/format sd card
now go into cwm - you sd card will now be mountable
for the 2nd partition create it in cwm
cant remember exactly where the option is from memory but its under something like partitions
just create a 2nd partition of 1024mb with 0 swap
you can then copy any backups back to sd card
marcussmith2626 said:
first backup any data you have on your sd card
remove all partitions with minitool and create a new partition of fat32 and format it with minitool
next boot up your phone with the sd card in
goto
settings
storage
unmount sd card
erase/format sd card
now go into cwm - you sd card will now be mountable
for the 2nd partition create it in cwm
cant remember exactly where the option is from memory but its under something like partitions
just create a 2nd partition of 1024mb with 0 swap
you can then copy any backups back to sd card
Click to expand...
Click to collapse
i don't have any backups i format my sd card by using my phone. in the settings. after that. i put some files in my sd card. then a day after. my phone can't mount my sd card. even my computer can't read my sd card so minitool will not work on this what to do. my sd card is not readable.
ChristianMonteon said:
i don't have any backups i format my sd card by using my phone. in the settings. after that. i put some files in my sd card. then a day after. my phone can't mount my sd card. even my computer can't read my sd card so minitool will not work on this what to do. my sd card is not readable.
Click to expand...
Click to collapse
if you are unable to read your sd card via a card reader on a pc (not via phone usb cable) in order to delete partitions and recreate them, its best you get a new sd card
marcussmith2626 said:
if you are unable to read your sd card via a card reader on a pc (not via phone usb cable) in order to delete partitions and recreate them, its best you get a new sd card
Click to expand...
Click to collapse
how sad. btw. Thanks :good:
My computer also once was not able to read my sd card but minitool partition wizard detected it.... What i did then was that i deleted all the partitions and created a new one with
Label--Android-SD
Type - Primary
File type -- Fat32
After i did this .. My phone and computer both read the sd card...
Hope this helps for u too..
Press thanx if it helps you
Sent from my GT-S5360 using Tapatalk 2
Tanuj Chandolia said:
My computer also once was not able to read my sd card but minitool partition wizard detected it.... What i did then was that i deleted all the partitions and created a new one with
Label--Android-SD
Type - Primary
File type -- Fat32
After i did this .. My phone and computer both read the sd card...
Hope this helps for u too..
Press thanx if it helps you
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
minitool partition wizard cant read my memory card too
ChristianMonteon said:
minitool partition wizard cant read my memory card too
Click to expand...
Click to collapse
You are using card reader or usb cable..?
U have to use card reader..
Sent from my GT-S5360 using Tapatalk 2
Tanuj Chandolia said:
You are using card reader or usb cable..?
U have to use card reader..
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
I think that's not the problem, i use a MP3 player with USB
If you plug your sdcard on linux-based using anything it should be /dev/sdc
Do a dd if=/dev/sdc of=/home/[your user]/Desktop/sdcard.img
After that install WinImage http://www.winimage.com/
Open the img with winimage it will tell you where to connect,
choose first primary fat32 partition open menu -> extract all with subdirectories, :good:
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Best way to recover files but for the sdcard i think it will be better to buy a new one

Categories

Resources