<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://linux-vserver.at/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://linux-vserver.at/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=SeBas</id>
		<title>Linux-VServer - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://linux-vserver.at/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=SeBas"/>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/Special:Contributions/SeBas"/>
		<updated>2026-04-09T19:59:48Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.20.2</generator>

	<entry>
		<id>http://linux-vserver.at/Installing_Ubuntu_on_Debian</id>
		<title>Installing Ubuntu on Debian</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/Installing_Ubuntu_on_Debian"/>
				<updated>2007-12-01T03:34:48Z</updated>
		
		<summary type="html">&lt;p&gt;SeBas: /* Prepare debootstrap */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;How to install an Ubuntu vserver guest on Debian.&lt;br /&gt;
__TOC__&lt;br /&gt;
==Prepare debootstrap==&lt;br /&gt;
You will need the debootstrap script for your desired Ubuntu release (eg dapper, feisty, gusty).&lt;br /&gt;
&lt;br /&gt;
Check that you have the debootstrap script in &amp;lt;code&amp;gt;/usr/lib/debootstrap/scripts/&amp;lt;/code&amp;gt;, eg &amp;lt;code&amp;gt;/usr/lib/debootstrap/scripts/gusty&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If you do not have the debootstrap script for your desired Ubuntu release, the easiest way is to download and install the latest debootstrap deb from [http://packages.debian.org/sid/debootstrap Debian sid].&lt;br /&gt;
&lt;br /&gt;
If the script is not available in Debian sid, download Ubuntu's latest release from [http://packages.ubuntu.com/cgi-bin/search_packages.pl?keywords=debootstrap&amp;amp;searchon=names&amp;amp;version=all&amp;amp;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.&lt;br /&gt;
Extract the Ubuntu scripts from the deb and place them in &amp;lt;code&amp;gt;/usr/lib/debootstrap/scripts/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
For example, do something like:&lt;br /&gt;
 $ cd /tmp&lt;br /&gt;
 $ wget http://mirrors.kernel.org/ubuntu/pool/main/d/debootstrap/debootstrap_0.3.3.2ubuntu3_all.deb&lt;br /&gt;
 $ dpkg --extract debootstrap_0.3.3.2ubuntu3_all.deb debootstrap-feisty&lt;br /&gt;
 $ sudo cp debootstrap-feisty/usr/lib/debootstrap/scripts/{warty,warty.buildd,hoary,hoary.buildd,breezy,dapper,edgy,edgy.fakechroot,feisty,feisty.fakechroot} /usr/lib/debootstrap/scripts/&lt;br /&gt;
&lt;br /&gt;
==Build==&lt;br /&gt;
===Build with guest architecture the same as host===&lt;br /&gt;
 # 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/ubuntu/&lt;br /&gt;
&lt;br /&gt;
===Build 32-bit guest on 64-bit host===&lt;br /&gt;
 # vserver feisty-guest-32 build -m debootstrap --hostname feisty-guest-32 --interface dummy0=eth0:10.0.0.123/8 --rootdir /var/lib/vservers -- -d feisty -m http://us.archive.ubuntu.com/ubuntu/ -- --arch i386&lt;br /&gt;
Verify 32-bitness of guest:&lt;br /&gt;
 host:# file /var/lib/vservers/feisty-guest-32/bin/ls&lt;br /&gt;
 /var/lib/vservers/feisty-guest-32/bin/ls: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.0, dynamically linked (uses shared libs), for GNU/Linux 2.6.0, stripped&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Frequently_Asked_Questions#I_run_a_Debian_host_and_want_to_build_an_Ubuntu_guest._Howto.3F]]&lt;br /&gt;
* [[Installing 32-bit Fedora on 64-bit Debian]]&lt;/div&gt;</summary>
		<author><name>SeBas</name></author>	</entry>

	</feed>