We are not stuck in a Ubuntu system a few lines of code... debootstrap bootstraps a basic Debian system of SUITE (eg, sarge, etch, lenny, sid) into TARGET from MIRROR by running SCRIPT. MIRROR can be an http:// URL, a file:/// URL, or an ssh:/// URL. Notice that file:/ URLs are translated to file://...