[SOLVED] Error: Can't have a partition outside the disk! - G2 and Desire Z Q&A, Help & Troubleshooting

Searched before posting.
Can't partition this card...something about the table?
adb reboot recovery
adb shell
~# parted/ dev/block/mmcblk0
Welcome to GNU Parted!
(parted) print
print
print
Error: Can't have a partition outside the disk!

The sdcard is on the HTC Vision is device block mmcblk1, you should read the xda wiki on the HTC Vision. If you were to of have successfully partition mmcblk0 your would have completely bricked the phone.

OH MY GOD
I was just following the other guide here EEK (http://forum.xda-developers.com/showthread.php?t=534714)
Will try again with no1, big thanks!

adrienspawn said:
OH MY GOD
I was just following the other guide here EEK (http://forum.xda-developers.com/showthread.php?t=534714)
Will try again with no1, big thanks!
Click to expand...
Click to collapse
Please don't follow a system-level guide for another Android phone unless you know for 100% definite it's safe for the Vison !

Success!
15.4GB Fat32
1.2GB Ext2 or 3
steviewevie said:
Please don't follow a system-level guide for another Android phone unless you know for 100% definite it's safe for the Vison !
Click to expand...
Click to collapse
I was actually following a "Universal Android" guide, but it turns out it was copy-pasted from that one here at XDA

Please post guide
Sent from my T-Mobile G2 using XDA App

This shouldn't really be in the dev forum though

thatruth132 said:
Please post guide
Sent from my T-Mobile G2 using XDA App
Click to expand...
Click to collapse
Here: http://androidandme.com/2009/08/news/how-to-manually-partition-your-sd-card-for-android-apps2sd/
Sent from my HTC G2.

http://androidandme.com/2009/08/news/how-to-manually-partition-your-sd-card-for-android-apps2sd/
Successfully partitioned my 16gb class 10 micro sd card thru ADB in Clockworkmod recovery following most of the commands in the above link, only thing diffrent from the instructions was the HTC Visions sdcard is at /dev/block/mmcblk1 not dev/block/mmcblk0, dont know if anyones intrested , so if your are let me know and Ill post what I did.
So remember do not try to partiton /dev/block/mmcblk0.

joemm said:
Successfully partitioned my 16gb class 10 micro sd card thru ADB in Clockworkmod recovery following most of the commands in the above link, only thing diffrent from the instructions was the rm command and also the /dev/block/mmcblk1 not dev/block/mmcblk0, dont know if anyones intrested , so if your are let me know and Ill post what I did.
Click to expand...
Click to collapse
Does this enable apps2ext?

blackknightavalon said:
Does this enable apps2ext?
Click to expand...
Click to collapse
Yes in Enoms rom, there is an option for app2extfs under spare parts. I've enabled it in the spare parts settings but have a few questions about is functionality, I emailed Enom about it, waiting for a reply.
Sent from my T-Mobile G2 using XDA App

Related

[Q] SD partitioning!?

Hi,
I have been googling an searching in this forum all seem to get is ooold posts...
My issue is partitioning my SD since the internal memory disappears like yesterday. From what I have found the proper way to do this is to connect the SD to external device ---> boot linux and do it in gparted (Ubuntu 11.04 liveCD).
Yeah, that work like a charm... NOT... well actually it partitions the fat32 and ext4 partition... not problem but when I try to mount the ext4 partitions it doesnt work! I presume it suppose to work...
The other thing I tried was to partition with clockwork recovery, that to worked fine but no partition.
- Hope I understand this correct but if one would partition in clockwork recovery I would be able to see this partition in gparted when done, right?
- And when I start to partition the SD I should have one fat32 partition consumes the whole SD or should I leave the size of ext4 unpartitioned?
Can someone pretty please guide me thrue this please... and before you say it Yes I have found previous guides about this but not work for me...
What is the latest Clockwork recovery and Amon RA recovery?
- Which one work best with partitioning?
Oh, I should perhaps mentions what phone and ROM....
Phone: HTC Desire
SD: Sandisk 32GB class 6
ROM: GingerBurst (seems good) or if somebody have any other suggestion... like sence and weather widget....
CRzz said:
What is the latest Clockwork recovery and Amon RA recovery?
- Which one work best with partitioning?
Click to expand...
Click to collapse
Check out the recovery in my signature.
Hi,
I also had loads of probelms with this...
If you want to partition you SD card via recovery i strongly recommend AmonRA.
If partitioning via gparted didn't work for your sdcard (which is odd...) i recommend using a simple Windows app called MiniTool Partititoning Wizard (it's free)...so just dl that app,enable usb debbuging on your Desire,plug in the phone,run the app, and follow this simple video tut> http://www.youtube.com/watch?v=aCV7Eu1pjWQ
k3lcior said:
Check out the recovery in my signature.
Click to expand...
Click to collapse
Wow... I did.... flashed that recovery...at the moment I am flashing ROM.
Will let u know if it works, noticed that the recovery always say that my sd-ext partition is unformated everytime when I start it... thats odd.
I will let u know if it works.
BIG thank you this far!
Oh, I must forgotten to post what happened...
I was not able to flash new Rom with my 32gb SD but when I tried my 4gb SD card it worked fine. I would guess that there is something wrong with my SD card. I shall buy a new one and se what happens...
Sent from my HTC Desire using XDA App
CRzz said:
Oh, I must forgotten to post what happened...
I was not able to flash new Rom with my 32gb SD but when I tried my 4gb SD card it worked fine. I would guess that there is something wrong with my SD card. I shall buy a new one and se what happens...
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Before doing that make sure that both your partitions are primary and you have unchecked the "Take ownership of filesystem" option in Disk Utility from Ubuntu.
paul.c said:
Before doing that make sure that both your partitions are primary and you have unchecked the "Take ownership of filesystem" option in Disk Utility from Ubuntu.
Click to expand...
Click to collapse
Thats something new... I didn't see anything about that in the guides. Can that option give me my issues if enabled?
Which if the two default partitioning tools are you referring to in Ubuntu?
Sent from my HTC Desire using XDA App
CRzz said:
Thats something new... I didn't see anything about that in the guides. Can that option give me my issues if enabled?
Which if the two default partitioning tools are you referring to in Ubuntu?
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
I only know gparted (gnome partiton editor).
MatDrOiD said:
I only know gparted (gnome partiton editor).
Click to expand...
Click to collapse
Muuu... No change there....

[Q] E:Can't mount /dev/block/mmcblk0

Hello,
I'm using the MIUI XJ D2EXT ROM, and bought a new sd card (16gb, class 10).
I formatted it, a 1gb ext4 partition, a 300mo ext4 partition and the rest as a fat32 partition.
I copypasted the content of my fat32 partition from my old sd card to the new, and did a nandroid backup of the rest. I transferred the new MIUI XJ rom on my new sd card as well (I'm changing sd card and upgrading the rom).
The problem is that when I get to the recovery mode, as soon as I try to mount the sd card or access it to install the .zip, it says :
"E:Can't mount /dev/block/mmcblk0 (or /dev/block/mmcblk0p1)"
I browsed google a bit to see if there were any solutions but they either didn't work or I didn't understand them.
Any idea and advice to solve this problem ? I'm stuck =X
Thanks.
The fat partition is the first partition, yeah?
Sent from my HTC Desire using xda premium
rootSU said:
The fat partition is the first partition, yeah?
Sent from my HTC Desire using xda premium
Click to expand...
Click to collapse
Yeah, primary partition, and it's at the start of the sd card.
look on my guide
bortak said:
look on my guide
Click to expand...
Click to collapse
I don't seem to understand how it should work. Do I have to write the commandes in the command console, via windows+r and cmd ? Then it says that fastboot isn't a known command...
Or is it another soft to launch ?
Follow installation guide for adb / fastboot in my sig. Then follow bortak's guide. The commands have to be run in cmd (windows) or terminal (linux).
MatDrOiD said:
Follow installation guide for adb / fastboot in my sig. Then follow bortak's guide. The commands have to be run in cmd (windows) or terminal (linux).
Click to expand...
Click to collapse
Can't get the fastboot commands to work, I'm S-ON and the software to unlock it doesn't detect my mobile phone =X
To use fastboot you have to be S-OFF.
SwiftKeyed from dGB with Transparent XDA App

[Q] [Help] Android & Windows don't pick up sd

So today instead of formatting to fat32 i accidently formatted to ntfs and yes iv'e searched all over but all the apps say i need "modprobe fuse" and the incredible doesn't seem to have it :/
I really don't wanna move to my iphone so any help would be nice, thanks in advance
Danielombasa612 said:
So today instead of formatting to fat32 i accidently formatted to ntfs and yes iv'e searched all over but all the apps say i need "modprobe fuse" and the incredible doesn't seem to have it :/
I really don't wanna move to my iphone so any help would be nice, thanks in advance
Click to expand...
Click to collapse
Cant you just take out the sd and use a card reader and a pc to format it back to fat32?
cmlusco said:
Cant you just take out the sd and use a card reader and a pc to format it back to fat32?
Click to expand...
Click to collapse
the problem is i don't have one, oh well i think it's time to retire this phone :/
thanks cmlusco
Danielombasa612 said:
the problem is i don't have one, oh well i think it's time to retire this phone :/
thanks cmlusco
Click to expand...
Click to collapse
Well its up to you. You can get one of those adapters at walmart for like $3.
Danielombasa612 said:
the problem is i don't have one, oh well i think it's time to retire this phone :/
thanks cmlusco
Click to expand...
Click to collapse
Or learn some adb and format in recovery. I hate to see a phone given up on due to an issue reading a sdcard.
Also android has a format option in the storage menu. Have you tried that?
Sent from my Galaxy Nexus using Tapatalk 2
tiny4579 said:
Or learn some adb and format in recovery. I hate to see a phone given up on due to an issue reading a sdcard.
Also android has a format option in the storage menu. Have you tried that?
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
i booted to cwm, couldn't format because the phone doesn't recognize it.
tired it from cm10.1 storage, no luck so idk anymore.
Try this:
1. Reboot into recovery.
2. Connect phone to PC (must have working adb)
3. Start->Run->cmd
4. Type adb shell where you normally would run adb.
5. mkdosfs -F 32 /dev/block/mmcblk1p1
Or simpler, did you try wiping external storage (in TWRP recovery) or a similar sdcard wipe in CWM?
tiny4579 said:
Try this:
1. Reboot into recovery.
2. Connect phone to PC (must have working adb)
3. Start->Run->cmd
4. Type adb shell where you normally would run adb.
5. mkdosfs -F 32 /dev/block/mmcblk1p1
Or simpler, did you try wiping external storage (in TWRP recovery) or a similar sdcard wipe in CWM?
Click to expand...
Click to collapse
adb keeps giving me "error device not found"
& i had cwm installed because i had to flash an unsigned zip T.T
ty anyways for your help guys!
p.s i've always loved your ROM's & kernels keep it up dude ^^
Danielombasa612 said:
adb keeps giving me "error device not found"
& i had cwm installed because i had to flash an unsigned zip T.T
ty anyways for your help guys!
p.s i've always loved your ROM's & kernels keep it up dude ^^
Click to expand...
Click to collapse
Do the commands in a terminal emulator app.
su
mkdosfs -F 32 /dev/block/mmcblk1p1
cmlusco said:
Do the commands in a terminal emulator app.
su
mkdosfs -F 32 /dev/block/mmcblk1p1
Click to expand...
Click to collapse
mkdosfs -F 32 /dev/block/mmcblk1p1: not found
thats what it says

Help fixing Droid Inc's emmc after NTFS format?

Guess what guys, I thought it would be a smart idea to format my Dincs internal storage to NTFS...I needed to transfer a big file and didn't have anything on it so it seemed like a good idea. Yes I didn't have a flash drive. Anyway, it didn't turn out good. I'm not really worried about being able to use it again (I have a 32gb sd card) but I don't like broken things. I'd like to fix it, I've already done some homework but have got no results. I am currently running this for anyone interested. http://forum.xda-developers.com/showthread.php?t=2143575 Any ideas on how to get it to work again? Even my computer won't read it -___-
AdrianCO said:
Guess what guys, I thought it would be a smart idea to format my Dincs internal storage to NTFS...I needed to transfer a big file and didn't have anything on it so it seemed like a good idea. Yes I didn't have a flash drive. Anyway, it didn't turn out good. I'm not really worried about being able to use it again (I have a 32gb sd card) but I don't like broken things. I'd like to fix it, I've already done some homework but have got no results. I am currently running this for anyone interested. http://forum.xda-developers.com/showthread.php?t=2143575 Any ideas on how to get it to work again? Even my computer won't read it -___-
Click to expand...
Click to collapse
Format the internal SD with recovery?
Sent from my Galaxy Nexus using xda app-developers app
Do you have adb setup and working on your pc?
You need to be in recovery and then open an adb shell. Run the folowing hitting enter after each line.
Code:
parted /dev/block/mmcblk0p3
print
You will see a line starting with "Disk /dev/block/mmcblk0p3: ...MB"
What ever that size says at the end use in the following line.
Code:
mkpartfs fat32 0 ...MB
cmlusco said:
Do you have adb setup and working on your pc?
You need to be in recovery and then open an adb shell. Run the folowing hitting enter after each line.
Code:
parted /dev/block/mmcblk0p3
print
You will see a line starting with "Disk /dev/block/mmcblk0p3: ...MB"
What ever that size says at the end use in the following line.
Code:
mkpartfs fat32 0 ...MB
Click to expand...
Click to collapse
Sorry for the extremely late reply, I've been without internet for the longest time now. Anyways, as much I would've liked to fix it, I've upgraded my device. Thanks a lot for your comment though!:laugh:

[Q] Internal Storage, help

hello
i have a HTC Desire with Cyanogenmod 10.1 and i have the following problem, my internal storage is running short. my internal storage is 148 mb and my sd card have 6,46 GB.
is there any way to resize my internal storage partition? cause i have lots of apps, i use AppMgr pro to transfer the data to sd card but im always with low space on internal storage... any way to solve this?
sorry if the info is in the fórum, havent found it...
shaca said:
hello
i have a HTC Desire with Cyanogenmod 10.1 and i have the following problem, my internal storage is running short. my internal storage is 148 mb and my sd card have 6,46 GB.
is there any way to resize my internal storage partition? cause i have lots of apps, i use AppMgr pro to transfer the data to sd card but im always with low space on internal storage... any way to solve this?
sorry if the info is in the fórum, havent found it...
Click to expand...
Click to collapse
Yes, there is a solution. You can add partition to your sd-card and format it as ext4. This you can do via computer (unix program GParted, it's also as a bootable CD, so you don't need to install linux) or via recovery (but NOT clockworkmod recovery, it does it wrong way). Recomended size of this partition is 1 GB. Your rom is probably contains a2sd script, so then you only open Terminal emulator and type "su" and then "a2sd install". You should choice "Y, N, Y", but it's on you. Here you are .
SemaiCZE said:
Yes, there is a solution. You can add partition to your sd-card and format it as ext4. This you can do via computer (unix program GParted, it's also as a bootable CD, so you don't need to install linux) or via recovery (but NOT clockworkmod recovery, it does it wrong way). Recomended size of this partition is 1 GB. Your rom is probably contains a2sd script, so then you only open Terminal emulator and type "su" and then "a2sd install". You should choice "Y, N, Y", but it's on you. Here you are .
Click to expand...
Click to collapse
sweet, tnks mate
is there a guide for this in case i do it wrong?
There is a guide, click the troubleshooting guide by bortak in my sig and go to the last page, and ul see a post by abaaaabbbb. In his sig theres the guide he wrote. If u want to do it using recovery then only use 4ext.
jmcclue said:
There is a guide, click the troubleshooting guide by bortak in my sig and go to the last page, and ul see a post by abaaaabbbb. In his sig theres the guide he wrote. If u want to do it using recovery then only use 4ext.
Click to expand...
Click to collapse
ty
jmcclue said:
There is a guide, click the troubleshooting guide by bortak in my sig and go to the last page, and ul see a post by abaaaabbbb. In his sig theres the guide he wrote. If u want to do it using recovery then only use 4ext.
Click to expand...
Click to collapse
I'll also reply here, just for any future reference
abaaaabbbb63 said:
I'll also reply here, just for any future reference
Click to expand...
Click to collapse
I was on my phone when i posted, using xda app n couldnt be bothered going into me browser and getting the link (too much effort :laugh: ) anyway link is here now for others :silly:
I dont get it... why use the YNY option when u can use a2sd xdata ?

Categories

Resources