Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ext3 to ext2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
craftyc
Guest





PostPosted: Tue May 21, 2002 4:52 pm    Post subject: ext3 to ext2 Reply with quote

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
Tux's lil' helper


Joined: 18 May 2002
Posts: 100

PostPosted: Tue May 21, 2002 5:03 pm    Post subject: Reply with quote

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
    View user's profile Send private message
    Manny Calavera
    n00b
    n00b


    Joined: 21 May 2002
    Posts: 68
    Location: Germany / near Munich

    PostPosted: Tue May 21, 2002 5:58 pm    Post subject: Reply with quote

    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
    View user's profile Send private message
    Display posts from previous:   
    Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
    Page 1 of 1

     
    Jump to:  
    You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot vote in polls in this forum