
6th November 2012, 04:46 PM
|
Member - OP
Thanks Meter 4
Posts: 78
Join Date: Jul 2012
Location: Budapest
|
[Q] Where do I find a 2nd SDcard partition?
Hi,
I formatted my external SDCard with 2 partitions, so I could use it with Link2SD. Since I am on a Mac I only could format the first one, which is FAT32. Now I need to format the 2nd with ext4 but I can only do this from inside the phone. Which is no problem, except I do not understand where I can find the device, I need to format. So, to sum it up: I have already a 'linux' type partition on the SDCard, unformatted, however. And I have a FAT32 partition on it, which gets mounted by Android already. What do I need to issue to the mke2fs command as input?
This is what I get, when issuing 'mount'.
Code:
shell@android:/ $ mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
/dev/block/mmcblk0p25 /system ext4 ro,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p26 /data ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered,noauto_da_alloc 0 0
/dev/block/mmcblk0p28 /cache ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p29 /devlog ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
tmpfs /data/secure/data tmpfs rw,relatime,mode=771,uid=1000,gid=1000 0 0
tmpfs /data/secure/data tmpfs rw,relatime,mode=755,gid=1000 0 0
htcfs /data/htcfs fuse.htcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other 0 0
/dev/block/vold/179:32 /mnt/emmc vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:66 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:66 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
shell@android:/ $ ls /mnt
asec
emmc
obb
sdcard
secure
shell@android:/ $ ls /dev/block/vold/
179:0
179:1
179:10
179:11
179:12
179:13
179:14
179:15
179:16
179:17
179:18
179:19
179:2
179:20
179:21
179:22
179:23
179:24
179:25
179:26
179:27
179:28
179:29
179:3
179:30
179:31
179:32
179:4
179:5
179:6
179:64
179:65
179:66
179:7
179:8
179:9
shell@android:/ $
Bye, Andreas
|

7th November 2012, 10:04 AM
|
Recognized Contributor / Recognized Developer
Thanks Meter 4134
Posts: 3,531
Join Date: Mar 2009
Location: Swansea
DONATE TO ME
|
In the recovery under mounts or advanced
Sent from my One V using Tapatalk 2
Don't like what i have to say? report me
Supported devices:
ONE X+ international
HTC ONE V
LG L3 E400 <-- I got coerced into this one
|

7th November 2012, 10:12 AM
|
Member - OP
Thanks Meter 4
Posts: 78
Join Date: Jul 2012
Location: Budapest
|
Thank you, I tried that first. But that does not help, since I have cwm5 installed, and that only formats up to 4GB. I need to know where I can find it in the /dev directory, so I can issue the path to mke2fs from 'adb shell'.
Bye, Andreas
|

7th November 2012, 11:00 AM
|
Recognized Contributor / Recognized Developer
Thanks Meter 4134
Posts: 3,531
Join Date: Mar 2009
Location: Swansea
DONATE TO ME
|
Quote:
Originally Posted by zmix
Thank you, I tried that first. But that does not help, since I have cwm5 installed, and that only formats up to 4GB. I need to know where I can find it in the /dev directory, so I can issue the path to mke2fs from 'adb shell'.
|
you sure??? i've formated my 8GB one with CWM5 before.....try TWRP or CWM6
Don't like what i have to say? report me
Supported devices:
ONE X+ international
HTC ONE V
LG L3 E400 <-- I got coerced into this one
|

7th November 2012, 11:58 AM
|
Member - OP
Thanks Meter 4
Posts: 78
Join Date: Jul 2012
Location: Budapest
|
Could be, that it offers 8 GB as well. I don't remember. But this is a 32GB card I have in use. What I'd need is two primary partitions, one around 6-8GB/ext4, the other one takes the rest as FAT32.
Can I install a different recovery mod, without resetting/erasing the phone? Is it as simple?
Bye, Andreas
|

9th November 2012, 01:06 AM
|
Member - OP
Thanks Meter 4
Posts: 78
Join Date: Jul 2012
Location: Budapest
|
Ok, I updated CWM to v6 and re-checked. The max size is still 4096. Also I noted this:
After I left "advanced/partition" and turned on the log this shows up each time I select "show log"
Code:
When opening the log I get I: Can't format unknown volume: /external_sd
I:Can't partition unsafe device: /dev/block/mmcblkp1
and the "advanced/partitions" menu item is gone. "parted" in normal boot said, that I have overlapping partitions on the sdcard, which I doubt, since I did the partitioning with a special partitioning utility. Anyways, going to boot up a Linux VM now, should have done so much earlier  It's just always so messed up with getting external volumes on USB to recognized.
Bye, Andreas
|
|
The Following User Says Thank You to zmix For This Useful Post: [ Click to Expand ]
|
|
Lloir (9th November 2012)
|

9th November 2012, 01:51 AM
|
Recognized Contributor / Recognized Developer
Thanks Meter 4134
Posts: 3,531
Join Date: Mar 2009
Location: Swansea
DONATE TO ME
|
I'll sort this ASAP thank you for bringing it to my attention
Sent from my One V using Tapatalk 2
Don't like what i have to say? report me
Supported devices:
ONE X+ international
HTC ONE V
LG L3 E400 <-- I got coerced into this one
|
|
The Following User Says Thank You to Lloir For This Useful Post: [ Click to Expand ]
|
|
|
|

9th November 2012, 04:57 AM
|
Member - OP
Thanks Meter 4
Posts: 78
Join Date: Jul 2012
Location: Budapest
|
Thanks for trying so hard. Greatly appreciated
On a side-note... I tried with a VM, but whatever way I tried to connect the SD card to the Linux guest, I did not succeed. So I am here again, no way to create an ext4 filesystem from inside the phone. Currently I play with the thought about installing a minimal, chrooted debia in my phone. But then I still have the problem with parted moaning about "overlapping partitions", which must be invisible to me, since I just checked the partition table with OS X' fdisk and all numbers seem in sequence. Okay, going to the other thread
Bye, Andreas
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
Go to top of page...
|
|
|
|