Windows DatabaseebooksStatistical Information

LLE10200 : How to convert Ext2/Ext3 file system to Ext4 (in 9.04 Jaunty Jackalope).




You want to convert your filesystem to Ext4.


To convert your filesystem to Ext4 execute the following steps:

- Make sure you have Ubuntu 9.04 installed so that you have an Ext3 file-system.
- Back-up all of your valued data.
- To convert the partition, reboot from the real CD, and run this code:

sudo bash
tune2fs -O extents,uninit_bg,dir_index /dev/sda1
e2fsck -pf /dev/sda1

Note: In this example /dev/sda1 is the partition you want to convert.

- Next you must change Ext3 to Ext4 quite simply like below,

# /dev/sda1
relatime,errors=remount-ro 0          1

Change the above code to:

# /dev/sda1
relatime,errors=remount-ro 0          1

- You now MUST save the changes.

To convert ext2 to ext4 use this code instead:

sudo bashtune2fs -O extents,uninit_bg,dir_index,has_journal /dev/sda1
e2fsck -pf /dev/sda1

That's it, all you need to do is restart your computer. However, it is possible that you get an error 13 when restarting. This might be because Ubuntu did not like one of the updates. To fix this problem try the following:

sudo bashmount /dev/sda1 /mnt
grub-install /dev/sda --root-directory=/mnt --recheck


The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!
Copyright © 2004-2011 Lubby (V3.0.10 Aug 2011)
Sponsored by Keskon.
Statistical information by Google Analytics