Pablo Seminario
Post 1 Jul 2009 1 min

ext4 support in Ubuntu Intrepid 8.10

This is just a simple tip to use ext4 filesystems in Ubuntu Intrepid Ibex 8.10. On Ubuntu Jaunty ext4 filesystems is fully supported but in Intrepid was on development. To use it we must load the module ext4dev

terminal bash
sudo modprobe ext4dev

to check the filesystems supported by the kernel we can do

terminal bash
cat /proc/filesystems

there should be a line with ext4dev. Now, if we try to mount a formatted partition as ext4, we will see that it’s not possible

terminal bash
sudo dmesg | tail

it shows a line like this

terminal bash
EXT4-fs: sda2: not marked OK to use with test code.

to fixed it we need to enable test_fs, an extended option for ext4 partitions

terminal bash
sudo tune2fs -E test_fs /dev/sda1

Now, we can mount it without problems

terminal bash
sudo mount -t ext4dev /dev/sda1 /mnt/disk

That’s all folks!

Note: replace sda1 by the appropiate device