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 =]
Related
The swapper setting for it to not get corrupted when mounted is
sytem/sd/swap.swp
Right Because im going to mount my G1 via usb and want to make sure i dont corrupt my sd
/system/sd/swap.swp ... Yeah, that's it. Or do a swap partition (see my sig)
watchyaself said:
The swapper setting for it to not get corrupted when mounted is
sytem/sd/swap.swp
Right Because im going to mount my G1 via usb and want to make sure i dont corrupt my sd
Click to expand...
Click to collapse
you will not corrupt you sd card with swapper on your fat32 partition. the corrupted partition message is a false positive if you restart the phone all is well. i dealt with that message for 3 weeks before moving to the ext3 on the sdcard cause i was tired of restarting my phone to get rid of the message. now i use linux-swap partition it's a whole lot better. if your using jac 2.63 that built in to the rom you just have to create the swap partition. but having the swap on the fat32 will not corrupt your card
I have been trying to set up A2SD for a while now but i cant set up a partition on my sd card.
So far i have got adb to work, but when i connect my g1 to my computer (and mount it) it automatically disconnects when i go into the disk management section.
(my sd card is an 8 gig and trying to set it up on CyanogenMod)
shockaj said:
I have been trying to set up A2SD for a while now but i cant set up a partition on my sd card.
So far i have got adb to work, but when i connect my g1 to my computer (and mount it) it automatically disconnects when i go into the disk management section.
(my sd card is an 8 gig and trying to set it up on CyanogenMod)
Click to expand...
Click to collapse
you can't format your card by mounting it to windows....
if you don't have a card reader, read this tutorial
http://forum.xda-developers.com/showthread.php?t=534714
it has instructions for a swap setup as well but modify it to not have one if you dont want it
Or you can go to the link in my sig. Its a different way of setting up your partitions through a linux live cd.
recovery console (i assume you have 7948 mb, you can verify using "print" after typing "parted /dev/block/mmcblk0) don't type stuff in < >
parted /dev/block/mmcblk0
rm 1 <removes fat32 partition, might want to backup data on this>
rm 2 <removes ext partition, backup apps if you want to (adb pull)>
rm 3 <removes 3rd partition, if existent>
mkpartfs primary fat32 0 7436
mkpartfs primary ext2 7436 7948
quit
upgrade_fs <converts ext2 - ext3>
reboot recovery
flash ROM if you want to...
thanks everyone i was looking for a guide just like these!
your help is much apperciated!
I just got a new SD card (4 gig, class 6) and am attempting to set it up to have three partitions.
A fat32, an ext3 and a linux swap.
I'm using a rather nice tutorial from here on XDA that involves using Ubuntu. Things are going great until I remount the SD card to the phone.
I get an error message that says the card is either empty or using an unsupported format. It then wants me to format it using the phones onboard formater.
I'm at a loss here. I've seen that others seem to have a similar problem, but I don't know if there have been any fixes (at least I haven't found any).
Any suggestions?
So you got it partitioned but did you format the filesystems?
dumfuq said:
So you got it partitioned but did you format the filesystems?
Click to expand...
Click to collapse
Maybe not?
I formated so that I'd have a fat32, an ext3 of about 500megs and a linux_swap of about 32megs. After I saw that it created them I just closed the program.
Is there more to it than that?
If you just used fdisk, parted, or gparted then yes. All these programs do is parition the drive into logical units for filesystems. You still must create the actual filesystems.
From recovery
mke2fs -j /dev/block/mmcblk0p2
mkswap /dev/block/mmcblk0p3
If you just shrunk the fat32 with parted or gparted then that is it. However if you wiped the original partition then that must be formatted as well. You should use windows for that.
dumfuq said:
If you just used fdisk, parted, or gparted then yes. All these programs do is parition the drive into logical units for filesystems. You still must create the actual filesystems.
From recovery
mke2fs -j /dev/block/mmcblk0p2
mkswap /dev/block/mmcblk0p3
If you just shrunk the fat32 with parted or gparted then that is it. However if you wiped the original partition then that must be formatted as well. You should use windows for that.
Click to expand...
Click to collapse
Well that would have been good to know. I'll give that a try right now.
I just bought a nice MicroSDHC 4GB class 6 card. I think I got it cheaper than what I was supposed to, because the package stated it was a class 4, but the card itself said class 6. Got it at Best Buy incase someone wants to know where to get one. I was currently using a regular 2GB card. I am using JACxRom. It automaticly does APPS2SD. Now I want to use my 4GB SDHC. What do I do so I don't lose all of my apps? Now that I have a fast card, what settings do you guys recommend for swapper? Hero roms were too slow for me with my old card. How much faster would Hero roms be on my new card and would you consider it usable for everyday use? Thanks.
JACxRom Thread
Use Switchrom to backup everything on your phone. Create the new partitions on your new sdcard. Copy the FAT32 portion of your old sdcard to your new sdcard. Switchrom restore. Everything should be fine.
My settings with user.conf (128MB Swap)*
60 swappiness
Not using swapper
CPU overclocked via user.conf
*I would make your mmcblk0p3 (3rd partition) 128MB, but then if you find that you need it to be 64MB or whatever, resize it and leave the rest of it unpartitioned. It'll just be a drop in the bucket for your sdcard.
Well, to avoid some hassle, if I don't use a2sd, then all I have to do is backup the fat 32 partion of my card, right? And the apps will stay on the phone? Is the only purpose of a2sd to be able to install more apps? Also, how do I edit files such as the user.conf?
i have like 15 apps but use apps2sd so i don't have to worry about re-installing them when i wipe. if you don't use apps2sd but want to keep a linux-swap partition then you have to edit the a2sd script and comment out the calls to /dev/block/mmcblk0p2 and you have the change the location of where the userinit.sh and user.conf look for your partition from /dev/block/mmcblk0p3 to /dev/block/mmcblk0p2
i use pspad to edit those files in windows, since it will not change the formatting when saving them.
david1171 said:
i have like 15 apps but use apps2sd so i don't have to worry about re-installing them when i wipe. if you don't use apps2sd but want to keep a linux-swap partition then you have to edit the a2sd script and comment out the calls to /dev/block/mmcblk0p2 and you have the change the location of where the userinit.sh and user.conf look for your partition from /dev/block/mmcblk0p3 to /dev/block/mmcblk0p2
i use pspad to edit those files in windows, since it will not change the formatting when saving them.
Click to expand...
Click to collapse
But the a2sd partition doesn't mount when I plug in the G1 to my computer. How do I mount it? Ohh, and about my camera problem: I went to the t-mobile store, and luckily found out my phone still has warranty, so I will get a new phone.
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.