Is it possible to revert the Linux Swap and Ext Partition of Sdcard????
Explain?
Do you mean to remove the partitions?
use parted in the console of your recovery. you can delete the partitions and modify your fat32 to take up the whole card if that's what you mean.
Related
right now im trying to install jacheroski but to do so, i need to reformat my card to fit a new sized fat32 ext2 and linux-swap. so im using paragon partition manager to do so...and the fat32 went fine...but when i try and reformat the ext2 it wont let me at all...
what could this be? and how could i change the ext2 partition to something else or in size?
thx
imakamasta said:
right now im trying to install jacheroski but to do so, i need to reformat my card to fit a new sized fat32 ext2 and linux-swap. so im using paragon partition manager to do so...and the fat32 went fine...but when i try and reformat the ext2 it wont let me at all...
what could this be? and how could i change the ext2 partition to something else or in size?
thx
Click to expand...
Click to collapse
Use cyanogen's recovery console.
alt+x
#parted
#rm 2 <- this will delete the partition
#print <- find out what blocks are free
#mkpartfs primary ext2 xxxx xxxx <- the blocks that were free discovered from the above command
#exit
#reboot
I *think* these instructions should work, go ahead and test them out, if it doesn't, just delete all the partitions and use the instructions from JACHero thread (1st post, bottom) to repartition your sdcard.
well that wouldnt work for me at all...that whole parted process is screwy for me...but what i did was use some sdformatter from like sd association which formatted the whole card finally and now i can use partition manager again..but thx anyways =]
I have a ext 2 and fat32 formatted card and I want to do linux-swap and I'm wondering if I can take my fat32 thats free and partition that as a linux-swap without formatting the fat32.
?
Most of the ROMs expect the partitions to be in the correct order so you would have to respect that anyway.
I'm guessing you want to reduce the size of the FAT partition without losing data to gain space to make a linux swap. In which case you can *in theory* do this in Ubuntu (from live CD). You would need to resize the FAT32 parition, move the ext2 partition to the left so the free space is at the end and create your swap partition there. I haven't tried it though and would want to backup anyway.
In my opinion you would get best results by start fresh on all the partitions. I would backup whats on your fat32 partition onto your computer and then use the directions for in this thread to create all three partitions.
Creating 3 fresh partitions with the directions in that threat eliminate and issues you may have with ROM's that might be cause from the partitions not being done right.
if you really want to do and do not care for your ext3 data (or just search how to back it up) you can go into recovery console for cm recovery image 1.3.1 or later do this
Code:
parted /dev/block/mmcblk0
rm 2
print
now take the space that is left say x amount of space
subtract y amount of space for linux-swap
then z will be amount of space left for ext2
x-y=z
now in parted type
Code:
mkpartfs primary ext2 [end of fat32 partition from print command above] [number of z from equation above]
then (so not to be too confusing)
Code:
mkpartfs primary linux-swap [z from above] [end of sdcard from print command by disk size dev/block/mmcblk0]
print (to verify it worked)
quit (ignore etc/fstab update)
upgrade_fs
reboot
or since this requires a fair amount of understanding of the process of using parted from the recovery image you may want to start from scratch
I have made (approximately) 512MB ext2 partition and used INSTALL.EXE. But haret gives me "no filesystem could mount root" and reboot.
Any ideas? Tested gingerbread and CM6.1. Both gives same results.
Possibly bad SD card?
You also prepared a linux swap partition of 64 MB?
And did you make your fat32, ext2 and linux swap primary?
If those are the case, then it should work afaik.
Else you might want to try a different SD card yes.
Nope, i just had primary fat32 and logical ext2.
I have recreated the way, you said and it works. Thanks!
Glad to see I helped, have fun with android!
matejdro said:
I have made (approximately) 512MB ext2 partition and used INSTALL.EXE. But haret gives me "no filesystem could mount root" and reboot.
Any ideas? Tested gingerbread and CM6.1. Both gives same results.
Possibly bad SD card?
Click to expand...
Click to collapse
You must set fat32 primary in first partition, and set ext2 primary in second partition, Important! ext2 primary must less than 512MB!Just format Fat32, don't format ext2.
I want to install RunnymedeMod and it requires that I have a 1GB Ext4 partition. I have an 8GB SD Card...
I use Minitool Partition to create a 1GB Ext4. I apply the changes... I take the ROM zip file and put it on my SD card. When I go to the Recovery to install it, I go to chose the Zip file and it isn't there...
I boot my phone back up and open my SD card's file on my PC. When I look, the partition is no longer there and the ROM zip isn't on my SD anymore... it is getting frustrating.
Any helpful ideas?
The reason you can't see the 1GB partition is because Windows cannot read ext partitions. I suggest you install 4ext recovery, then create an ext2 partition and then upgrade it to ext3 and the lastly ext4. This is your best bet to make sure it's partitioned correctly and smoothly.
Theshawty said:
The reason you can't see the 1GB partition is because Windows cannot read ext partitions. I suggest you install 4ext recovery, then create an ext2 partition and then upgrade it to ext3 and the lastly ext4. This is your best bet to make sure it's partitioned correctly and smoothly.
Click to expand...
Click to collapse
So I have touch 4Ext Recovery... when I want to create partitions it says First Ext and Second Ext and then Swap size.
I have an 8GB SD and I need a 1GB Ext4 partition.
Chubby_Skunk said:
So I have touch 4Ext Recovery... when I want to create partitions it says First Ext and Second Ext and then Swap size.
I have an 8GB SD and I need a 1GB Ext4 partition.
Click to expand...
Click to collapse
First ext: 1gb, skip second ext and skip swap. Then upgrade to ext3 and lastly ext4.
Sent from my Nexus One using Tapatalk
I tried to make a EXT4 partition on my SD card to use it for A2SD. I used MiniTool Partition Wizard, it went well. But after I restarted the phone, nor the MiniTool Partition Wizard, nor the Windows Disk Management can't see the EXT4 partition. I just lost ~200MB of space from my 2GB card. Is there a way to repair this or can I think about buying a new SD card?
Also, in CWM recovery everything associated with EXT partitions gives me errors.
ROM: Prime HD 5.0
Kernel: nAa-11
-------------------
L.E.:
Problem solved. Partition SD in the advanced menu of recovery.
Try running these commands in the terminal (the EXT partition will be formated):
Code:
su
a2sd formatext
If you get an error, you will need to use GParted (a Linux partition tool) to create correctly the EXT partition.
EDIT: Gparted also can recover your "lost space" if you wish.