These are the scripts I use to create a fully functioning OpenERP in a detachable volume.