[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to revert from ext3 back to ext2?



 --- Nomen Nescio <nobody@dizum.com> wrote: 
> My /home and / partitions are ext3. I'd like to change them to
> ext2. Can I do this just by umounting and remounting them that way?

You need to remove the journal.  You'll have to boot from a rescue CD of
some kind, and do something like:

1. Check to make sure the partition you're wanting to declare as ext2 is
not mounted. If it is, umount it.

2. # tune2fs -O ^has_journal /dev/hdX

(to remove the journal -- where /dev/hdX, is the device in question)

Repeat the above steps for as many partitions as you want to make ext3 ->
ext2.

3. # mount /dev/hdX -o rw /mnt

4. Edit /mnt/etc/fstab -- and change the fs-type to ext2 [1]

5. Reboot.

(That should just about cover it)

-- Thomas Adam

[1] This assumes that /dev/hdX is your "/" partition, of course. If it
isn't you'll have to mount your "/" partition and edit /etc/fstab before
you reboot.

=====
"The Linux Weekend Mechanic" -- http://linuxgazette.net
"TAG Editor"                 -- http://linuxgazette.net

"<shrug> We'll just save up your sins, Thomas, and punish 
you for all of them at once when you get better. The 
experience will probably kill you. :)"

 -- Benjamin A. Okopnik (Linux Gazette Technical Editor)


	
	
		
___________________________________________________________ 
ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com



Reply to: