Editing Debootstrap from foreign version or distribution

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 4: Line 4:
 
[[Category: Debian]]
 
[[Category: Debian]]
  
This procedure (for Debian, Ubuntu, and derivatives) is useful when need to create a template, and your host doesn't have that suite's script (in /usr/share/debootstrap/scripts). This situation can happen when your host and your next template are from different distributions, or when your host is an older version than the next template you want to create (for example, creating an Ubuntu 10.04 template in an Ubuntu 8.04 host).
+
This procedure (for Debian, Ubuntu, and derivatives) is useful when need to create a template, and your host hasn't suite's script (in /usr/share/debootstrap/scripts). This situation can de caused because your host and your next template are from different distributions, or because your host is an older version than the next template you want to create (fo example, creating Ubuntu 10.04 template in an Ubuntu 8.04 host).
  
To do this, you need a computer to install a clean system or a virtual one with [http://www.qemu.org/ Qemu] or similar.
+
To do this you need a computer to install a clean system or a virtual one with [http://www.qemu.org/ Qemu] or similar.
  
 
'''Step 1: install a system with the distribution & version you want for template'''
 
'''Step 1: install a system with the distribution & version you want for template'''
  
We will call it the "satellite system". You can do it also with another already installed computer with the same distribution & version you want. Also with a Live-CD with sufficient RAM memory available for a subsystem installation.
+
'''Step 2: debootstrap'''
 
 
'''Step 2: debootstrap''' (in satellite system)
 
 
  cd /tmp
 
  cd /tmp
 
  sudo apt-get install debootstrap
 
  sudo apt-get install debootstrap
Line 26: Line 24:
 
Now you have a package like "debootstrap_ubuntu-10.04-i686.tar.gz" to copy to the OpenVZ host/server.
 
Now you have a package like "debootstrap_ubuntu-10.04-i686.tar.gz" to copy to the OpenVZ host/server.
  
'''Unpacking for a new templaye''' (example for 777 container, in the OpenVZ server)
+
'''Unpacking for a new templaye''' (example for 777 container)
 
  sudo mkdir -p /vz/private/777
 
  sudo mkdir -p /vz/private/777
 
  cd /vz/private/777
 
  cd /vz/private/777

Please note that all contributions to OpenVZ Virtuozzo Containers Wiki may be edited, altered, or removed by other contributors. If you don't want your writing to be edited mercilessly, then don't submit it here.
If you are going to add external links to an article, read the External links policy first!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)