[Q] how to mount ext2 partition on external sdcard ? - Galaxy S I9000 Q&A, Help & Troubleshooting

I managed to format my old ext4 1gb partition
(ex mimocam lagfix) to ext2. Something to try with...
It's done, but i can't see it by making a df -h via adb shell.
am i missing something ?
note : froyo jpc with froyo stock kernel
ext4 partition was mounted at boot using mimocam ext4 kernel
is froyo from spc kernel able to mount ext2
(i think so, RyanZa lagfix use it..)
Thanks

Related

[Q] HELP! cannot convert EXT2 to EXT3

I have created EXT2 partition of 1024 GB, after that try to convert from recovery (Amon_RA) to EXT3 and got no errors.
On the nexus I see:
/dev/block/mmcblk0p2 on /sd-ext type ext2 (rw,noatime,nodiratime,barrier=1,data=
when try to convert using command shell - adb shell sdparted -ufs ext I got error that the partition is already EXT3
It's very possible that the partition is already EXT3, but the ROM you're using doesn't recognize it correctly.
What command did you use?
mount, im with MIUI rom but also had this with CM nightly
I use EXT2 and it works fine with MIUI or Darktremor Apps2sdext
britoso said:
I use EXT2 and it works fine with MIUI or Darktremor Apps2sdext
Click to expand...
Click to collapse
I know, everything works fine but my partition is EXT3 and recognized as EXT2 by the ROM
Try to take out the card and read by any Linux PC, check that the EXT3 is indeed valid.
If yes - disregard the mount message. Might be some Toolbox issues.
I've just checked my own report, and unsurprisingly, mount reports my EXT3 as EXT2. No ill effects, though. Using Apps2EXT for a long while now. And I'm on Enomther's, and just checked - Busybox 1.17 mount does the same (lack of) recognition.
Jack_R1 said:
Try to take out the card and read by any Linux PC, check that the EXT3 is indeed valid.
If yes - disregard the mount message. Might be some Toolbox issues.
I've just checked my own report, and unsurprisingly, mount reports my EXT3 as EXT2. No ill effects, though. Using Apps2EXT for a long while now. And I'm on Enomther's, and just checked - Busybox 1.17 mount does the same (lack of) recognition.
Click to expand...
Click to collapse
Will check this, thanks

[DEV] Voodoo expert. RFS to EXT4 conversion. HELP!

Hi all... Here there're many dev so maybe i'm so lucky to find someone that can help me....
I'm going to convert my phone's partition to ext4 but i have problem with /data. This because the phone has 4 gb of internal memory that Samsung push under /dev/block/mmcblk0. This memory is partitioned in three part /dev/block/mmcblkop1 (internal SD) /dev/block/mmcblkop3 (/data) and /dev/block/mmcblk0p2 (empty).
How can i format /data into ext4? I tryed different way but the phone doesn't boot. What is the correct way to make it?
My Phone (GT-I9003)
UPDATE: recovery can mount it without issue.... init.rc not.... why???

[Q] CM7 COMPLETELY substitute damaged internal SD for external?

I've got an i9000M from Bell with a dead internal SD. I managed to get CM7 to boot on the device even though Samsung and Samsung based roms will just simply loop. JPY, JL2, JVQ all loop at the GT-i9000 screen.
My phone can fully boot to ADW and even make phone calls. However, settings are not saved and text messages are rejected because there is no space on the device.
I edited vold.fstab and fstab so that the first partition of my SD mounts to /sdcard instead of /emmc. (One problem cleared)
The second partition of the card is formatted as ext4 and that's what I'm trying to mount to /data. My problem, I edited the fstab to mount mmcblk0p2 (the ext4 partition) to /data, but won't automatically during bootup. If I try to mount manually via ADB, the device loops at the CM7 animation
Here is my fstab:
Code:
/dev/block/mtdblock3 /cache yaffs2 rw
/dev/block/mmcblk0p2 /data ext4 rw
/dev/block/mtdblock6 /datadata yaffs2 rw
/dev/block/mtdblock2 /system yaffs2 rw
/dev/block/mmcblk0p1 /sdcard vfat rw
P.S. My card is a SanDisk 8GB class 6. 7GB for /sdcard; 1GB for /data.
I have the same problem with my old phone, i can boot using custom kernel like ultimate kernel (froyo) and stock rom.
Still no luck replacing damaged data partition
Sent from my GT-I9100 using XDA App
Finally found a way. I recompiled cm 7 and altered data & sdcard refs to external sdcard.
The phone works ok with class 10 card.
Sent from my Xperia Ray using XDA Premium 4 mobile app

[Q]Checking interest: ext4 mod

I've been playing around with the CM-mod/S7 and can sucessfully make it boot with all ext4 partitions.
Backround information:
Parititions and formatting
Partitions are the basic unit of storage on my devices with storage (think C: D: E: if you use windows)
The standard layout of android devices:
A /cache partition
A /data partition
A /system partition
Other hidden partitions (this part isnt relevent to us)
The common filesystem formats for recent android devices are EXT 3 and 4 (4 being the newer obviously)
The S7's default partitions:
stock 3xx: (ie froyo)
/cache: ext3(?)
/data: ext3(?)
/system: ext2
stock 5xx: (ie honeycomb)
/cache: ext3
/data: ext3
/system: ext4
my ext4 mod:
/cache: ext4
/data: ext4
/system: ext4
All other devices that launched with HC installed use all ext4 partitions.
But the S7 didnt launch with HC, it launched with froyo.
Dell couldnt upgrade /data to ext4 without wiping user data.
They could upgrade system, since they wipe it on install anyway.
Cache they didnt for the outside chance a user had actual important data in it.
My proposal
What I propose is a modified version of CM9-mod with /cache and /data formatted as ext4 partitions.
I've already got a working version, the main issue is that:
I dont know what the difference is. I've ran quadrant with ext4 and again with ext4, and there's very little difference.
Since quadrant has an I/O and database benchmark (and they run on /data), at least it shows that there's only 1% change in scores.
Would anyone actually be interested in using an ext4 mod?
There are some downsides (depending on how you view it):
ext3 and ext4 nandroids arnt compatable
You will need to do a fac reset on first install (as it reformats)
You will need seperate versions of CM9-mod and CWM
This space for rent
A simple modification of the boot.img to change init.streak7.rc mount points to ext4, easy as pie.
Yea that's what I did, along with a CWM recovery.fstab mod.
But like I said I havnt really noticed any changes in quad, and it's using /data for it's tests
As soon as I get wifi up and working on cm10, going to see if there is any benefit to switching
Sent from my Nexus 7 using Tapatalk 2
I can test it tomorrow.
Sent from my PG86100 using xda app-developers app

Why my ACE does not mount SD-EXT at boot??

Hi there,
I have a Galaxy ACE with Stock KTM Rom , CWM5 , and rooted with CFRoot b83 (b84+b84fix does not work on my KTM rom...dont know why)
I partitioned my 4Gb SD with CWM: 512 for Ext , 0 for Swap and rest for Fat32
I have even tried to format with Mini Partition Tool: Fat32 Primary and EXT2 or EXT3 Primary (4kb cluster size)
I can mount /sd-ext on recovery , even format it, etc.
But.. I have many problems with **2SD scripts, and I think that I found the reason: SD-Ext is not mounted.
I have installed Terminal Emulator, and I get this:
# mount | grep sd-ext -> nothing happens (it should show information)
# df -> /sd-ext is not shown
What can I do??
I know that Link2sd app works with Fat32 + Fat32 partitioned cards, but I need sd-ext to work , so Link2Sd is not a solution for me.
THANKS A LOT!!
You should repartition your sd-ext with cwm...it will auto partition it into ext4...dta2sd works with that...since you are using cf-root...your have a tweaks manager right?try to enable auto start dta2sd at boot...for a sd card, the one for general storage should b in FAT32, sd-ext should be in ext4 (although certaim scripts can work with other formats, but this is working better and faster, so why not?)...Hope it helps...
Ryuinferno said:
You should repartition your sd-ext with cwm...it will auto partition it into ext4...dta2sd works with that...since you are using cf-root...your have a tweaks manager right?try to enable auto start dta2sd at boot...for a sd card, the one for general storage should b in FAT32, sd-ext should be in ext4 (although certaim scripts can work with other formats, but this is working better and faster, so why not?)...Hope it helps...
Click to expand...
Click to collapse
I have tried to make the repartition with CWM , into EXT4, and I have enabled auto start dta2sd at boot ...
But sd-ext is still not there.
I think that CFRoot is not enabling init.d support on my stock Rom.
Thanks for your reply..
Any suggestion will be welcomed!!

Categories

Resources