<?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=Rugby471</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=Rugby471"/>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/Special:Contributions/Rugby471"/>
		<updated>2026-04-10T01:16:28Z</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>2008-08-06T16:22:01Z</updated>
		
		<summary type="html">&lt;p&gt;Rugby471: Updated ubuntu releases, slightly easier to read, added intro&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;
&lt;br /&gt;
===What is a Debootstrap?===&lt;br /&gt;
&lt;br /&gt;
'''From Ubuntu Packages:'''&lt;br /&gt;
&lt;br /&gt;
''&amp;quot;debootstrap is used to create a Debian base system from scratch, without requiring the availability of dpkg or apt. It does this by downloading .deb files from a mirror site, and carefully unpacking them into a directory which can eventually be chrooted into.&amp;quot;''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So a debootstrap is basically something that will let you build your guest system.&lt;br /&gt;
&lt;br /&gt;
===Preparing===&lt;br /&gt;
&lt;br /&gt;
You will need the debootstrap script for your desired Ubuntu release (eg feisty, gusty, hardy).&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 bootstrap release from [http://packages.ubuntu.com/search?keywords=debootstrap here]. (eg, as of August 2008, download the debootstrap deb for Hardy Heron). You want the debootstrap from the latest release, even if you want to install a previous release Ubuntu vserver guest.&lt;br /&gt;
&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 -P 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 (eg. 32-bit guest on 32-bit host, 64-bit guest on 64-bit host etc.)===&lt;br /&gt;
 # vserver hardy-guest build -m debootstrap --hostname hardy-guest --interface dummy0=eth0:10.0.0.123/8 --rootdir /var/lib/vservers -- -d hardy -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 hardy-guest-32 build -m debootstrap --hostname hardy-guest-32 --interface dummy0=eth0:10.0.0.123/8 --rootdir /var/lib/vservers -- -d hardy -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/hardy-guest-32/bin/ls&lt;br /&gt;
 /var/lib/vservers/hardy-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;
* [[Building Guest Systems]]&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>Rugby471</name></author>	</entry>

	</feed>