[TriLUG] creating ext3 partitions on the command line

Kevin - The Alchemist - Sonney alchemist at darkcanvas.com
Thu Feb 21 16:52:44 EST 2002


On Thu, 2002-02-21 at 16:45, Paul D. Boyle wrote:
> So, what happens if you have an existing (legacy) ext2 file system
> and you want to move the disk to a box which has a more current Linux
> distribution supporting ext3?  Can one turn that legacy partition into
> an ext3 partition without wiping it and reformatting and restoring
> from back-up?  If so, how do you do that?


try looking at "man tune2fs"

In a nutshell, though :

tune2fs is a utility for tuning an ext2 file system. What you want to do
is the following :

tune2fs -j [device]

to add a journal to a device. Then, change the ext2 entry in fstab for
that device to ext3, and voila! all done.

I did this with several partitions on a RHL 7.1 system and the ext3
kernel prior to the release of RHL 7.2.

-- 
--------------------------------------------
--      Kevin "The Alchemist" Sonney      --
--  ICQ: 4855069            AIM: ksonney  --
--------------------------------------------
320C 0336 3BC4 13EC 4AEC  6AF2 525F CED7 7BB6 12C9

"I will rule you all with an Iron Fist! You! Obey the fist!" - Zim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
URL: <http://www.trilug.org/pipermail/trilug/attachments/20020221/6a7137e2/attachment.pgp>


More information about the TriLUG mailing list