For what it's worth, I was able to install ubuntu 13.10 on f2fs. I used vmware for that, which makes it easier to mess with disks, but I see no reason why it wouldn't work with physical drives. Here's what I had to do:
- Install base operating system to
disk1. I made two partitions: one for /boot (128Mb), and another for root file system (the rest). Both formatted as ext4, since installer did not give me option
- Once operating system has installed:
- install package
f2fs-tools using apt-get
- modify
/etc/initramfs-tools/modules, adding line f2fs to the end
- run
update-initramfs to regenerate initramfs with f2fs support in it
- modify /etc/fstab, and replaced UUID=xxx with references to actual devices (/dev/sda1 for /boot and /dev/sda2 for root)
- make a duplicate of
disk1 to disk2 for backup
I used a separate Ubuntu installation for this step, but you could get away with the one you are installing, or maybe even live cd:
Disconnect disk2 and restart machine. On grub prompt, press e to edit boot commands. There will be line looking like linux /vmlinuz-3.xx.xx-generic root=UUID=uuuuuuu xx. Replace UUID=uuuuuuuu part with /dev/sda2 and press F10 to boot
- If you successfully booted, run
update-grub2 to fix boot config. You should be able to boot properly at this time
This is it. I'm sure there's a lot more elegant way of doing it, but that can at least get you going.