View previous topic :: View next topic |
Author |
Message |
craftyc Guest
|
Posted: Tue May 21, 2002 4:52 pm Post subject: ext3 to ext2 |
|
|
Is it possible to make my ext3fs into an ext2fs without destroying data? Also is it possible to do the reverse without destroying data? The reason I ask is that I want to repartition my disk so that I have 10 gigs of free space for Windows at the beginning of the drive.
Thanks. |
|
Back to top |
|
|
id10t Tux's lil' helper
Joined: 18 May 2002 Posts: 100
|
Posted: Tue May 21, 2002 5:03 pm Post subject: |
|
|
Sure can. Just change the type in /etc/fstab. Going from ext2 to ext3 requires that you make a journal file (tune2fs -j does this IIRC). _________________ ---
this space for rent |
|
Back to top |
|
|
Manny Calavera n00b
Joined: 21 May 2002 Posts: 68 Location: Germany / near Munich
|
Posted: Tue May 21, 2002 5:58 pm Post subject: |
|
|
Additional Note:
Quote: |
Q: How do I convert my ext3 partition back to ext2?
Actually there is only little need to do so, because in most cases it is sufficient to mount the partition explicitely as ext2 {as described by craftyc}. But if you really need to convert your partion back to ext2 just do the following on an unmounted {!!!} partition:
tune2fs -O ^has_journal /dev/hdaX
To be on the safe side you should force a fsck run on this partition afterwards:
fsck.ext2 -f /dev/hdaX
After this procedure you can safely delete the .journal file if there was any.
|
source: http://people.spoiled.org/jha/ext3-faq.html
see you,
- Manny - _________________ Viva la revolución! |
|
Back to top |
|
|
|