Difference between revisions of "Installing Ubuntu on Debian"

From Linux-VServer

Jump to: navigation, search
(Removed the warning-unfinished line, as the procedure works.)
(Prepare debootstrap: what to do with the deb)
Line 4: Line 4:
 
You will need the debootstrap script for your desired Ubuntu release (eg dapper, feisty).
 
You will need the debootstrap script for your desired Ubuntu release (eg dapper, feisty).
  
Download the debootstrap deb for Ubuntu's latest release from [http://packages.ubuntu.com/cgi-bin/search_packages.pl?keywords=debootstrap&searchon=names&version=all&release=all 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 vserver guest.
+
Download the debootstrap deb for Ubuntu's latest release from [http://packages.ubuntu.com/cgi-bin/search_packages.pl?keywords=debootstrap&searchon=names&version=all&release=all 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 <code>/usr/lib/debootstrap/scripts/</code>.
 +
 
 +
For example, do something like:
 +
$ cd /tmp
 +
$ wget http://mirrors.kernel.org/ubuntu/pool/main/d/debootstrap/debootstrap_0.3.3.2ubuntu3_all.deb
 +
$ 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==
 
==Build==

Revision as of 22:22, 12 June 2007

How to install an Ubuntu vserver guest on Debian.

Contents

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 http://mirrors.kernel.org/ubuntu/pool/main/d/debootstrap/debootstrap_0.3.3.2ubuntu3_all.deb
$ 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

# vserver feisty-guest build -m debootstrap --hostname feisty-guest --interface dummy0=eth0:10.0.0.123/8 --rootdir /var/lib/vservers -- -d feisty -m http://us.archive.ubuntu.com/

See also

Frequently_Asked_Questions#I_run_a_Debian_host_and_want_to_build_an_Ubuntu_guest._Howto.3F

Personal tools