Advertisement

ext3

Started by July 15, 2002 11:25 AM
10 comments, last by Crazy_Vasey 22 years, 3 months ago
quote: Original post by flure
Hi !
i''m using ext2 on a redhat 7.3, i have a dual boot with windows (which i use lesser everyday), with one partition for each, so is there a way for me to turn my ext2 partition into an ext3 one without having to reinstall everything ?

thanks in advance

--
flure


Assuming you have backups of your partitions and that your HD is IDE with the following partitions:
/dev/hda1 -> /boot
/dev/hda3 -> /

as root, type: tune2fs -j /dev/hda1 && tune2fs -j /dev/hda3 (if you have more partitions, just do so for each partition you want to convert).

Then edit /etc/fstab and change the file system of the partitions you just changed to "ext3" (don''t change anything else though). Reboot.

Note: it is very important that your kernel has ext3 support (either built-in or as a module), or you''ll run into some problems (in which case you can boot in single user mode, mount the partition holding /etc as ext2 and change everything back to ext2, that''s the beauty of ext3).

Of course if you''re careful, you''ll first try to apply this to a partition that''s not too vital to your system (like /usr/local or even /home), then proceed one partition at a time (and remember to backup).

Check the tune2fs(8) man page for more infos if you want to set some additionnal options.

Hope this helps.
thanks a lot

i''ve saved this html page, and i''ll try what you said when i have some more courage (and time)

--
flure
--flurehttp://flure.free.fr

This topic is closed to new replies.

Advertisement