Installing Ubuntu on Debian

From Linux-VServer

Revision as of 23:30, 12 June 2007 by Mstrobert (Talk | contribs)

Jump to: navigation, search

How to install an Ubuntu vserver guest on Debian.


Prepare debootstrap

You will need the debootstrap script for your desired Ubuntu release (eg dapper, feisty).

Download the debootstrap deb for Ubuntu's latest release from here. (eg, as of April 2007, download the debootstrap deb for feisty). You want the debootstrap from the latest release, even if you want to install a previous release Ubuntu vserver guest. Extract the Ubuntu scripts from the deb and place them in /usr/lib/debootstrap/scripts/.

For example, do something like:

$ cd /tmp
$ wget
$ dpkg --extract debootstrap_0.3.3.2ubuntu3_all.deb debootstrap-feisty
$ sudo cp -a debootstrap-feisty/usr/lib/debootstrap/scripts/{warty,warty.buildd,hoary,hoary.buildd,breezy,dapper,edgy,edgy.fakechroot,feisty,feisty.fakechroot} /usr/lib/debootstrap/scripts/


Build with guest architecture the same as host

# vserver feisty-guest build -m debootstrap --hostname feisty-guest --interface dummy0=eth0: --rootdir /var/lib/vservers -- -d feisty -m

Build 32-bit guest on 64-bit host

# vserver feisty-guest-32 build -m debootstrap --hostname feisty-guest-32 --interface dummy0=eth0: --rootdir /var/lib/vservers -- -d feisty -m -- --arch i386

See also


Personal tools