ext4 to ext3 script ? - Desire General

Is it possible for someone to create a script to convert ext3 to ext4 and backwards.
I'v flashed my recovery menu with unrevoked, and clockmodwork doesn't support ext partitions in their recovery image.

http://forum.xda-developers.com/showthread.php?t=689778&highlight=AMon
This recovery allows you to convert your ext3 partition to ext4 (not backwards)
But you can easily do it within Linux using GParted

I've tried that.
When i start gparted it indeed can let me format back to ext3, only when i format back to ext3 i will lose my data on the ext4 partition.
I thought maybe there was a option to create a GScript script, so i can run it on my phone.

Have you try to mount ext4 as ext3?
http://en.wikipedia.org/wiki/Ext4
The ext3 file system is partially forward compatible with ext4, that is, an ext4 filesystem can be mounted as an ext3 partition (using "ext3" as the filesystem type when mounting). However, if the ext4 partition uses extents (a major new feature of ext4), then the ability to mount the file system as ext3 is lost.

peewster said:
I've tried that.
When i start gparted it indeed can let me format back to ext3, only when i format back to ext3 i will lose my data on the ext4 partition.
I thought maybe there was a option to create a GScript script, so i can run it on my phone.
Click to expand...
Click to collapse
PULL the files from the ext4 partition, then format it to ext3 and PUSH them back.

globalm said:
PULL the files from the ext4 partition, then format it to ext3 and PUSH them back.
Click to expand...
Click to collapse
i should had figured that out myself

Related

How to tell what filesystem?

Hi all, I just used CW Recovery to make a 1gb extra partition but don't know which version ext it made. Can someone provide me with some code to write in my terminal to line up my sd-card partition. Thanks.
Sent from my HTC Desire using Tapatalk
Afaik cwm makes ext2 by default, check with 'mount' from terminal, look for sd-ext and if will say ext2/3/4 next to it.
Thanks man.
It seems that the cvm provided in the [Nightly]CM7 thread made ext4 filesystem, atleast that's what I have but it could be the data2ext mod I flashed that converted the ext2 to ext4, I don't know.
More chance that the data2ext mod formated your partition with ext4

[(KERNEL)] A dumb question about EXT4

[(KERNEL)] A dumb question about EXT4
a)Flashed CWM Kernel + EXT4 tools app. Converted system to EXT4.
b)Flashed Speedmod Kernel K15H. Convert RFS to EXT4 via recovery
c)Flashed Talon Dev 0.2.2. Automatic Convert system partition to EXT4.
1)Are there various type of EXT4?
2)Do I need to convert system into EXT4 each time I flashed a kernel?
3)Why each kernel could not recognize the system already EXT4 converted?
How do I verify the system is in EXT4? CWM EXT4 tool could not recognize ETX4 if you flashed with others kernel.
Can someone explain? many thanks
1) Ext4 or Ext4nj (nj stands for non-journalized), using Ext4nj is only for non critical data.
2) No, the new Kernel must try to know if you're already in Ext4, if it doesn't, it's stupid.
3) use the "mount" command in a terminal or via adb, if you see Ext4 in line with /system, /data, etc. etc., you're under Ext4 Lagfix.
No, there is no different kind of ext4. If you flashed stock rom with odin between each kernel transition, know that this reformat the file system to RFS. Ususally, i use chainfire ext4 tool to know if my FS is in ext4. Also, you should not haveto worry about changing FS to ext4 again after changing as you only change the kernel and not the FS. Next time can you post your question in question & answer sub-forum plz.
.Slane. said:
1) Ext4 or Ext4nj (nj stands for non-journalized), using Ext4nj is only for non critical data.
2) No, the new Kernel must try to know if you're already in Ext4, if it doesn't, it's stupid.
3) use the "mount" command in a terminal or via adb, if you see Ext4 in line with /system, /data, etc. etc., you're under Ext4 Lagfix.
Click to expand...
Click to collapse
true that there is journalised and non-journalised, but both can be mount the same way and are seen the same way by the system.
.Slane. said:
1) Ext4 or Ext4nj (nj stands for non-journalized), using Ext4nj is only for non critical data.
2) No, the new Kernel must try to know if you're already in Ext4, if it doesn't, it's stupid.
3) use the "mount" command in a terminal or via adb, if you see Ext4 in line with /system, /data, etc. etc., you're under Ext4 Lagfix.
Click to expand...
Click to collapse
Thanks man. I would strongly agree that each kernel should try to reconize the EXT4. Somehow, this not the case.
chadouming said:
No, there is no different kind of ext4. If you flashed stock rom with odin between each kernel transition, know that this reformat the file system to RFS. Ususally, i use chainfire ext4 tool to know if my FS is in ext4. Also, you should not haveto worry about changing FS to ext4 again after changing as you only change the kernel and not the FS.
Click to expand...
Click to collapse
Hi. As i said. Once you flashed another kernel, chainfire ext4 would not able to identify wheather your system is in Ext4. I'm using custom rom not stock.
Just to add on, frequent converting from/to Ext4 would cause some app to be force close. You have to reinstall the apps. What the hack!

[Q] Change ROM from ext3 to ext4

Can someone explain to me how it is possible to change the ROM format on the device from ext3 to ext4?
What is to do to have DesireHD running on ext4 instead of ext3? Just simply convert the format will not work...
Thanks in advance!
You mean partition, yes?
Either by flashing melethron's ext4 format .zip (ext4_alignment.zip)
Or partition the card with some partition program (GParted, Easeus etc.)
i guess he was talking about the internal partition of his desire HD..all his post are in the desire hd section, he wrong forum

[Q] ext4 vs ext3 for sdext partition?

Is there any major difference between an ext3 partition on one's sd card and an ext4 one? Is there any point in converting an ext3 to and ext4 (using 4ext recovery)?
Also, if I did this, can I restore a backup made from my old ext3 partition into an ext4?
Edit: This has been covered before, I only just spotted the suggested existing threads feature. Damned if I can find the way to delete this thread though.

[Q] Can't mount ext3 partition in CM9 for use with s2e

Hi,
I used this guide (cyanogenmod.com/wiki/Sony_Ericsson_Xperia_Play_%28GSM%29:_Full_Update_Guide) to install CM9 on my Xperia Play. After everything worked out well I decided to "extend" my external memory by using s2e and an ext3 partition. First I created a big primary fat32 (~29GB) partition and then a primary ext3 partition (~1.5GB) on my sd card. Now the problem: s2e doesn't recognize this ext3 partition. When booting to recovery it's possible to successfully use "mount /sd-ext". When booting to CM9 I can't find /mnt/sd-ext, /sd-ext or any similar mount point (Where is it or where should it be?). Just for testing purpose and because I'm not allowed to create an own mount point (Why that by the way?) I unmounted /mnt/obb and mounted my ext3 partition there by using "mount -t ext3 /dev/block/mmcblk0p2 /mnt/obb" in the Terminal Emulator and it worked.
What am I doing wrong? Why won't simple2ext recognize my ext3 partition?
I just tried link2sd and it worked. Now I'm wondering even more why s2e doesn't! Any ideas?

Categories

Resources