Ubuntu 9.04 Juanty has added the Ext4 filesystem. While not part of the default install, it is rather easy to get up and running, even for the novice user.
Why Ext4? Simply put, it far outperforms that of the older and very stable Ext3.
In this HowTo, I will describe how to setup the root file system with Ext4. While it is very possible to use Ext4 for /boot, i choose to leave it as Ext2.
Start the installer as you normally would by inserting the Install CD or installation method of your choice. In this aproach, we skip booting into the live CD method and go straight to the install (why take the extra time and steps).
Go through and setup as follows





On the “Prepare disk space” window, you want to select “Specify partitions manually (advanced)” and then forward.

Select the disk you want to format, on our example we have a single disk mounted as /dev/sda.

Right Click on the disk and select “New partition table” and then select Forward.

You then will have “free space”, simply click on “free space” and select “New Partition. In this method we will create our /boot partition using Ext2.

/boot does not need to be a very large partition since it basically just holds the boot configurations such as Grub.

We then need to create a “swap area” by clicking on “free space” and selecting “New partition”.

And now we create the root partition, also known as /. We will select Ext4 as our filesystem. Note, you can add as many filesystem as your system will allow, for example /var, /home, /usr, etc.. however for the sake of simplicty I choose to keep this rather simple.
And this is the end product…

Continue on with your installation as normal.





There you have it. A fresh install of Ubuntu 9.04 with an Ext4 root file system.