Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

my home directory is on a separate partition which still uses ext3. Is there a way to convert this partition into ext4 in a non-destructive way?

share|improve this question
up vote 11 down vote accepted

Yes, you can. This is explained very nicely in the ext4-wiki at kernel.org. Basically it all boils down to

tune2fs -O extents,uninit_bg,dir_index /dev/DEV
e2fsck -fDC0 /dev/DEV

with /dev/DEV replaced by the partition in question. Although this should be non-destructive, I'd still strongly suggest to back up your data before doing it.

share|improve this answer
It's also worth noting that this will not automagically convert existing files to use extents for example. – Kristof Provost Sep 29 '10 at 19:28
I cannot express strongly enough how important it is to backup your data before doing a transformation like this. – killermist Jun 14 '12 at 0:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.