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
sudo modprobe ext4dev
to check the filesystems supported by the kernel we can do
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
sudo dmesg | tail
it shows a line like this
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
sudo tune2fs -E test_fs /dev/sda1
Now, we can mount it without problems
sudo mount -t ext4dev /dev/sda1 /mnt/disk
That's all folks!
Note: replace sda1 by the appropiate device