Installing Ubuntu manually from command line (without installer)

Using debootstrap I can install system in image file with command:

debootstrap --arch i386 trusty /mnt/imagefile/ http://archive.ubuntu.com/ubuntu/

thx @muru